forked from Nandinics04/ms-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdateDetails.php
21 lines (19 loc) · 894 Bytes
/
updateDetails.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
include("includes/includedFiles.php");
?>
<div class="userDetails">
<div class="container borderBottom">
<h2>UPDATE EMAIL</h2>
<input type="text" class="email" name="email" placeholder="Email address..." value="<?php echo $userLoggedIn->getEmail(); ?>">
<span class="message"></span>
<button class="button" onclick="updateEmail('email')">SAVE</button>
</div>
<div class="container">
<h2>UPDATE PASSWORD</h2>
<input type="password" class="oldPassword" name="oldPassword" placeholder="Current password">
<input type="password" class="newPassword1" name="newPassword1" placeholder="New password">
<input type="password" class="newPassword2" name="newPassword2" placeholder="Confirm password">
<span class="message"></span>
<button class="button" onclick="updatePassword('oldPassword', 'newPassword1', 'newPassword2')">SAVE</button>
</div>
</div>