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

📄 %%a0^a03^a035ffdc%%add_case.htm.php

📁 远程教育系统
💻 PHP
字号:
<?php /* Smarty version 2.6.12, created on 2007-01-16 15:31:04
         compiled from /web/ikang.com/telemed/tpls/admin/add_case.htm */ ?>
<!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>Add Case</title>
<link href="/tpls/css/main_style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="100%" border="0">
  <tr>
    <td colspan="5"><h2>Add Case </h2>
    <hr /></td>
  </tr>
  <tr>
    <td>Current User Name </td>
    <td colspan="4"><?php echo $this->_tpl_vars['user_name']; ?>
</td>
  </tr>
  <tr>
    <td colspan="5"><strong>Case List </strong></td>
  </tr>
  <tr>
    <td width="22%" height="19" bgcolor="#E8E8E8"><strong>Case Name</strong></td>
    <td width="42%" bgcolor="#E8E8E8"><strong>Assign Expert Name </strong></td>
    <td width="7%" bgcolor="#E8E8E8"><strong>Status</strong></td>
    <td width="14%" bgcolor="#E8E8E8"><strong>Create  Date </strong></td>
    <td width="15%" bgcolor="#E8E8E8">&nbsp;</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']):
?>
  <tr>
    <td><?php echo $this->_tpl_vars['caseItem']['case_name']; ?>
</td>
    <td><iframe src="adminpages.php?page=case_expert_list&case_id=<?php echo $this->_tpl_vars['caseItem']['case_id']; ?>
" width="100%" height="20" scrolling="no" frameborder="0"></iframe></td>
    <td><?php if ($this->_tpl_vars['caseItem']['STATUS'] == 1): ?>Enable<?php else: ?>Disible<?php endif; ?></td>
    <td><?php echo $this->_tpl_vars['caseItem']['create_date']; ?>
</td>
    <td align="center"><a href="?page=add_resource&amp;case_id=<?php echo $this->_tpl_vars['caseItem']['case_id']; ?>
&amp;user_id=<?php echo $_GET['user_id']; ?>
">AddRes</a> <a href="?page=edit_case&amp;caseid=<?php echo $this->_tpl_vars['caseItem']['case_id']; ?>
">Edit</a> <a href="?page=delete_case&amp;caseid=<?php echo $this->_tpl_vars['caseItem']['case_id']; ?>
" onClick="return confirm('Are you sure?')">Delete</a> </td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
  <?php endif; ?>
</table>
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <table width="100%" border="0">
    <tr>
      <td colspan="2"><strong>Add New Case </strong></td>
    </tr>
    <tr>
      <td width="22%">Case Name </td>
      <td width="78%"><input name="Case_name" type="text" size="40" /></td>
    </tr>
    <tr>
      <td>Case Memo: </td>
      <td><label>
        <textarea name="Case_memo" cols="80" rows="6" id="Case_memo"></textarea>
      </label></td>
    </tr>
    <tr>
      <td><p>Assign To Expert: </p>
      </td>
      <td><label>
        <select name="expert_id[]" size="9" multiple="multiple" id="expert_id[]">
          <?php $_from = $this->_tpl_vars['expertList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['expertItem']):
?>
          <option value="<?php echo $this->_tpl_vars['expertItem']['user_id']; ?>
"><?php echo $this->_tpl_vars['expertItem']['username']; ?>
</option><?php endforeach; endif; unset($_from); ?>         
        </select>
      </label></td>
    </tr>
    <tr>
      <td>Case  Status</td>
      <td><input name="Visible" type="radio" value="1" checked />Enable<input name="Visible" type="radio" value="0" />Disable</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;<label>
        <input type="submit" name="Submit" value=" Add Case " />
      </label></td>
    </tr>
  </table>
</form>
<p><a href='adminpages.php?page=admin_start'>&lt;&lt; Main page</a> <a href='adminpages.php?page=admin_logout'>Logout</a></p>
</body>
</html>

⌨️ 快捷键说明

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