www.pudn.com > guahaolast2.zip > doctor.jsp, change:2015-05-06,size:10733b


<%@ page language="java" import="java.util.*" pageEncoding="gbk"%> 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%> 
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html> 
<head> 
<title>医院挂号网</title> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<link href="css/z_style.css" rel="stylesheet" type="text/css"> 
<script language="javascript" src="js/checkform.js"> 
</script> 
 
</head> 
 
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 
<iframe src="admin/top.jsp" frameborder="0" marginheight="0" marginwidth="0" width="63%" height="50" scrolling="no"></iframe> 
<table width="100%" border="1" cellpadding="1" cellspacing="1" class="yrh"> 
  <tr> 
    <td height="10"><font size="4">医生信息列表</font></td> 
  </tr> 
</table> 
<table width="770" border="1" cellpadding="1" cellspacing="1" class="main"> 
<tr valign="top"> 
<td> 
  <table width="100%" border="0" cellpadding="2" cellspacing="1" class="inputTable"> 
  
    <tr> 
 
      
            <td width="10%" align="center" class="inputHeader">姓名</td> 
            <td width="10%" align="center" class="inputHeader">科室</td> 
			<td width="10%" align="center" class="inputHeader">年龄</td> 
			<td width="10%" align="center" class="inputHeader">性别</td> 
			<td width="10%" align="center" class="inputHeader">特长</td> 
			<td width="10%" align="center" class="inputHeader">地址</td> 
			<td width="10%" align="center" class="inputHeader">头衔</td> 
			<td width="20%" align="center" class="inputHeader">联系方式</td> 
            <td width="10%" align="center" class="inputContent">操作</td>            
        </tr> 
        <c:forEach items="${list}" var="list"> 
        <tr> 
          
            <td width="10%" align="center" class="inputHeader">${list.name}</td> 
			<td width="10%" align="center" class="inputHeader">${list.type}</td> 
			<td width="10%" align="center" class="inputHeader">${list.age}</td> 
			<td width="10%" align="center" class="inputHeader">${list.sex}</td> 
			<td width="10%" align="center" class="inputHeader">${list.specialty}</td> 
			<td width="10%" align="center" class="inputHeader">${list.address}</td> 
			<td width="10%" align="center" class="inputHeader">${list.title}</td> 
        <td width="20%" align="center" class="inputHeader">${list.phone}</td> 
            <td width="10%" align="center" class="inputContent"><p><a href="DoctorAction?method=editDoctor&id=${list.id}"><img src="picture/edit.gif" alt="修改" width="45" height="17" border="0"></a>  <a href="DoctorAction?method=deleteDoctor&id=${list.id}" onClick="window.confirm('确定删除?')"><img src="picture/delete_item.gif" alt="删除" width="45" height="17" border="0"></a></p></td> 
             
        </tr> 
        </c:forEach>  
      </table> 
</td> 
    </tr> 
    <tr> 
      <td class="inputTitle"><font size="3" color="#CC0000">  添加医生信息</font></td> 
    </tr> 
    <tr> 
      <td> 
      <form action="DoctorAction?method=addDoctor" method="post" name="form1"  onSubmit="return teamform()"> 
        <table width="100%" border="0" cellpadding="1" cellspacing="1" class="inputbox"> 
          <tr> 
            <td width="4%" class="inputHeader"> </td> 
            <td width="11%" class="inputHeader">医生姓名:</td> 
            <td width="40%" class="inputContent"> 
              <input type="Text" class="text width100" name="name" onFocus="nextfield='password'" maxlength="25">            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr> 
    <tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr> 
 
 
<tr> 
            <td class="inputHeader"> </td> 
           <td width="11%" class="inputHeader">科室:</td> 
            <td width="40%" class="inputContent"> 
             <select name="type"> 
<option value="选择">- - - - 请选择一种科室- - - - </option> 
           <option>妇科</option> 
           <option>外科</option> 
           <option>内科</option> 
           <option>神经科</option> 
           <option>五官科</option> 
           <option>牙科</option> 
           <option>整形科</option> 
</select> 
            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr>	 
           <tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr> 
           
          <tr> 
            <td class="inputHeader"> </td> 
           <td width="11%" class="inputHeader">性别:</td> 
            <td width="40%" class="inputContent"> 
             <select name="sex"> 
<option value="选择">- - - - - - - - </option> 
           <option>男</option> 
           <option>女</option> 
          > 
</select> 
            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr>	 
           
           <tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr> 
           
           <tr> 
            <td class="inputHeader"> </td> 
           <td width="11%" class="inputHeader">头衔:</td> 
            <td width="40%" class="inputContent"> 
             <select name="title"> 
<option value="选择">- - - - - - - - </option> 
           <option>医生</option> 
           <option>主任医生</option> 
           <option>专家</option> 
          > 
</select> 
            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr>	 
           <tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr> 
           
           
<tr> 
<tr> 
 
 
 
 
            <td width="4%" class="inputHeader"> </td> 
            <td width="11%" class="inputHeader">联系方式:</td> 
            <td width="40%" class="inputContent"> 
              <input type="Text" class="text width100" name="phone" onFocus="nextfield='password'" maxlength="25">            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr> 
           
<tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr> 
          
<tr> 
            <td width="4%" class="inputHeader"> </td> 
            <td width="11%" class="inputHeader">地址:</td> 
            <td width="40%" class="inputContent"> 
              <input type="Text" class="text width100" name="address" onFocus="nextfield='password'" maxlength="25">            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr> 
           
<tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr> 
  <tr> 
            <td width="4%" class="inputHeader"> </td> 
            <td width="11%" class="inputHeader">特长:</td> 
            <td width="40%" class="inputContent"> 
              <input type="Text" class="text width100" name="specialty" onFocus="nextfield='password'" maxlength="25">            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr> 
           
<tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr>                   
 <tr> 
            <td width="4%" class="inputHeader"> </td> 
            <td width="11%" class="inputHeader">年龄:</td> 
            <td width="40%" class="inputContent"> 
              <input type="Text" class="text width100" name="age" onFocus="nextfield='password'" maxlength="25">            </td> 
            <td width="45%" class="inputContent"> <font color="#CC0000"></font></td> 
          </tr> 
           
<tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr>            
           
 
          <tr> 
            <td class="inputHeader"> </td> 
            <td class="inputHeader">医生简介:</td> 
            <td class="inputContent"> 
              <textarea name="introduction" rows="6" cols="50"></textarea>           </td> 
            <td class="inputContent"> </td> 
          </tr> 
      <tr> 
            <td class="inputHeader"> </td> 
            
            <td class="inputContent"> </td> 
          </tr> 
            
 
    
 <tr> 
            <td class="inputHeader"> </td> 
            <td class="inputHeader"> </td> 
            <td class="inputContent"> </td> 
            <td class="inputContent"> </td> 
          </tr> 
          <tr> 
           <td width="4%" class="inputHeader"> </td> 
            <td width="11%" class="inputHeader"> </td> 
            <td width="40%" class="inputContent"> 
            <input type="submit" class="bt2" name="button2" value="添加">     
                     
            <input type="Reset" class="bt2" name="button1" value="重填" onClick="clear()"> </td> 
            <td width="45%" class="inputContent"> </td> 
          
         </tr> 
          <tr> 
            <td class="inputHeader"> </td> 
            <td class="inputHeader"> </td> 
            <td class="inputContent"> </td> 
            <td class="inputContent"> </td> 
          </tr> 
		   <tr> 
            <td class="inputHeader"> </td> 
             
            <td class="inputHeader"> </td>             
            <td class="inputContent"> </td> 
             
            <td class="inputContent"> </td> 
          </tr> 
           
        </table> 
        </form> 
        <table width="100%" border="0" cellspacing="1" cellpadding="0"> 
          <tr> 
            <td width="4%" class="inputContent"> </td> 
            <td width="17%" class="inputHeader"> </td> 
            <td width="39%" class="inputContent"> 
         </td> 
            <td width="40%" class="inputContent"> </td> 
          </tr> 
        </table></td> 
    </tr> 
  </table> 
 
 
<table width="770" border="0" cellpadding="0" cellspacing="0" class="main"> 
<tr valign="top"> 
<td>  
</td> 
</tr> 
</table> 
</body> 
</html>