forked from zhouhu/openpayroll
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpassword_reset.php
More file actions
51 lines (40 loc) · 2.38 KB
/
Copy pathpassword_reset.php
File metadata and controls
51 lines (40 loc) · 2.38 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
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php include_once('assets/includes/header.php');?>
<body class=" login">
<!-- BEGIN LOGO -->
<div class="logo">
PAYROLL
</div>
<!-- END LOGO -->
<!-- BEGIN LOGIN -->
<div class="content">
<!-- BEGIN LOGIN FORM -->
<form class="login-form" action="assets/classes/controller.php?act=login" method="post">
<h3 class="form-title font-green">New Password</h3>
<div class="alert alert-danger display-hide">
<button class="close" data-close="alert"></button>
<span> Please enter login details </span>
</div>
<div>
<?php
if (isset($_SESSION['msg'])) {
echo '<div class="alert alert-' . $_SESSION['alertcolor'] . ' alert-dismissable role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>' . $_SESSION['msg'] . '</div>';
unset($_SESSION['msg']);
unset($_SESSION['alertcolor']);
}
?>
</div>
<div class="form-group">
<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
<label class="control-label visible-ie8 visible-ie9">New Password</label>
<input class="form-control form-control-solid placeholder-no-fix" required type="password" autocomplete="off" placeholder="New Password" name="newpass1" /> </div>
<div class="form-group">
<label class="control-label visible-ie8 visible-ie9">Repeat Password</label>
<input class="form-control form-control-solid placeholder-no-fix" required type="password" autocomplete="off" placeholder="Password" name="newpass2" /> </div>
<div class="form-actions">
<button type="submit" class="btn btn-block red uppercase">Reset Password</button>
</div>
</form>
<!-- END LOGIN FORM -->
</div>
<div class="copyright"> 2016 Redsphere Consulting. </div>
<?php include_once('assets/includes/footer.php');?>