-
Notifications
You must be signed in to change notification settings - Fork 0
/
forgot.php
executable file
·64 lines (60 loc) · 1.25 KB
/
forgot.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
<?php
require_once("headerlogin.php");
?>
<div class="alert alert-secondary"><h1>Forgot Password</h1></div>
<div class="container-fluid" style="margin-top: 75px;margin-bottom: 75px;">
<div class="row">
<div class="col-md-2">
</div>
<div class="col-md-8">
<form action="codeforget.php" role="form" method="post">
<div class="form-group">
<label for="rn">
Roll No
</label>
<input class="form-control" id="rn" type="text" name="rn"/>
</div>
<?php
if(@$_GET["msg"]==1)
{
?>
<div class="alert alert-danger">
<?php echo "Enter correct Roll No"; ?>
</div>
<?php
}
else if(@$_GET["msg"]==2)
{
?>
<div class="alert alert-success">
<?php echo "Mail sent successfully"; ?>
</div>
<?php
}
else if(@$_GET["msg"]==3)
{
?>
<div class="alert alert-info">
<?php
echo "Mail not sent"; ?>
</div>
<?php
}
?>
<div class="form-group">
<button type="submit" class="btn btn-default" value="Login" name="btn">
Submit
</button>
</form>
<br/>
</div>
<div class="col-md-2">
</div>
</div>
</div>
<font color="red">
<h4>
</h4></font>
<?php
require_once("footerlogin.php");
?>