126 lines
4.1 KiB
HTML
126 lines
4.1 KiB
HTML
![]() |
|
||
|
{if $data.username neq ""}
|
||
|
<div class="setting_title">Edit Member</div>
|
||
|
<form action="" method="post" name="Edit Member" id="Edit Member">
|
||
|
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="2">
|
||
|
<tr>
|
||
|
<td height="20" colspan="2" align="right" bgcolor="#3399FF" class="pagination"><a href="members.php">« Back</a></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2" class="tr_head">Account Information</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width="20%" class="td_body">Username*</td>
|
||
|
<td width="80%" class="td_body"><label>
|
||
|
{$data.username}</label></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Email*</td>
|
||
|
<td class="td_body"><input name="email" type="text" id="email" value="{$data.email}" size="45" /><input name="email_inuse" type="hidden" value="{$data.email}"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Change Password </td>
|
||
|
<td class="td_body"><label>
|
||
|
<input name="pwrd" type="text" id="pwrd" />
|
||
|
<a href="#" onmouseover="fixedtooltip2('To Change User Password, Enter The New Password in this and Confirm Password Field or Leave it Blank if you dont want to change it', this, event, '0px')" onmouseout="delayhidetip()"><img src="{$imageurl}/question_mark.png" width="13" height="14" border="0"/></a>
|
||
|
</label></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Confirm Password </td>
|
||
|
<td class="td_body"><input name="cpwrd" type="text" id="cpwrd" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body"> </td>
|
||
|
<td class="td_body"> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">User Access Level</td>
|
||
|
<td class="td_body"><label>
|
||
|
<select name="level" id="level">
|
||
|
<option value="User"
|
||
|
{if $data.level == User}
|
||
|
selected="selected"
|
||
|
{/if}
|
||
|
>User</option>
|
||
|
<option value="Admin" {if $data.level == Admin}
|
||
|
selected="selected"
|
||
|
{/if}>Admin</option>
|
||
|
</select>
|
||
|
</label></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2" class="tr_head">Personal Information</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">First Name*</td>
|
||
|
<td class="td_body"><input name="fname" type="text" id="fname" value="{$data.first_name}" size="45" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Last Name*</td>
|
||
|
<td class="td_body"><input name="lname" type="text" id="lname" value="{$data.last_name}" size="45" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Gender</td>
|
||
|
<td class="td_body"><p>
|
||
|
<label>
|
||
|
<input name="gender" type="radio" id="gender_0" value="Male"
|
||
|
{if $data.sex == male}
|
||
|
checked="checked"
|
||
|
{/if}
|
||
|
/>
|
||
|
Male</label>
|
||
|
<label>
|
||
|
<input type="radio" name="gender" value="Female" id="gender_1" {if $data.sex == female}
|
||
|
checked="checked"
|
||
|
{/if}
|
||
|
/>
|
||
|
Female</label>
|
||
|
<br />
|
||
|
<label></label>
|
||
|
</p></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2" class="tr_head">Location Information</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Hometown</td>
|
||
|
<td class="td_body"><input name="hometown" type="text" id="hometown" value="{$data.hometown}" size="45" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">City</td>
|
||
|
<td class="td_body"><input name="city" type="text" id="city" value="{$data.city}" size="45" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Country</td>
|
||
|
<td class="td_body"><label>
|
||
|
<select name="country" id="country">
|
||
|
|
||
|
{foreach from=$country key=ccode item=cname}
|
||
|
|
||
|
<option value="{$cname}"
|
||
|
{if $data.country == $cname}
|
||
|
selected="selected"
|
||
|
{/if}
|
||
|
>{$cname}</option>
|
||
|
|
||
|
{/foreach}
|
||
|
|
||
|
|
||
|
</select>
|
||
|
</label></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body">Postal Code</td>
|
||
|
<td class="td_body"><input name="zip" type="text" id="zip" value="{$data.zip}" size="45" /></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="td_body"> </td>
|
||
|
<td class="td_body"> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="2" align="right" class="tr_head"><label>
|
||
|
<input type="submit" name="button" id="button" value="Update" />
|
||
|
</label></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>{/if}
|