-
Notifications
You must be signed in to change notification settings - Fork 0
/
top.php
134 lines (104 loc) · 3.77 KB
/
top.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?php
if (!isset($_SESSION)) {
session_start();
}
if (isset($_COOKIE["username"])) {
$username = $_COOKIE["username"];
$_SESSION["name"] = $username;
}
?>
<!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700' rel='stylesheet' type='text/css'>
<title><?php if ($thisPage != "") {
echo "$thisPage"; } ?> - Idaho Legislative Information Portal, Bills, Lawmakers & Data</title>
<meta charset="utf-8" />
<meta name="description" content="idleg: Idaho legislative bill information portal" />
<meta name="keywords" content="Idaho, legislature, bills, laws, legislation" />
<meta name="author" content="Nathaniel Hoffman" /> <!-- Note: Make dynamic based on page author -->
<meta name="revised" content="<?php filemtime('index.php'); ?>" /> <!-- last mod of index.html -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/styles.css" type="text/scc" rel="stylesheet" />
<link rel="shortcut icon" href="/images/favicon.ico" />
<!-- css fonts library -->
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet" />
<!-- jplist demo page styles -->
<link rel="stylesheet" href="normalize.css" type="text/css" />
<link rel="stylesheet" href="jplist-demo-pages.min.css" type="text/css" />
<!-- jQuery library -->
<script src="../assets/js/vendor/jquery-1.10.0.min.js"></script>
<!-- jPList Core -->
<link href="jplist-core.min.css" rel="stylesheet" type="text/css" />
<script src="jplist-core.min.js"></script>
<!-- add here jPList controls and bundles -->
...
<!-- Example of jplist JavaScript options for PHP server side -->
<script>
$('document').ready(function(){
$('#demo').jplist({
itemsBox: '.list'
,itemPath: '.list-item'
,panelPath: '.jplist-panel'
//data source
,dataSource: {
type: 'server'
,server: {
//jQuery ajax settings
ajax:{
url: 'server.php'
,dataType: 'html'
,type: 'POST'
}
,serverOkCallback: function(serverData, statuses, ajax, response){
//server callback in case of success
}
,serverErrorCallback: function(statuses){
//server callback in case of fail
}
}
//render function for json + templates like handlebars, xml + xslt etc.
,render: null
}
});
});
</script>
</head>
<header>
<div class="tops">
<div id="topline">
<div class="socials">
<ul>
<li class="social">
<a href="https://twitter.com/search?q=%23idleg&src=typd"><img src="images/twittericon.png" width="24px" height="24px">
</a>
</li>
<li class="social">
<a href="http://idleg.info/rss"><img src="images/RSS-Icon.png" width="24px" height="24px">
</a>
</li>
<li class="social">
<a href="https://github.com/paleomedia/idleg"><img src="images/Github-Icon.png" width="24px" height="24px">
</a>
</li>
<li class="social">
<a href="mailto:[email protected]"><img src="images/Email-Icon.png" width="24px" height="24px">
</a>
</li>
<li class="social">
<a href="http://facebook.com"><img src="images/Facebook-Icon.png" width="24px" height="24px">
</a>
</li>
</ul>
</div>
</div>
<div id="logoline">
<div id="logo">
<h1>#IDleg</h1>
</div>
<div id="slogan">
<h2>An Idaho social-political network</h2>
</div>
</div>
<?php include('menu.php'); ?>
</header>