⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 %%a2^a23^a23d5809%%admin_list.htm.php

📁 远程教育系统
💻 PHP
字号:
<?php /* Smarty version 2.6.12, created on 2007-01-16 16:27:34
         compiled from /web/ikang.com/telemed/tpls/admin/admin_list.htm */ ?>
<link href="/tpls/css/main_style.css" rel="stylesheet" type="text/css" />
<table width="100%" border="0">
  <tr>
    <td width="100%"><h2>Admin List </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>
<table>
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['users']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<tr>
  <td><b>Username:</b> <?php echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['username']; ?>
</td>
  <td><b>Password:</b> <?php echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['PASSWORD']; ?>
</td>
  <td>
    <form action='adminhandle.php'>
    <input type='hidden' name='action' value='remove'>
    <input type='hidden' name='username' value='<?php echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['username']; ?>
'>
    <input type='hidden' name='password' value='<?php echo $this->_tpl_vars['users'][$this->_sections['i']['index']]['PASSWORD']; ?>
'>
    <input type='submit' value='Delete'>
    </form>
  </td>
</tr>
<?php endfor; endif; ?>
</table>

<form action='adminhandle.php'>
  <input type='hidden' name='action' value='store'>
  <input type='text' name='username'>
  <input type='password' name='password'>
  <input type='submit' value='add member'>
</form>

<a href='adminpages.php?page=admin_start'><< Main page</a>
<a href='adminpages.php?page=admin_logout'>Logout</a>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -