-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
57 lines (50 loc) · 1.1 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
45
46
47
48
49
50
51
52
53
54
55
56
57
<html>
<head>
<title>Login Page</title>
</head>
<body>
<form action="LoginPageDB.php" method="post">
<center>
<font size=6><b>Authentication System</b></font><p>
<b><u>LOGIN</u></b><p>
Username : <input type="text" name="user"><p>
Password : <input type="password" name="pass"><p>
<input type="submit" value="Sign in">
<input type="reset" value="Reset"><p><br>
Can't remember Password ?
<a href="ForgotPass.php">FORGOT PASSWORD</a><p>
Don't have an account ?
<a href="CreateAccount.php">CREATE ACCOUNT</a><p>
<?php
if(isset($_GET['a']))
{
echo "<font color='red'><b>Invalid Username/Password</b></font>";
}
?>
<?php
if(isset($_GET['b']))
{
echo "<font color='#CBC80B'><b>User Logged Out</b></font>";
}
?>
<?php
if(isset($_GET['c']))
{
echo "<font color='green'><b>Account Created</b></font>";
}
?>
<?php
if(isset($_GET['h']))
{
echo "<font color='#5202D5'><b>Account Deleted</b></font>";
}
?>
<?php
if(isset($_GET['l']))
{
echo "<font color='green'><b>Forgot Password Done</b></font>";
}
?>
</form>
</body>
</html>