-
Notifications
You must be signed in to change notification settings - Fork 0
/
enterotp.php
116 lines (104 loc) · 2.48 KB
/
enterotp.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
<?php
session_start();
if(isset($_SESSION["invalid_account"]))
{
echo "<div class='container1'>
<div class='alert alert-danger'>
<strong>Warning!</strong> Enter otp.
</div>
</div>";
session_destroy();
}
?>
<!DOCTYPE html>
<html>
<head>
<title>pass</title>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<style type="text/css">
body{
color:blue;
transform: uppercase;
font-family: sofia;
background-image: url(visakhapatnam-hivizag.jpg);
background-repeat:no-repeat;
background-size: cover;
}
.container{
width:400px;
height:auto;
color:white;
top:40%;
left:50%;
position:absolute;
transform:translate(-45%,-55%);
box-sizing:border-box;
padding: 50px 30px;
font-family: :sofia;
border-radius:30%;
}
.background-wrap{
position: fixed;
z-index: -1000;
width: 100%;
height: 100%;
overflow: hidden;
top:0;
left:0;
box-sizing: border-box;
}
label{
color:black;
font-size: 25px;
font-family: :sofia;
}
.container h1{
font-weight: bold;
font-family: sans-serif;
text-align: center;
}
.container input{
width: 100%;
margin-bottom: 20px;
}
.container input[type="text"]{
border-radius: 5px;
border-bottom: 1px solid white;
background: transparent;
color:black;
transform: uppercase;
font-weight: italic;
font-size: 20px;
}
.button{
background-color:#4caf50;
font-size: 20;
border: none;
color: black;
padding: 10px 2px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 5px;
}
.button:hover{
background-color:#e7e7e7;
text-decoration-color: green;
}
}
</style>
<body>
<div class="container" style="float: left">
<form action="validate_otp.php" method="POST">
<!-- <h1>Forgot Password</h1> -->
<label>Enter OTP</label><br><input type="text" name="otp" required style="border-width: 20;border-top:30px"><br><br>
<a href="side.php"><input type="button" name="cancel" value="cancel" class="button" onclick="submit" style="width: 120px"></a>
<input type="submit" name="submit" value="submit" class="button" style="width: 120px;float: right">
</form>
</div>
</body>
</html>