forked from open-austin/council-connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
90 lines (67 loc) · 4.22 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
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
<?php // header.php
require_once 'User.php';
$atxcc_us = new User ();
?>
<!--header.php-->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/style.css">
<script src="<?php echo get_template_directory_uri();?>/js/jsRefs/_start.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/jsRefs/init.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/jsRefs/events.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/jsRefs/debug.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/jsRefs/_debug.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/jsRefs/model.js"></script>
<script src="<?php echo get_template_directory_uri();?>/js/jsRefs/util.js"></script>
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/css/mod-bootstrap.css">
</head>
<body id='zbody'>
<div class='navbar navbar-default navbar-static-top'>
<div class="container">
<ul class='nav navbar-nav navbar-left'>
<li class='zmenu'><a href='<?php echo site_url ();?>/home?0'><img src="<?php echo get_template_directory_uri();?>/img/councilconnectlogo.jpg" style="width:50px";></a> </li>
<li class='zmenu'> <a href='<?php echo site_url ();?>/about?0'>About</a> </li>
<li class='zmenu'> <a href='<?php echo site_url ();?>/findyourcouncildistrict?0'>Find Your Council District</a> </li>
<li class='zmenu'> <a href='<?php echo site_url ();?>/councilprocess?0'>The Council Process</a> </li>
<li class='zmenu'> <a href='<?php echo site_url ();?>/agendapage?0'>Agenda Items</a> </li>
<?php
if ($atxcc_us->isLoggedIn) {
?>
<li class='zmenu'> <a href='<?php echo site_url ();?>/tags'>Tags</a> </li>
<li class='zmenu'> <a href='<?php echo site_url ();?>/alogout'>Log out</a> </li>
<li id='zuser' name='<?php echo $atxcc_us->username; ?>' class='dropdown zmenu'>
<a class='dropdown-toggle' data-toggle='dropdown' href='#'>
<?php echo 'Hello ' . $atxcc_us->username; ?>
<span class="caret"></span>
<ul class='dropdown-menu'>
<li class='zmenu'> <a href='<?php echo site_url ();?>/apassword'>Change Password</a> </li>
<?php
if ($_SESSION ['user'] == 'atxcchot') {
?><li class='zmenu'> <a href='<?php echo site_url ();?>/agendactrl'>Agenda Ctrl</a> </li><?php
} // end if ($_SESSION ['user'] == 'atxcchot')
?>
</ul>
</a>
</li>
<?php
} else {
?>
<li class='zmenu'> <a href='<?php echo site_url ();?>/signup?0'>Sign up</a> </li>
<li class='zmenu'> <a href='<?php echo site_url ();?>/alogin?0'>Log in</a> </li>
<?php
} // end if ($atxcc_us -> isLoggedIn)
?>
<li id='zsearch'> <form><input id='zsearchinput' type='text' placeholder='Search'/></form> </li>
</ul>
</div>
</div>
<div id='agendasection' class='container'>
<!--END header.php-->