Subversion Repositories cheapmusic

Rev

Rev 122 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 - 1
<?php
31 - 2
// Include Session Handling
65 - 3
require_once ('includes/session.php');
31 - 4
 
25 - 5
// Include config & login validate file
6
require_once 'includes/validateUser.php';
7
?>
8
<!DOCTYPE html>
9
<html lang="en-US">
10
<head>
11
	<!--head-->
12
	<?php include_once 'elements/head.php'; ?>
13
	<!--//head-->
14
</head>
15
<body>
43 - 16
<div class="main">
25 - 17
    <!--header-->
18
    <?php include_once 'elements/header.php'; ?>
19
    <!--//header-->
20
 
21
    <!--main-->
22
	<div class="main-content">
57 - 23
          <div class="wrapper-frm bg-light text-dark border shadow text-center">
124 - 24
            <div class="header">
107 - 25
                <h1>Recover Account Password</h1>
57 - 26
            </div>
25 - 27
            <div class="top">
65 - 28
				<?php echo !empty($statusMsg) ? '<p class="status-msg ' . $statusMsgType . '">' . $statusMsg . '</p>' : ''; ?>
25 - 29
 
65 - 30
				<?php if (isset($_GET['frmDis']) && $_GET['frmDis'] == 0) { ?>
25 - 31
					<h4>Didn’t receive the email? <a href="<?php echo BASE_URL; ?>forgotPassword.php">Request reset link</a></h4>
65 - 32
				<?php
33
}
34
else { ?>
25 - 35
                <form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
122 - 36
					<input type="hidden" name="nonce" value="<?php if (isset($_SESSION['nonce'])) echo $_SESSION['nonce']; ?>" />
25 - 37
                    <div class="frm-input">
116 - 38
                        <input type="email" name="email" class="email-in" placeholder="Email" required="" aria-label="Email Address" />
25 - 39
                    </div>
40
                    <div class="frm-btn">
57 - 41
                        <button class="btn btn-success" type="submit" name="forgotSubmit" value="Continue">Continue</button>
25 - 42
                    </div>
43
                </form>
65 - 44
				<?php
45
} ?>
25 - 46
            </div>
47
            <div class="bottom">
30 - 48
                <p>Don't Want to Reset? <a href="<?php echo BASE_URL; ?>index.php">Sign In</a></p>
25 - 49
            </div>
57 - 50
          </div>
25 - 51
	</div>
52
	<!--//main-->
53
 
54
	<!--footer-->
55
	<?php include_once 'elements/footer.php'; ?>
56
	<!--//footer-->
57
</div>
58
</body>
26 - 59
</html>