-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.php
More file actions
38 lines (34 loc) · 1.41 KB
/
Copy pathcode.php
File metadata and controls
38 lines (34 loc) · 1.41 KB
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
<?php session_start(); ?>
<?php include 'includes/header.php'; ?>
<body class="hold-transition login-page bg" style="display: inline !important;">
<div class="login-box">
<?php
if(isset($_SESSION['error'])){
echo "
<div class='callout callout-danger text-center mt20'>
<p>".$_SESSION['error']."</p>
</div>
";
unset($_SESSION['error']);
}
?>
<div class="login-logo">
<b style = "margin: 0px; text-transform: uppercase">Online Voting System</b>
</div>
<div class="login-box-body">
<h3 class="login-box-msg" style = "font-weight: bold; font-variant: small-caps; font-family: Times, serif">Validating User</h3>
<hr>
<form action = "verification.php" method="POST">
<div class="form-group has-feedback">
<input type="password" class="form-control" name="vcode" placeholder="Enter the validation code..." required>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="modal-footer">
<button type="button" onclick= "parent.location='index.php'" class="btn btn-danger btn-flat pull-left" data-dismiss="modal"><i class="fa fa-close"></i> Close</button>
<button type="submit" class="btn btn-success btn-flat" name="generate"><i class="fa fa-check-square-o"></i> Reset Password</button>
</div>
</form>
</div>
</div>
</body>
</html>