forked from muditjoshi98/Student-Counseling-Services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
116 lines (92 loc) · 3.21 KB
/
login.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Login</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Quicksand" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style_login.css">
</head>
<body>
<div>
<img class="responsive-img" src="assets/img/logo.jpg" width="100%" alt="College Logo">
</div>
<div class="menu">
<h2>Student Counselling Services</h2>
<nav>
<li><a href="index.html">Home</a></li>
<li><a href="whyconselling.html">Why Conselling??</a></li>
<li><a href="aboutus.html">About Us</a></li>
<li><a href="login.php">Login</a></li>
<li><a href="register.html">Register</a></li>
</nav>
</div>
<div class="background-image"></div>
<div class="form">
<ul class="tab-group">
<li class="tab active"><a href="#signup">Student Login</a></li>
<li class="tab"><a href="#login">Counsellor Login</a></li>
</ul>
<div class="tab-content">
<div id="signup">
<h1>Welcome back!</h1>
<form action="login_check.php" method="post">
<div class="field-wrap">
<label>
Email Address<span class="req">*</span>
</label>
<input type="email"required autocomplete="off" name="Semail"/>
</div>
<div class="field-wrap">
<label>
Password<span class="req">*</span>
</label>
<input type="password"required autocomplete="off" name="Spassword"/>
</div>
<div>
<?php
if(array_key_exists("msg",$_GET)){
if($_GET['msg']=='serror')
{
echo '<p class="incorrect">Incorrect Login or Password</p>';
}
} ?>
</div>
<p class="forgot"><a href="#">Forgot Password?</a></p>
<button class="button button-block" name="Ssubmit" value="Login"/>Login</button>
</form>
</div>
<div id="login">
c"><h1>Someone needs you!</h1>
<form action="login_check.php" method="post">
<div class="field-wrap">
<label>
Email Address<span class="req">*</span>
</label>
<input type="email"required autocomplete="off" name="Cemail" />
</div>
<div class="field-wrap">
<label>
Password<span class="req">*</span>
</label>
<input type="password"required autocomplete="off" name="Cpassword"/>
</div>
<div>
<?php
if(array_key_exists("msg",$_GET)){
if($_GET['msg']=='cerror')
{
echo '<p class="incorrect">Incorrect Login or Password</p>';
}
} ?>
</div>
<p class="forgot"><a href="#">Forgot Password?</a></p>
<button class="button button-block" name="Csubmit"/>Let's Counsel</button>
</form>
</div>
</div><!-- tab-content -->
</div> <!-- /form -->
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="assets/js/index.js"></script>
</body>
</html>