-
Notifications
You must be signed in to change notification settings - Fork 0
/
ottp.php
78 lines (69 loc) · 3.07 KB
/
ottp.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
<?php
session_start();
?>
<!DOCTYPE html>
<htm>
<head>
<title>Forgot password</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="logo.png" type="image/png">
<link rel="shortcut icon" href="logo.png" type="image/png">
<meta name="robots" content="index, follow">
<meta name="author" content="Adarsh padukone">
<meta name="copyright" content="All rights reserved">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-language" content="en">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="adarsh,adarshpadukone,ap,jssateb,jss collge,blood glucose,glucometer,non invasive,monitoring" />
<meta name="description" content="Non-invasive Blood Glucose Monitoring system. Developed by Students of Electronics and Communication Engineering , JSSATE Bangalore" />
<script src="js/jquery.min.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/bootstrap.min.css";>
<style>
</style>
</head>
<body class="alert-warning">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Reset password</a>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-sm-4"></div>
<div class="col-sm-4">
<form action="valotp.php" autocomplete="off" method="POST">
<div class="form-group">
<h2 class=" text-center">OTP</h2>
</div>
<div class="form-group">
<input type="text" placeholder="Enter OTP" pattern="[0-9]{4}" class="form-control" id="otp" name="otp" required>
</div>
<div class="form-group">
<input type="submit" class="btn btn-success" value="Submit OTP">
</div>
<div class="form-group">
<h4 class=" text-center alert-danger">
<?php
if(isset($_SESSION["v"]))
{
$v=$_SESSION["v"];
if($v=="f")
{
echo "Invalid OTP";
$_SESSION["v"]="";
}
}
?>
</h4>
</div>
</form>
</div>
<div class="col-sm-4"></div>
</row>
</div>
</body>
</html>