📄 %%c2^c2c^c2c3ba77%%user_edit.htm.php
字号:
<?php /* Smarty version 2.6.12, created on 2007-01-16 15:29:08
compiled from /web/ikang.com/telemed/tpls/admin/user_edit.htm */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', '/web/ikang.com/telemed/tpls/admin/user_edit.htm', 61, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Edit User</title>
<link href="/tpl/css/main_style.css" rel="stylesheet" type="text/css" />
<link href="/tpls/css/main_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0">
<tr>
<td width="100%"><h2>Edit User </h2>
<hr /></td>
</tr>
<?php if (count ( $this->_tpl_vars['caseList'] ) > 0): ?>
<?php $_from = $this->_tpl_vars['caseList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['caseItem']):
?>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
</table>
<form id="form2" name="form2" method="post" action="">
<table width="80%" border="0" cellpadding="3">
<tr>
<?php $_from = $this->_tpl_vars['account_info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['act']):
?>
<td><input name="user_id" type="hidden" value="<?php echo $this->_tpl_vars['act']['user_id']; ?>
" />
<input name="pro_count" type="hidden" id="pro_count" value="<?php echo $this->_tpl_vars['pro_count']; ?>
" />
Account Type: </td>
<td><?php if ($this->_tpl_vars['act']['user_type'] == 'u'): ?>user<?php else: ?>doctor<?php endif; ?></td>
</tr>
<tr>
<td width="23%">Account Name: </td>
<td width="77%"><label>
<input name="UserName" type="text" id="UserName" value="<?php echo $this->_tpl_vars['act']['username']; ?>
" disabled="disabled" />
</label></td>
</tr>
<tr>
<td>Password:</td>
<td><label>
<input name="Password" type="text" id="Password" value="<?php echo $this->_tpl_vars['act']['PASSWORD']; ?>
" />
</label></td>
</tr>
<tr>
<td>Current Status :</td>
<td><label>
<input name="Status" type="radio" value="1" <?php if ($this->_tpl_vars['act']['STATUS'] == '1'): ?>checked="checked"<?php endif; ?> />
</label>
<strong>Enable</strong>
<label>
<input type="radio" name="Status" value="0" <?php if ($this->_tpl_vars['act']['STATUS'] == '0'): ?>checked="checked"<?php endif; ?> />
Disable</label></td>
<?php endforeach; endif; unset($_from); ?>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<?php if (count ( $this->_tpl_vars['profile_info'] ) != 0): ?>
<?php $_from = $this->_tpl_vars['profile_info']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['pro']):
?>
<tr>
<td>True Name </td>
<td><label>
<input name="TrueName" type="text" id="TrueName" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['pro']['name'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
" />
</label></td>
</tr>
<tr>
<td>Gender:</td>
<td><label>
<input name="Gender" type="radio" value="1" <?php if ($this->_tpl_vars['pro']['gender'] == 1): ?>checked="checked"<?php endif; ?> />
Male
<input type="radio" name="Gender" value="0" <?php if ($this->_tpl_vars['pro']['gender'] == 0): ?>checked="checked"<?php endif; ?>/>
Famale
</label></td>
</tr>
<tr>
<td>City:</td>
<td><label>
<input name="City" type="text" id="City" value="<?php echo $this->_tpl_vars['pro']['city']; ?>
" />
</label></td>
</tr>
<tr>
<td>Address:</td>
<td><label>
<input name="Address" type="text" id="Address" value="<?php echo $this->_tpl_vars['pro']['address']; ?>
" />
</label></td>
</tr>
<tr>
<td valign="top">History:</td>
<td><textarea name="History" cols="60" rows="6" id="History"><?php echo ((is_array($_tmp=$this->_tpl_vars['pro']['history'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</textarea></td>
</tr>
<tr>
<td valign="top">Other Memo:</td>
<td><label>
<textarea name="Memo" cols="60" rows="6" id="Memo"><?php echo ((is_array($_tmp=$this->_tpl_vars['pro']['memo'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</textarea>
</label></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
<?php else: ?>
<tr>
<td>True Name </td>
<td><label>
<input name="TrueName" type="text" id="TrueName"/>
</label></td>
</tr>
<tr>
<td>Gender:</td>
<td><label>
<input name="Gender" type="radio" value="1" />
Male
<input type="radio" name="Gender" value="0" />
Famale
</label></td>
</tr>
<tr>
<td>City:</td>
<td><label>
<input name="City" type="text" id="City" />
</label></td>
</tr>
<tr>
<td>Address:</td>
<td><label>
<input name="Address" type="text" id="Address" />
</label></td>
</tr>
<tr>
<td valign="top">History:</td>
<td><textarea name="History" cols="60" rows="6" id="History"></textarea></td>
</tr>
<tr>
<td valign="top">Other Memo:</td>
<td><label>
<textarea name="Memo" cols="60" rows="6" id="Memo"></textarea>
</label></td>
</tr>
<?php endif; ?>
<tr align="center">
<td height="33" colspan="2"><label>
<input type="submit" name="Submit" value=" Update " />
<input type="button" name="Submit2" value=" Reset " onClick="javascript:location.href='adminpages.php?page=case_list'" />
</label></td>
</tr>
</table>
<p><a href='adminpages.php?page=admin_start'><< Main page</a> <a href='adminpages.php?page=admin_logout'>Logout</a></p>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -