/
wts_index.php
192 lines (159 loc) · 7.63 KB
/
wts_index.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
require_once('bin/common.php');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $config->getTitle(); ?></title>
<link type="text/css" href="templetes/DarkTemp/styles/reset.css" rel="stylesheet" media="all" />
<link type="text/css" href="templetes/DarkTemp/styles/text.css" rel="stylesheet" media="all" />
<link type="text/css" href="templetes/DarkTemp/styles/960.css" rel="stylesheet" media="all" />
<link type="text/css" href="templetes/DarkTemp/styles/style.css" rel="stylesheet" media="all" />
<link type="text/css" href="templetes/DarkTemp/styles/print.css" rel="stylesheet" media="print" />
<link rel="stylesheet" href="templetes/DarkTemp/styles/tableSort.css" />
<script type="text/javascript" src="bin/jQuery/js/tableSort.js"></script>
</head>
<body>
<div class="header_cotainer">
<div class="container_12">
<div class="grid_3">
<a href="/" ><h1 class="logo">MCSO</h1></a>
</div>
<div class="grid_9">
<div class="menu_items">
<a href="<?php echo $_SERVER['PHP_SELF']; ?>" class="button_link" title="Home">Home</a>
<a href="https://mail.mahoningcountyoh.gov" target="_blank" class="button_link" title="Email">Email</a>
<a href="?about=true" class="button_link" title="About">About</a>
<a href="/wts_help.htm" target="_blank" class="button_link" title="Help">Help</a>
<div class="search">
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" name="Search_Form" method="POST" >
<input type="text" name="searchInput" value="<?php if(isset($_POST['searchInput'])) echo $_POST['searchInput'] ?>" />
<input type="submit" name="searchBtn" value="Search" />
</form>
</div>
</div>
</div>
</div>
</div>
<!--Content Section -->
<script language="javascript">
<script language="javascript" >
document.body.ready = new function () {
$("#Loading").hide();
$("#animation").show();
};
document.body.onload = new function () {
$("#Loading").show();
$("#animation").hide();
};
</script>
<script src="bin/jQuery/js/sonic.js"></script>
<script>
var loaders = [
{
width: 100,
height: 100,
stepsPerFrame: 1,
trailLength: 1,
pointDistance: .025,
strokeColor: '#05E2FF',
fps: 20,
setup: function() {
this._.lineWidth = 2;
},
step: function(point, index) {
var cx = this.padding + 50,
cy = this.padding + 50,
_ = this._,
angle = (Math.PI/180) * (point.progress * 360);
this._.globalAlpha = Math.max(.5, this.alpha);
_.beginPath();
_.moveTo(point.x, point.y);
_.lineTo(
(Math.cos(angle) * 35) + cx,
(Math.sin(angle) * 35) + cy
);
_.closePath();
_.stroke();
_.beginPath();
_.moveTo(
(Math.cos(-angle) * 32) + cx,
(Math.sin(-angle) * 32) + cy
);
_.lineTo(
(Math.cos(-angle) * 27) + cx,
(Math.sin(-angle) * 27) + cy
);
_.closePath();
_.stroke();
},
path: [
['arc', 50, 50, 40, 0, 360]
]
}
];
var d, a, container = document.getElementById('animation');
for (var i = -1, l = loaders.length; ++i < l;) {
d = document.createElement('div');
d.className = 'l';
a = new Sonic(loaders[i]);
d.appendChild(a.canvas);
container.appendChild(d);
a.canvas.style.marginTop = (150 - a.fullHeight) / 2 + 'px';
a.canvas.style.marginLeft = (150 - a.fullWidth) / 2 + 'px';
a.play();
}
</script>
<div id="animation" ></div>
<div class="content_container">
<div class="container_12 content_highlight">
<!--Left Menu Section -->
<div class="grid_4">
<?php displayMenu($config); ?>
</div>
<!--Center Content Section -->
<div class="grid_8">
<!--Content Login Section -->
<div class="login">
<?php displayLogin($config); ?>
<div class="clear"></div>
</div>
<div class="divider"></div>
<!--Content Section -->
<div id="Loading">
<?php displayContent($wts_content, $config); ?>
<!--Content Post 2 Section -->
<!-- <div class="post">
<div class="thumbnail"><a href="#"><img src="templetes/DarkTemp/images/image.jpg" alt="" /></a></div>
<h3><a href="#">Sample Header</a></h3>
<p>Sample content wouuld be placed within this paragraph</p>
<div class="post_footer">
<div class="comments">left column</div>
<div class="more"><a href="#">right column</a></div>
</div>
<div class="clear"></div>
</div>
<div class="divider"></div> -->
<!--End Content Post Section -->
</div><!--End Loading Section -->
</div>
<div class="clear"></div>
</div>
</div>
<!--Footer Section -->
<div class="footer_container">
<div class="container_12">
<div class="grid_4">© Mahoning County Sheriff's Office 2012</div>
<div class="grid_8">
<a href="?about=true">Terms and Conditions</a>
<a href="https://www.facebook.com/pages/Mahoning-County-Sheriffs-Office/211950208818335" target="_blank"><img src="templetes/DarkTemp/images/facebook_icon.jpg" alt="" /></a>
</div>
</div>
</div>
</body>
</html>
<?php $_SESSION['timeout'] = time(); //myAlerts($config);
$config->goToAnchor();
?>
<meta http-equiv="refresh" content="1800;url='<?php echo $_SERVER['REQUEST_URI']; ?>'" />