-
Notifications
You must be signed in to change notification settings - Fork 1
/
select_attendance.php
99 lines (89 loc) · 2.9 KB
/
select_attendance.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
<html>
<head>
<title>View Student List</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type ="text/css" href="bootstrap.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
<?php
session_start();
if (isset($_SESSION['username']) && isset($_SESSION['password'])) {
# code...
echo "<form name = 'select_att' action ='get_attendance.php' method='POST'>
<head>
<link rel='stylesheet' type='text/css' href='bootstrap.css'>
</head>
<div class = 'col-md-4 col-md-offset-4'>
<div class = 'form-group'>
<select class = 'form-control' name ='class'>
<option value='class10'>Class 10</option>
<option value='class12'>class 12</option>
</select><br>
<select class ='form-control' name='month'>
<option> - Month - </option>
<option value='01'>January</option>
<option value='02'>Febuary</option>
<option value='03'>March</option>
<option value='04'>April</option>
<option value='05'>May</option>
<option value='06'>June</option>
<option value='07'>July</option>
<option value='08'>August</option>
<option value='09'>September</option>
<option value='10'>October</option>
<option value='11'>November</option>
<option value='12r'>December</option>
</select><br>
<select class ='form-control' name='day'>
<option> - Day - </option>
<option value='01'>01</option>
<option value='02'>02</option>
<option value='03'>03</option>
<option value='04'>04</option>
<option value='05'>05</option>
<option value='06'>06</option>
<option value='07'>07</option>
<option value='08'>08</option>
<option value='09'>09</option>
<option value='10'>10</option>
<option value='11'>11</option>
<option value='12'>12</option>
<option value='13'>13</option>
<option value='14'>14</option>
<option value='15'>15</option>
<option value='16'>16</option>
<option value='17'>17</option>
<option value='18'>18</option>
<option value='19'>19</option>
<option value='20'>20</option>
<option value='21'>21</option>
<option value='22'>22</option>
<option value='23'>23</option>
<option value='24'>24</option>
<option value='25'>25</option>
<option value='26'>26</option>
<option value='27'>27</option>
<option value='28'>28</option>
<option value='29'>29</option>
<option value='30'>30</option>
<option value='31'>31</option>
</select><br>
<select class ='form-control' name='year'>
<option> - Year - </option>
<option value='2015'>2015</option>
<option value='2016'>2016</option>
<option value='2017'>2017</option>
<option value='2018'>2018</option>
</select><br>
<div class = 'form-group'>
<button type='submit' class='btn btn-primary'>See Attendance</button><br>
</div>";
}
else
{
require 'redirect_login.php';
}
?>