33 lines
744 B
PHP
33 lines
744 B
PHP
<?php
|
|
/**
|
|
* This is the header file, imported by every page.
|
|
* It provides metadata, scripts and stylesheets.
|
|
*/
|
|
?>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html charset=utf-8">
|
|
|
|
<script src="resources/libs/jquery.js"></script>
|
|
<script src="resources/libs/jquery-ui.js"></script>
|
|
<script src="resources/js/main.js"></script>
|
|
|
|
<link rel="stylesheet" href="resources/css/main.css" />
|
|
|
|
<title>Obsidian PHP Proto</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="container">
|
|
<?php
|
|
/**
|
|
* We need to show errors at the top, always.
|
|
*/
|
|
|
|
if( isset( $error ) ) { ?>
|
|
<div id="err">
|
|
<?php $err?>
|
|
</div>
|
|
<?php }?>
|