-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1index.php
85 lines (81 loc) · 3.53 KB
/
1index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="!style.css">
<title>Document</title>
</head>
<body>
<?php
//session_start();
//session_unset();
//session_destroy();
$msg="";
if(!empty($_REQUEST['msg'])){
$msg=$_REQUEST['msg'];
}
$emailmsg="";
if(!empty($_REQUEST['emailmsg'])){
$emailmsg=$_REQUEST['emailmsg'];
}
$passmsg="";
if(!empty($_REQUEST['passmsg'])){
$passmsg=$_REQUEST['passmsg'];
}
$ademailmsg="";
if(!empty($_REQUEST['ademailmsg'])){
$ademailmsg=$_REQUEST['ademailmsg'];
}
$adpassmsg="";
if(!empty($_REQUEST['adpassmsg'])){
$adpassmsg=$_REQUEST['adpassmsg'];
}
?>
<a href="1index.php"><h2>Pala</h2></a>
<div class="container login-container">
<div class="row"><h4><?php echo $msg?></h4></div>
<div class="row">
<div class="col-md-6 login1">
<h3>Student</h3>
<form action="2login_server_page.php" method="get">
<div class="form-group">
<input type="text" class="form-control" name="email" value="" placeholder="Enter Email"/>
</div>
<label style="color:red">*<?php echo $emailmsg?></label>
<div class="form-group">
<input type="password" class="form-control" name="pass" value="" placeholder="Enter Password"/>
</div>
<label style="color:red">*<?php echo $passmsg?></label>
<div class="form-group">
<input type="submit" class="btn-primary" value="Login"/>
</div>
<a href=# class="Forgotpass">Forgot Password</a>
</form>
</div>
<div class="col-md-6 login2">
<h3>Admin</h3>
<form action="3loginadmin_server_page.php" method="get">
<div class="form-group">
<input type="text" class="form-control" name="ademail" value="" placeholder="Enter Email"/>
</div>
<label style="color:red">*<?php echo $ademailmsg?></label>
<div class="form-group">
<input type="password" class="form-control" name="adpass" value="" placeholder="Enter Password"/>
</div>
<label style="color:red">*<?php echo $adpassmsg?></label>
<div class="form-group">
<input type="submit" class="btn-primary"value="Login"/>
</div>
<a href=# class="Forgotpass">Forgot Password</a>
</form>
</div>
</div>
</div>
<script src="" async defer></script>
</body>
</html>