Location: PHPKode > projects > GiftOrder > admin/templates/user_form.php
<form name="entryform" method="post" action="<?=$ME?>">
<input type="hidden" name="mode" value="<?=$frm["newmode"]?>">
<table>
<tr>
	<td class=label>Username:</td>
	<? if ($frm["username"] == "") { ?>
		<td><input type="text" name="username" size=25 value="<? pv($frm["username"]) ?>"></td>
	<? } else { ?>
		<input type="hidden" name="username" value="<? pv($frm["username"]) ?>">
		<td class=normal><? pv($frm["username"]) ?></td>
	<? } ?>
</tr>
<tr>
	<td class=label>Privilege:</td>
	<td><input type="text" name="priv" size=5 value="<? pv($frm["priv"]) ?>"></td>
</tr>
<tr>
	<td class=label>Firstname:</td>
	<td><input type="text" name="firstname" size=25 value="<? pv($frm["firstname"]) ?>"></td>
</tr>
<tr>
	<td class=label>Lastname:</td>
	<td><input type="text" name="lastname" size=25 value="<? pv($frm["lastname"]) ?>"></td>
</tr>
<tr>
	<td class=label>Email:</td>
	<td><input type="text" name="email" size=25 value="<? pv($frm["email"]) ?>"></td>
</tr>
<tr>
	<td class=label>Phone:</td>
	<td><input type="text" name="phone" size=25 value="<? pv($frm["phone"]) ?>"></td>
</tr>
<tr valign=top>
	<td class=label>Address:</td>
	<td><textarea name="address" cols=50 rows=5><? pv($frm["address"]) ?></textarea></td>
</tr>
<tr>
	<td></td>
	<td><input type="submit" value="<?=$frm["submit_caption"] ?>"></td>
</tr>
</table>
</form>
Return current item: GiftOrder