-
Notifications
You must be signed in to change notification settings - Fork 46
/
header.php
30 lines (27 loc) · 1.93 KB
/
header.php
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
<div id="header">
<h1 id="logo"></h1>
<div class="header-plate-wrapper">
<div class="header-plate">
<ul id="menu">
<?php if(isset($page_cat)){ ?>
<li class="menu-home"><a href="<?php echo $website['root']; ?>index.php" <?php if($page_cat=='home') echo'class="active"';?>><span>Home</span></a></li>
<li class="menu-game"><a href="<?php echo $website['root']; ?>status.php" <?php if($page_cat=='game') echo'class="active"';?>><span>Status</span></a></li>
<li class="menu-community"><a href="<?php echo $website['root']; ?>community.php" <?php if($page_cat=='community') echo'class="active"';?>><span>Community</span></a></li>
<li class="menu-media"><a href="<?php echo $website['root']; ?>media.php" <?php if($page_cat=='media') echo'class="active"';?>><span>Media</span></a></li>
<li class="menu-forums"><a href="<?php echo $website['root']; ?>forum/" <?php if($page_cat=='forums') echo'class="active"';?>><span>Forums</span></a></li>
<li class="menu-services"><a href="<?php echo $website['root']; ?>services.php" <?php if($page_cat=='services') echo'class="active"';?>><span>Services</span></a></li>
</ul>
<?php
if($page_cat == "forums"){ include("../userplate.php"); }else{ include("userplate.php"); }
}else{ ?>
<li class="menu-home"><a href="<?php echo $website['root']; ?>index.php"><span>Home</span></a></li>
<li class="menu-game"><a href="<?php echo $website['root']; ?>status.php"><span>Status</span></a></li>
<li class="menu-community"><a href="<?php echo $website['root']; ?>community.php"><span>Community</span></a></li>
<li class="menu-media"><a href="<?php echo $website['root']; ?>media.php"><span>Media</span></a></li>
<li class="menu-forums"><a href="<?php echo $website['root']; ?>forum/"><span>Forums</span></a></li>
<li class="menu-services"><a href="<?php echo $website['root']; ?>services.php"><span>Services</span></a></li>
</ul>
<?php include("userplate.php"); } ?>
</div>
</div>
</div>