Subversion Repositories cheapmusic

Rev

Rev 43 | Rev 57 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 - 1
<?php
31 - 2
// Include Session Handling
3
require_once('includes/session.php');
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">
23
		<div class="wrapper-frm">
24
            <div class="head-menu">
25
                <div class="menu-tle">
43 - 26
                    <h2>Change Password</h2>
25 - 27
                </div>
28
            </div>
29
            <div class="ucontent">
31 - 30
                <div class="left-pnl">
47 - 31
                    <img class="img-fluid upicture" src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>">
25 - 32
                    <h2><?php echo $userName; ?></h2>
33
                </div>
31 - 34
                <div class="right-pnl">
25 - 35
					<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
36
                    <form action="<?php echo BASE_URL; ?>userAccount.php" method="post">
36 - 37
                        <input type="hidden" name="sessionTab" value="<?php if (isset($_POST['sessionTab'])) echo $_POST['sessionTab']; ?>">
38
                   	    <input type="hidden" name="searchTerm" value="<?php if (isset($_POST['searchTerm'])) echo $_POST['searchTerm']; ?>">
39
                       	<input type="hidden" name="buyerZip" value="<?php if (isset($_POST['buyerZip'])) echo $_POST['buyerZip']; ?>">
25 - 40
						<?php if(!empty($userData['password'])){ ?>
41
                        <div class="frm-input">
42
							<input type="password" name="old_password" class="pass-in" placeholder="Current Password" required="">
43
						</div>
44
						<?php } ?>
45
                        <div class="frm-input">
46
							<input type="password" name="password" class="pass-in" placeholder="New Password" required="">
47
						</div>
48
                        <div class="frm-input">
49
							<input type="password" name="confirm_password" class="pass-in" placeholder="Confirm Password" required="">
50
						</div>
51
                        <div class="frm-btn">
52
                            <input type="submit" name="updatePassword" value="Update">
53
                        </div>
54
                    </form>
55
                </div>
56
            </div>
57
		</div>
58
	</div>
59
	<!--//main-->
60
 
61
	<!--footer-->
62
	<?php include_once 'elements/footer.php'; ?>
63
	<!--//footer-->
64
</div>
65
</body>
31 - 66
</html>