forked from 125125/htmltemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
49 lines (44 loc) · 1.49 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
session_start();
include('/config/vars.php');
include('config/db_connect.php');
?>
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="./js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="./js/SidePanel.js"></script>
<script type="text/javascript">
function slideSwitch() {
var $active = $('#slideshow IMG.active');
if ( $active.length == 0 ) $active = $('#slideshow IMG:last');
var $next = $active.next().length ? $active.next()
: $('#slideshow IMG:first');
$active.addClass('last-active');
$next.css({opacity: 0.0})
.addClass('active')
.animate({opacity: 1.0}, 1000, function() {
$active.removeClass('active last-active');
});
}
$(function() {
setInterval( "slideSwitch()", 10000 );/* 1000 = 1 second */
});
</script>
<link rel="stylesheet" type="text/css" href="./css/style.css">
<title><?php echo $title ?></title>
</head>
<body>
<div class="navbg">
<div class="nav">
<ul>
<div class="navlogo"><a href="?p=index"></a></div>
<li class="menu" id="menu-armory"><a id="armory" href="?p=armory"></a></li>
<li class="menu" id="menu-social"><a id="social" href="?p=social"></a></li>
<li class="menu" id="menu-store"><a id="store" href="?p=store"></a></li>
<li class="menu" id="menu-support"><a id="support" href="?p=support"></a></li>
</ul>
</div>
</div>
<div class="wrapper">