forked from GeekHaven/Leave-Application-Portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·45 lines (35 loc) · 1.19 KB
/
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
<?php
session_start();
if(isset($_SESSION['user'])){
header("location:student_dashboard.php");
exit();
}
?>
<link rel="stylesheet" type="text/css" href="static/css/login.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<body>
<form action="./core/verifylogin.php" method="post">
<div class="imgcontainer">
<img src="index.png" alt="Avatar" class="avatar" height="200" width="100">
</div>
<div class="container">
<br>
<label for="enroll"><b>Enrollment Number</b></label>
<input type="text" placeholder="Enter Email" name="enroll" required>
<br>
<label for="Email"><b>Username</b></label>
<input type="email" placeholder="Enter Email" name="Email" required>
<br>
<label for="Password"><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="Password" required>
<br>
<input type="submit" name="submit" value="submit" class="sub">
<label>
<h3>Not Registered ?? Click <a href="usersignup.php">Here</a></h3>
</label>
</div>
<div class="container" style="background-color:#f1f1f1">
<span class="psw">Forgot <a href="#">password?</a></span>
</div>
</form>
</body>