-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheck.php
More file actions
107 lines (90 loc) · 3.22 KB
/
Copy pathcheck.php
File metadata and controls
107 lines (90 loc) · 3.22 KB
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
<?php
ob_start();
session_start();
require_once 'dbconnect.php';
// if session is not set this will redirect to login page
if( !isset($_SESSION['user']) ) {
header("Location: index.php");
exit;
}
// select loggedin users detail
$res=mysqli_query($conn,"SELECT * FROM student WHERE St_id=".$_SESSION['user']);
$userRow=mysqli_fetch_array($res);
?>
<!DOCTYPE html>
<html>
<title>
</title>
<head>
<link rel="stylesheet" type="text/css" href="styles.css"/>
</head>
<body>
<div class="container"> <!--start of main container -->
<div class="Header">
<div class="Header_right">
<a href="logout.php?logout"><input class="button" type="button" value="Logout"></a>
</div>
</div>
<div class="nav"> <!-- Start of navition -->
<a href="My_Locker.php?logout"><input class="button button3" type="button" value="My Locker"></a>
</div>
<div class="container_body"> <!--Start of container for body-->
<div class="upper"> <!--Start of upper div-->
<div class="upper_left">
<img src="unlocked.png" height="300px" width="280px">
<div class="button_space">
<form method="post" action="<?php $_SERVER['PHP_SELF']; ?>" >
<input class="button button1" type="button" value="Occupy">
</form>
</div>
</div>
<div class="upper_leftn">
<img src="unlocked.png" height="300px" width="280px">
<div class="button_space">
<input class="button button1" type="button" value="Occupy">
</div>
</div>
<div class="upper_center">
<img src="unlocked.png" height="300px" width="280px">
<div class="button_space">
<input class="button button1" type="button" value="Occupy">
</div>
</div>
<div class="upper_right">
<img src="unlocked.png" height="300px" width="280px">
<div class="button_space">
<input class="button button1" type="button" value="Occupy">
</div>
</div>
</div> <!--End of upper div-->
<div class="Lower"> <!--Start of Lower div-->
<div class="upper_left">
<img src="locked.png" height="300px" width="280px">
<div class="button_space">
<input class="button button1" type="button" value="Occupy1">
</div>
</div>
<div class="upper_leftn">
<img src="locked.png" height="300px" width="280px">
<div class="button_space">
<input class="button button1" type="button" value="Occupy">
</div>
</div>
<div class="upper_center">
<img src="locked.png" height="300px" width="280px">
<div class="button_space">
<input class="button button1" type="button" value="Occupy">
</div>
</div>
<div class="upper_right">
<img src="locked.png" height="300px" width="280px">
<div class="button_space">
<input class="button button1" type="button" value="Occupy">
</div>
</div>
</div> <!--End of Lower div-->
</div> <!--End of container for body-->
<div class="Footer"></div>
</div> <!--End of main container-->
</body>
</html>