-
Notifications
You must be signed in to change notification settings - Fork 5
/
attendancebackup.php
executable file
·96 lines (84 loc) · 2.74 KB
/
attendancebackup.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
<?php
include_once 'includes/db_connect.php';
session_start();
if (!isset($_SESSION['ati'])){
header("Location: login-index.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/tab.css">
<link rel="shortcut icon" href="images/sis-favicon.ico" type="image/x-icon">
<title>Welcome Admin</title>
</head>
<body class="bg">
<div class="topnav pullUp">
<a href="?adminhome">Home</a>
<?php
if(isset($_GET['adminhome'])) {
header("Location: admin-index.php");
}
?>
<a href="?logout">Logout</a>
<?php
if(isset($_GET['logout'])) {
session_unset();
header("Location: login-index.php");
}
?>
<a href="#">About</a>
<a href="#">Help</a>
<a class="developedby" href="#">Developed By</a>
</div>
<div class="admincard-bck">
<!--Only For Login card Background-->
</div>
<div class="admincard">
<div class="tab">
<a class="containertitle ">Student</a>
</div>
<form action="tr.php" method="post">
<ul class="form-style">
<?php echo $_SESSION['updatemsg']?>
<li>
<label>Academic Details <span class="required">*</span></label>
<select name="year" class="field-select-divided dropdown-button" required="required">
<option value="">--select year--</option>
<option value="fe">FE</option>
<option value="se">SE</option>
<option value="te">TE</option>
</select>
<select name="dept" class="field-select-divided dropdown-button" required="required">
<option value="">--select department--</option>
<option value="civil">Civil</option>
<option value="computer">Computer</option>
<option value="it">IT</option>
<option value="entc">ENTC</option>
<option value="mechanical">Mechanical</option>
</select>
<select name="subj" class="field-select-divided dropdown-button" required="required">
<option value="">--select subj--</option>
<option value="subj1">SUBJECT1</option>
<option value="subj2">SUBJECT2</option>
</select>
<!-- <select name="pattern" class="field-select-divided dropdown-button">
<option value="">--select pattern--</option>
<option value="12">FE2012 Pattern</option>
<option value="14">FE2014 Pattern</option>
<option value="15">FE2015 Pattern</option>
</select> -->
</li>
<li>
<div class="submit">
<button type="submit">Submit</button>
</div>
</li>
</ul>
</form>
</div>
<div class="footer">
<p> Copyright 2017. All Rights Reserved. Developed by SSA</p>
</div>
</body>
</html>