-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
56 lines (50 loc) · 1.91 KB
/
header.php
File metadata and controls
56 lines (50 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
require_once( "functions.php" );
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title><?php
if( isset( $page_title ) )
print( "$page_title - " );
?>Hai</title>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/assets/css/ie.css" />
<![endif]-->
<link rel="stylesheet" type="text/css" href="/assets/css/screen.css" media="Screen" />
<link rel="stylesheet" type="text/css" href="/assets/css/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="/assets/css/mobile.css" media="only screen and (max-device-width: 799px)" />
<link href='http://fonts.googleapis.com/css?family=Oxygen:300,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<script type="text/javascript" src="/assets/js/main.js"></script>
<script src="http://jwpsrv.com/library/JuLtHid6EeO2wSIACusDuQ.js"></script>
</head>
<body>
<?php
print( "<div style=\"position: fixed; bottom: 5px; right: 5px; color: white; font-size: 16pt;\">" . PROD_DEV . "</div>" );
?>
<div id="logo">
<a href="index.php">Hai</a>
</div>
<div id="header">
<a href="/about.php">About</a>
<a href="/help.php">Help</a>
</div>
<?php
if( $_SERVER["PHP_SELF"] != "/create_account.php" )
print getLogin();
//siteIsDown();
function siteIsDown()
{
print( "<div style=\"margin: auto; width: 800px; background-color: white; padding: 10px; font-size: 14pt;\">\n" );
print( "<h1>One sec; Hai is being fixed</h1>\n" . "<p>I have to align six hydrocoptic marzul vanes so fitted to the ambaphascient lunar wain shaft that side fumbling can be effectively prevented.</p><p>Be back shortly.</p>\n" );
print( "<center><img src=\"assets/images/my-little-pony-friendship-is-magic-brony-there-i-fixed-it.gif\" align=\"center\" width=\"500\" height=\"332\" /></center>\n" );
print( "</div>\n" ); require_once( "footer.php" ); exit( 0 );
}
?>
<a name="top"></a>
<div id="body-container">
<?php
if( isset( $_GET["error"] ) )
printError( $_GET["error"] );
?>