103 |
- |
1 |
<?php echo showSectionHead($spTextPanel['Edit My Profile']); ?>
|
|
|
2 |
<?php if(!empty($msg)){ showSuccessMsg($msg, false);} ?>
|
|
|
3 |
<form id="updateUser">
|
|
|
4 |
<input type="hidden" name="sec" value="updatemyprofile"/>
|
|
|
5 |
<input type="hidden" name="oldName" value="<?php echo $post['oldName']?>"/>
|
|
|
6 |
<input type="hidden" name="id" value="<?php echo $post['id']?>"/>
|
|
|
7 |
<input type="hidden" name="oldEmail" value="<?php echo $post['oldEmail']?>"/>
|
|
|
8 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list">
|
|
|
9 |
<tr class="listHead">
|
|
|
10 |
<td class="left" width='30%'><?php echo $spTextPanel['Edit My Profile']?></td>
|
|
|
11 |
<td class="right"> </td>
|
|
|
12 |
</tr>
|
|
|
13 |
<tr class="white_row">
|
|
|
14 |
<td class="td_left_col"><?php echo $spText['login']['Username']?>:</td>
|
|
|
15 |
<td class="td_right_col"><input type="text" name="userName" value="<?php echo $post['userName']?>"><?php echo $errMsg['userName']?></td>
|
|
|
16 |
</tr>
|
|
|
17 |
<tr class="blue_row">
|
|
|
18 |
<td class="td_left_col"><?php echo $spText['login']['Password']?>:</td>
|
|
|
19 |
<td class="td_right_col"><input type="password" name="password" value=""><?php echo $errMsg['password']?></td>
|
|
|
20 |
</tr>
|
|
|
21 |
<tr class="white_row">
|
|
|
22 |
<td class="td_left_col"><?php echo $spText['login']['Confirm Password']?>:</td>
|
|
|
23 |
<td class="td_right_col"><input type="password" name="confirmPassword" value=""><?php echo $errMsg['confirmPassword']?></td>
|
|
|
24 |
</tr>
|
|
|
25 |
<tr class="blue_row">
|
|
|
26 |
<td class="td_left_col"><?php echo $spText['login']['First Name']?>:</td>
|
|
|
27 |
<td class="td_right_col"><input type="text" name="firstName" value="<?php echo $post['firstName']?>"><?php echo $errMsg['firstName']?></td>
|
|
|
28 |
</tr>
|
|
|
29 |
<tr class="white_row">
|
|
|
30 |
<td class="td_left_col"><?php echo $spText['login']['Last Name']?>:</td>
|
|
|
31 |
<td class="td_right_col"><input type="text" name="lastName" value="<?php echo $post['lastName']?>"><?php echo $errMsg['lastName']?></td>
|
|
|
32 |
</tr>
|
|
|
33 |
<tr class="blue_row">
|
|
|
34 |
<td class="td_left_col"><?php echo $spText['login']['Email']?>:</td>
|
|
|
35 |
<td class="td_right_col"><input type="text" name="email" value="<?php echo $post['email']?>"><?php echo $errMsg['email']?></td>
|
|
|
36 |
</tr>
|
|
|
37 |
<tr class="white_row">
|
|
|
38 |
<td class="tab_left_bot_noborder"></td>
|
|
|
39 |
<td class="tab_right_bot"></td>
|
|
|
40 |
</tr>
|
|
|
41 |
<tr class="listBot">
|
|
|
42 |
<td class="left" colspan="1"></td>
|
|
|
43 |
<td class="right"></td>
|
|
|
44 |
</tr>
|
|
|
45 |
</table>
|
|
|
46 |
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec">
|
|
|
47 |
<tr>
|
|
|
48 |
<td style="padding-top: 6px;text-align:right;">
|
|
|
49 |
<a onclick="scriptDoLoad('users.php?sec=my-profile', 'content', 'layout=ajax')" href="javascript:void(0);" class="actionbut">
|
|
|
50 |
<?php echo $spText['button']['Cancel']?>
|
|
|
51 |
</a>
|
|
|
52 |
<?php $actFun = SP_DEMO ? "alertDemoMsg()" : "confirmSubmit('users.php', 'updateUser', 'content')"; ?>
|
|
|
53 |
<a onclick="<?php echo $actFun?>" href="javascript:void(0);" class="actionbut">
|
|
|
54 |
<?php echo $spText['button']['Proceed']?>
|
|
|
55 |
</a>
|
|
|
56 |
</td>
|
|
|
57 |
</tr>
|
|
|
58 |
</table>
|
|
|
59 |
</form>
|