| Line 20... |
Line 20... |
| 20 |
<!--head-->
|
20 |
<!--head-->
|
| 21 |
<?php include_once 'elements/head.php'; ?>
|
21 |
<?php include_once 'elements/head.php'; ?>
|
| 22 |
<!--//head-->
|
22 |
<!--//head-->
|
| 23 |
</head>
|
23 |
</head>
|
| 24 |
<body>
|
24 |
<body>
|
| 25 |
<div class="container-fluid">
|
25 |
<div class="main">
|
| 26 |
|
26 |
|
| 27 |
<!--header-->
|
27 |
<!--header-->
|
| 28 |
<?php include_once 'elements/header.php'; ?>
|
28 |
<?php include_once 'elements/header.php'; ?>
|
| 29 |
<!--//header-->
|
29 |
<!--//header-->
|
| 30 |
|
30 |
|
| 31 |
<!--main-->
|
31 |
<!--main-->
|
| 32 |
<div class="main-content">
|
32 |
<div class="main-content">
|
| 33 |
<div class="wrapper-frm">
|
33 |
<div class="wrapper-frm">
|
| 34 |
<div class="head-menu">
|
34 |
<div class="head-menu">
|
| 35 |
<div class="menu-tle">
|
35 |
<div class="menu-tle">
|
| 36 |
<h2>Update Account</h2>
|
36 |
<h2>Edit Account</h2>
|
| 37 |
</div>
|
37 |
</div>
|
| 38 |
</div>
|
38 |
</div>
|
| 39 |
<div class="ucontent">
|
39 |
<div class="ucontent">
|
| 40 |
<div class="left-pnl">
|
40 |
<div class="left-pnl">
|
| 41 |
<img src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>">
|
41 |
<img class="img-fluid" style="max-width:90px" src="<?php echo $userPicture; ?>" alt="<?php echo $userName; ?>">
|
| 42 |
<h2><?php echo $userName; ?></h2>
|
42 |
<h2><?php echo $userName; ?></h2>
|
| 43 |
</div>
|
43 |
</div>
|
| 44 |
<div class="right-pnl">
|
44 |
<div class="right-pnl">
|
| 45 |
<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
|
45 |
<?php echo !empty($statusMsg)?'<p class="status-msg '.$statusMsgType.'">'.$statusMsg.'</p>':''; ?>
|
| 46 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post" enctype="multipart/form-data">
|
46 |
<form action="<?php echo BASE_URL; ?>userAccount.php" method="post" enctype="multipart/form-data">
|
| 47 |
<input type="hidden" name="sessionTab" value="<?php if (isset($_POST['sessionTab'])) echo $_POST['sessionTab']; ?>">
|
47 |
<input type="hidden" name="sessionTab" value="<?php if (isset($_POST['sessionTab'])) echo $_POST['sessionTab']; ?>">
|
| 48 |
<input type="hidden" name="searchTerm" value="<?php if (isset($_POST['searchTerm'])) echo $_POST['searchTerm']; ?>">
|
48 |
<input type="hidden" name="searchTerm" value="<?php if (isset($_POST['searchTerm'])) echo $_POST['searchTerm']; ?>">
|
| 49 |
<input type="hidden" name="buyerZip" value="<?php if (isset($_POST['buyerZip'])) echo $_POST['buyerZip']; ?>">
|
49 |
<input type="hidden" name="buyerZip" value="<?php if (isset($_POST['buyerZip'])) echo $_POST['buyerZip']; ?>">
|
| 50 |
<div class="frm-input">
|
50 |
<div class="frm-input">
|
| 51 |
<input type="file" name="picture" class="file-in" placeholder="Choose Image File">
|
51 |
<input type="file" name="picture" class="file-in">
|
| 52 |
</div>
|
52 |
</div>
|
| 53 |
<div class="frm-input <?php echo !empty($fieldError['first_name'])?'error':''; ?>">
|
53 |
<div class="frm-input <?php echo !empty($fieldError['first_name'])?'error':''; ?>">
|
| 54 |
<input type="text" name="first_name" class="user-in" placeholder="First name" value="<?php echo !empty($userData['first_name'])?$userData['first_name']:''; ?>" required="">
|
54 |
<input type="text" name="first_name" class="user-in" placeholder="First name" value="<?php echo !empty($userData['first_name'])?$userData['first_name']:''; ?>" required="">
|
| 55 |
<?php echo !empty($fieldError['first_name'])?'<p>'.$fieldError['first_name'].'</p>':''; ?>
|
55 |
<?php echo !empty($fieldError['first_name'])?'<p>'.$fieldError['first_name'].'</p>':''; ?>
|
| 56 |
</div>
|
56 |
</div>
|
| 57 |
<div class="frm-input <?php echo !empty($fieldError['last_name'])?'error':''; ?>"">
|
57 |
<div class="frm-input <?php echo !empty($fieldError['last_name'])?'error':''; ?>">
|
| 58 |
<input type="text" name="last_name" class="user-in" placeholder="Last name" value="<?php echo !empty($userData['last_name'])?$userData['last_name']:''; ?>">
|
58 |
<input type="text" name="last_name" class="user-in" placeholder="Last name" value="<?php echo !empty($userData['last_name'])?$userData['last_name']:''; ?>">
|
| 59 |
<?php echo !empty($fieldError['last_name'])?'<p>'.$fieldError['last_name'].'</p>':''; ?>
|
59 |
<?php echo !empty($fieldError['last_name'])?'<p>'.$fieldError['last_name'].'</p>':''; ?>
|
| 60 |
</div>
|
60 |
</div>
|
| 61 |
<div class="frm-input <?php echo !empty($sessData['field_error']['email'])?'error':''; ?>"">
|
61 |
<div class="frm-input <?php echo !empty($sessData['field_error']['email'])?'error':''; ?>">
|
| 62 |
<input type="email" name="email" class="email-in" placeholder="Email" value="<?php echo !empty($userData['email'])?$userData['email']:''; ?>" required="">
|
62 |
<input type="email" name="email" class="email-in" placeholder="Email" value="<?php echo !empty($userData['email'])?$userData['email']:''; ?>" required="">
|
| 63 |
<?php echo !empty($fieldError['email'])?'<p>'.$fieldError['email'].'</p>':''; ?>
|
63 |
<?php echo !empty($fieldError['email'])?'<p>'.$fieldError['email'].'</p>':''; ?>
|
| 64 |
</div>
|
64 |
</div>
|
| 65 |
<div class="frm-input">
|
65 |
<div class="frm-input">
|
| 66 |
<input type="text" name="zip" class="addr-in" placeholder="Zip" value="<?php echo !empty($userData['zip'])?$userData['zip']:''; ?>">
|
66 |
<input type="text" name="zip" class="addr-in" placeholder="Zip" value="<?php echo !empty($userData['zip'])?$userData['zip']:''; ?>">
|