forked from chazzbg/InventoryWeb
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·93 lines (80 loc) · 4.42 KB
/
header.php
File metadata and controls
executable file
·93 lines (80 loc) · 4.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Ingress Inventory by Chazz</title>
<link href='http://fonts.googleapis.com/css?family=Coda:400,700' rel='stylesheet' type='text/css' />
<link href="css/bootstrap.css" rel='stylesheet' type='text/css'>
<link href="css/bootstrap-theme.css?<?php echo _VERSION_; ?>" rel='stylesheet' type='text/css'>
<link href='js/fancybox/jquery.fancybox.css' rel="stylesheet" type='text/css' />
<link href="js/exgrid/exgrid.css?<?php echo _VERSION_; ?>" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="js/bootstrap.js" ></script>
<script src="js/fancybox/jquery.fancybox.pack.js"></script>
<script src="js/fancybox/helpers/jquery.fancybox-media.js"></script>
<script src="js/highchart/highcharts.js"></script>
<script src="js/highchart/themes/gray.js"></script>
<script src="js/exgrid/modernizr.custom.js"></script>
<script src="js/jquery.tinysort.js"></script>
<script src="js/script.js?<?php echo _VERSION_; ?>"></script>
</head>
<body>
<?php
if($_SERVER['HTTP_HOST'] != 'localhost'){
?>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4977004-15']);
_gaq.push(['_setDomainName', 'worldofchazz.net']);
_gaq.push(['_setAllowLinker', true]);
_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>
<?php } ?>
<div class="container">
<h1 class="hidden-xs text-center">
<a class="title" href="index.php">Ingress Inventory </a>
</h1>
<div class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toglle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand visible-xs" href="index.php">Ingress Inventory</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li <?php echo !isSubmit('page')? 'class="active"':''; ?> ><a href="index.php">Home</a></li>
<li <?php echo getValue('page')=='badges' ? 'class="active"':''; ?> ><a href="index.php?page=badges">Badges</a></li>
<li <?php echo getValue('page')=='resonators' ? 'class="active"':''; ?> ><a href="index.php?page=resonators">Resonators</a></li>
<li <?php echo getValue('page')=='weapons' ? 'class="active"':''; ?> ><a href="index.php?page=weapons">Weapons</a></li>
<li <?php echo getValue('page')=='mods' ? 'class="active"':''; ?> ><a href="index.php?page=mods">Mods</a></li>
<li <?php echo getValue('page')=='cubes' ? 'class="active"':''; ?> ><a href="index.php?page=cubes">Power Cubes</a></li>
<li class="dropdown" <?php echo getValue('page')=='keys' ? 'class="active"':''; ?> >
<a href="index.php?page=keys" class="dropdown-toggle" data-toggle="dropdown">Portal Keys <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="index.php?page=keys&view=list">List View</a></li>
<li><a href="index.php?page=keys&view=map">Map View</a></li>
</ul>
</li>
<li <?php echo getValue('page')=='media' ? 'class="active"':''; ?> ><a href="index.php?page=media">Media</a></li>
<li class="dropdown <?php echo getValue('page')=='tools' ? 'active':''; ?>" >
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Tools <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="index.php?page=tools&tool=redeem" class="">Redeem passcode</a></li>
<li><a href="index.php?page=tools&tool=recycle" class="">Recycle items</a></li>
<li><a href="index.php?page=tools&tool=agent" class="">Agent Info</a></li>
<li><a href="index.php?page=tools&tool=score" class="">Regional score</a></li>
</ul>
</li>
</ul>
</div>
</div>