forked from AquaFlameCMS/AquaFlameCMS_Trinity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
55 lines (55 loc) · 3.01 KB
/
header.php
File metadata and controls
55 lines (55 loc) · 3.01 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
<div id="header">
<div class="search-bar">
<form action="<?php echo $website['root']; ?>search.php" method="get" autocomplete="off">
<div>
<div class="ui-typeahead-ghost">
<input type="text" value="" autocomplete="off" readonly="readonly" class="search-field input input-ghost"/>
<input href="<?php echo $website['root']; ?>search.php" type="text" class="input border-5 glow-shadow-2" name="search" id="search-field" maxlength="200" tabindex="40" alt="<?php echo $search['text_bar']; ?>" value="<?php echo $search['text_bar']; ?>" style="background-color: transparent; " />
</div>
<input href="<?php echo $website['root']; ?>search.php" type="submit" class="search-button" value="" tabindex="41" />
</div>
</form>
</div>
<h1 id="logo"><a href="<?php echo $website['root']; ?>"><?php echo $website['title']; ?></a></h1>
<div class="header-plate">
<ul class="menu" id="menu">
<?php if(isset($page_cat)){
?>
<li class="menu-home"><a href="<?php echo $website['root']; ?>" <?php if($page_cat=='home') echo'class="menu-active"';?>
><span><?php echo $home['home']; ?>
</span></a></li>
<li class="menu-game"><a href="<?php echo $website['root']; ?>game/" <?php if($page_cat=='game') echo'class="menu-active"';?>
><span><?php echo $game['game']; ?>
</span></a></li>
<li class="menu-community"><a href="<?php echo $website['root']; ?>community/" <?php if($page_cat=='community') echo'class="menu-active"';?>
><span><?php echo $Community['Community']; ?>
</span></a></li>
<li class="menu-media"><a href="<?php echo $website['root']; ?>media/" <?php if($page_cat=='media') echo'class="menu-active"';?>
><span><?php echo $Media['Media_menu']; ?>
</span></a></li>
<li class="menu-forums"><a href="<?php echo $website['root']; ?>forum/" <?php if($page_cat=='forums') echo'class="menu-active"';?>
><span><?php echo $Forums['Forums']; ?>
</span></a></li>
<li class="menu-services"><a href="<?php echo $website['root']; ?>shop/" <?php if($page_cat=='shop') echo'class="menu-active"';?>
><span><?php echo $Shop['shop']; ?>
</span></a></li>
</ul>
<?php
if($page_cat == "forums"){ require("userplate.php"); }else{ require("userplate.php"); }
}else{ ?>
<li class="menu-home"><a href="<?php echo $website['root']; ?>"><span><?php echo $home['home']; ?>
</span></a></li>
<li class="menu-game"><a href="<?php echo $website['root']; ?>game/"><span><?php echo $game['game']; ?>
</span></a></li>
<li class="menu-community"><a href="<?php echo $website['root']; ?>community/"><span><?php echo $Community['Community']; ?>
</span></a></li>
<li class="menu-media"><a href="<?php echo $website['root']; ?>media/"><span><?php echo $Media['Media_menu']; ?>
</span></a></li>
<li class="menu-forums"><a href="<?php echo $website['root']; ?>forum/"><span><?php echo $Forums['Forums']; ?>
</span></a></li>
<li class="menu-services"><a href="<?php echo $website['root']; ?>shop/"><span><?php echo $Shop['shop']; ?>
</span></a></li>
</ul>
<?php require("userplate.php"); } ?>
</div>
</div>