1 | <?php $fv->printErrorMessages(); ?> |
---|
2 | |
---|
3 | <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> |
---|
4 | <?php App::printHiddenSession(); ?> |
---|
5 | <input type="hidden" name="op" value="<?php echo $frm['new_op']; ?>"> |
---|
6 | <input type="hidden" name="admin_id" value="<?php echo $frm['admin_id']; ?>"> |
---|
7 | <input type="hidden" name="old_username" value="<?php echo $frm['old_username']; ?>"> |
---|
8 | |
---|
9 | <table> |
---|
10 | <tr> |
---|
11 | <td> </td> |
---|
12 | <td valign="top"><?php printSubmitButtons($frm['submit_buttons']); ?></td> |
---|
13 | </tr> |
---|
14 | <tr> |
---|
15 | <td class="formlabel" align="right" valign="top"<?php $fv->err('username', ' class="error"') ?>><?php echo _("Username"); ?></td> |
---|
16 | <td valign="top"> |
---|
17 | <input type="text" class="forminputtext" size="50" name="username" value="<?php echo oTxt($frm['username']); ?>"> |
---|
18 | </td> |
---|
19 | </tr> |
---|
20 | <tr> |
---|
21 | <td class="formlabel" align="right" valign="top"<?php $fv->err('userpass', ' class="error"') ?>><?php echo _("Password"); ?></td> |
---|
22 | <td valign="top"> |
---|
23 | <input type="password" class="forminputtext" size="50" name="userpass" value="<?php echo oTxt($frm['userpass']); ?>"> |
---|
24 | </td> |
---|
25 | </tr> |
---|
26 | <tr> |
---|
27 | <td class="formlabel" align="right" valign="top"<?php $fv->err('first_name', ' class="error"') ?>><?php echo _("First name"); ?></td> |
---|
28 | <td valign="top"> |
---|
29 | <input type="text" class="forminputtext" size="50" name="first_name" value="<?php echo oTxt($frm['first_name']); ?>"> |
---|
30 | </td> |
---|
31 | </tr> |
---|
32 | <tr> |
---|
33 | <td class="formlabel" align="right" valign="top"<?php $fv->err('last_name', ' class="error"') ?>><?php echo _("Last name"); ?></td> |
---|
34 | <td valign="top"> |
---|
35 | <input type="text" class="forminputtext" size="50" name="last_name" value="<?php echo oTxt($frm['last_name']); ?>"> |
---|
36 | </td> |
---|
37 | </tr> |
---|
38 | <tr> |
---|
39 | <td class="formlabel" align="right" valign="top"<?php $fv->err('email', ' class="error"') ?>><?php echo _("Email"); ?></td> |
---|
40 | <td valign="top"> |
---|
41 | <input type="text" class="forminputtext" size="50" name="email" value="<?php echo oTxt($frm['email']); ?>"> |
---|
42 | </td> |
---|
43 | </tr> |
---|
44 | <tr> |
---|
45 | <td class="formlabel" align="right" valign="top"<?php $fv->err('user_type', ' class="error"') ?>><?php echo _("User type"); ?></td> |
---|
46 | <td valign="top"> |
---|
47 | <select name="user_type"> |
---|
48 | <?php printSetSelectForm('admin_tbl', 'user_type', $frm['user_type'], true); ?> |
---|
49 | </select> |
---|
50 | </td> |
---|
51 | </tr> |
---|
52 | <tr> |
---|
53 | <td> </td> |
---|
54 | <td valign="top"><?php printSubmitButtons($frm['submit_buttons']); ?></td> |
---|
55 | </tr> |
---|
56 | </table> |
---|
57 | </form> |
---|