forked from FreezingMoon/AncientBeast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
111 lines (106 loc) · 4.31 KB
/
header.php
File metadata and controls
111 lines (106 loc) · 4.31 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
/* Ancient Beast - Free Open Source Online PvP TBS: card game meets chess, with creatures.
* Copyright (C) 2007-2012 Valentin Anastase (a.k.a. Dread Knight)
*
* This file is part of Ancient Beast.
*
* Ancient Beast is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* Ancient Beast is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* http://www.AncientBeast.com
* https://github.com/FreezingMoon/AncientBeast
* DreadKnight@FreezingMoon.org
*/
require_once('global.php'); ?>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="google-site-verification" content="uNVUkWjGPKwXaFK-BkOowVezLve8a8rjbM_ew1UHiZg">
<meta name="description" content="Turn Based Strategy Game Played Online Against Other People. Master your beasts!">
<meta name="keywords" content="ancientbeast, ancient, beast, game, online, multiplayer, TBS, PvP, strategy, combat, arena, free, foss, open source, card, chess, creatures, bitcoin, bets">
<meta name="author" content="Dread Knight">
<!--set page title-->
<title>
<?php
if (isset($page_title)) {
echo $page_title;
}
else {
echo "AncientBeast - Online PvP TBS Game";
}
?>
</title>
<link rel="stylesheet" href="<?php echo $site_root; ?>stylesheet.css">
<?php
if (isset($style)) {
echo '<style type="text/css">' . $style . '</style>';
}
if (isset($stylesheet)) {
echo '<link rel="stylesheet" href="' . $stylesheet . '">';
}
?>
<!--flattr-->
<script type="application/javascript" src="http://api.flattr.com/js/0.6/load.js?mode=auto"></script>
<!--jquery-->
<script type="application/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<!--pixastic-->
<script type="application/javascript" src="<?php echo $site_root; ?>utils/pixastic.js"></script>
<script type="application/javascript" src="<?php echo $site_root; ?>utils/lighten.js"></script>
<script type="application/javascript">
$(document).ready(function(){
$('.lighten').each(function(){
$(this).mouseenter(function() {
var c = Pixastic.process($('img', this).get(0), "lighten", {amount:0.4});
$(this).mouseleave(function() {
Pixastic.revert(c);
});
});
});
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2840181-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body id="top">
<!--banner-->
<header id="header">
<div style="margin-top: -15px; margin-bottom: 50px;"><a href="<?php echo $site_root; ?>"><img src="<?php echo $site_root; ?>images/AncientBeast.png" alt="Ancient Beast"></a>
<!--navigation menu-->
<nav><table style="font-size:18px; font-weight:bold; margin:0; padding:0; margin-left:auto; margin-right:auto; text-align:center;"><tr>
<?php
$menu = array('bestiary', 'items', 'shop', 'game', 'chat', 'gallery');
foreach ($menu as &$menuItem) {
echo '<td>
<a href="' . $site_root . $menuItem . '" id="' . $menuItem . '" class="lighten">
<img alt=" ' . ucfirst($menuItem) . '" src="' . $site_root . 'images/icons/' . $menuItem . '.png" width="100" height="100" style="display:block;">
' . ucfirst($menuItem) . '</a></td>';
}
?>
</tr></table></nav>
</div>
</header>
<!--main area-->
<div id="scroll"><a href="#top"><img src="<?php echo $site_root; ?>images/AB.gif"><br>Top</a></div>
<div id="wrapper">
<?php start_segment(); ?>
<center><a href="/donate"><b>This indie free open source game project is currently in pre-alpha stage. Click here to help by donating!</b></a></center>
<?php end_segment(); ?>