-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistory.php
197 lines (190 loc) · 6.45 KB
/
history.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
193
194
195
196
197
<?php
ob_start();
session_start();
include('connect.php');
if(isset($_COOKIE["userid"]))
{
if($_COOKIE["userid"]=="user_id_auth_remember")
$_SESSION['userid']="admuser";
}
if(!isset($_SESSION['userid']))
{
header('location:index.php');
}
?>
<html>
<head>
<title>BIT CERTIFICATE</title>
<meta name="viewport" content="width=device-width , initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/form.css" rel="stylesheet">
<link href="css/basic.css" rel="stylesheet">
<link rel="shortcut icon" type="image/x-icon" href="img/fav.ico">
</head>
<?php $site="hist"; include("header.php");?>
<div class="container" style="min-length:600px;">
<div class="jumbotron">
<center><h3>HISTORY</h3></center>
<hr>
<form name="history" style="border-style:outset;border-radius:5px;" class="format form-horizontal">
<legend>History Filters</legend>
<div class="row">
<div class="col-md-2">
<label>CERTIFICATE:</label>
</div>
<div class="col-md-2 ">
<select class="form-control" onchange="put_between()" name="cert">
<option value="provisional">PROVISIONAL</option>
<option value="migration">MIGRATION</option>
<option value="BOTH" selected>BOTH</option>
</select>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label>TIME:</label>
</div>
<div class="col-md-2">
<select class="form-control" name="option" onchange="put_between()">
<option value="1">All</option>
<option value="0">Today</option>
<option value="2">Last 7 days</option>
<option value="3">This month</option>
<option value="4">Last 30 days</option>
<option value="5">This year</option>
<option value="6">Last 12 months</option>
<option value="7">Between</option>
</select>
</div>
</div>
<div class="row" id="between" style="padding:10px">
<div class="col-sm-1" style="padding:0px;margin:0px">
<select name="st_date" class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
</div>
<div class="col-sm-1" style="padding:0px;margin:0px">
<select name="st_month" class="form-control">
<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>
</select>
</div>
<div class="col-sm-2" style="padding:0px;margin:0px">
<input type="number" class="form-control" maxlength="4" name="st_year" value="2013">
</div>
<div class="col-sm-1">
<label for="x" class="control-label" style="padding:0px 0px 0px 10px">AND</label>
</div>
<div class="col-sm-1" style="padding:0px;margin:0px">
<select name="fi_date" class="form-control">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
<option>13</option>
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
<option>19</option>
<option>20</option>
<option>21</option>
<option>22</option>
<option>23</option>
<option>24</option>
<option>25</option>
<option>26</option>
<option>27</option>
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
</select>
</div>
<div class="col-sm-1" style="padding:0px;margin:0px">
<select name="fi_month" class="form-control">
<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>
</select>
</div>
<div class="col-sm-2" style="padding:0px;margin:0px">
<input type="number" class="form-control" maxlength="4"name="fi_year" value="2013">
</div>
<div class="col-sm-1" style="padding:0px;margin-left:10px">
<input type="button" name="sub_hist_between" class="form-control btn btn-primary pull-right" id="bitbutton" value="Search" onclick="put_date_time()">
</div>
</div>
</form>
<center><div id="history"></div></center>
</div>
</div>
<center>
<span style="font-size:10px;padding:10px">Designed & Developed by A.S.U.S</span>
</center>
<!-- script jquery and bootstrap for faster loading of the page-->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/history.js"></script>
<!-- script jquery and bootstrap for faster loading of the page-->
</body>
</html>