📄 searchdoctors.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" import="java.util.*"
language="java"%>
<jsp:directive.page import="crqs.infobeans.*" />
<jsp:directive.page import="crqs.dboperation.*" />
<jsp:directive.page import="crqs.util.*" />
<jsp:directive.page import="java.sql.SQLException" />
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CRQS--管理员页面</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<link href="/CRQS/img/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<Script language="JavaScript">
function check(){
var cs = document.todelete.getElementsByTagName("input");
var result = false;
for(var i=0;i<cs.length;i++)
{
if(cs[i].type.toLowerCase() == "checkbox" && cs[i].checked)
{
result = true;
break;
}
}
if(result)
{
return true;
}
else
{
alert("请选择要删除的医生!");
return false;
}
}
</script>
<table width="800" height="841" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="206" colspan="2" align="center"><jsp:include page="../head.jsp" flush="true" /></td>
</tr>
<tr>
<td width="25%" height="550" valign="top"><jsp:include page="admin_left.jsp" flush="true" /></td>
<td width="75%" align="center" valign="top">
<table width="100%" height="560" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="139" align="center" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top">
<table width="94%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="55">
<img src="/CRQS/img/leaf.gif" alt="leaf" width="60"
height="40"> </td>
<td width="86" align="center" valign="middle"
class="cyan_big">
模糊查找
</td>
<td width="287">
<img src="/CRQS/img/bar.gif" alt="bar" width="380"
height="40"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top"><form name="searchblock" method="post"
action="/CRQS/admin/SearchDoctors">
<table width="66%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100" height="30" align="center"
valign="middle" class="gray"> 姓名 </td>
<td width="247"><label>
<%
String name = request.getParameter("name");
%>
<input name="name" type="text" class="youyuan"
value="<%=(name == null) ? "" : StringConvert.convert(name)%>"
id="name">
</label>
</td>
<td width="90" align="center" valign="middle"><table width="54" height="26" border="0" background="/CRQS/img/search_button.gif"
onClick="javascript:document.searchblock.submit()">
<tr>
<td width="50" height="23" align="center"
valign="middle"
background="img/search_button.gif"
class="white_big"> 搜索 </td>
</tr>
</table></td>
<td width="42" align="center" valign="middle"></td>
</tr>
<tr>
<td height="30" align="center" valign="middle"
class="gray"> 性别 </td>
<td colspan="3"><label></label>
<table width="60%" border="0">
<tr>
<td><label>
<%
String gender = request.getParameter("gender");
%>
<input name="gender" type="radio" value="m"
<%=(gender == null || gender.equals("m")) ? "checked"
: ""%>>
<span class="gray">男 </span> </label>
</td>
<td><label>
<input type="radio" name="gender" value="f"
<%=(gender != null && gender.equals("f")) ? "checked"
: ""%>>
</label>
<span class="gray">女</span> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" align="center" valign="middle"
class="gray"> 职称 </td>
<td colspan="3"><label>
<select name="title" class="gray" id="title">
<option value="0"> 全部 </option>
<%
ArrayList titles = null;
String title = request.getParameter("title");
try {
titles = Title.getTitles();
} catch (SQLException e) {
}
for (int i = 0; i < titles.size(); i++) {
TitleInfo ti = (TitleInfo) titles.get(i);
%>
<option
<%=(title != null && title.equals(""
+ ti.getTitleID())) ? "selected='selected'"
: ""%>
value="<%=ti.getTitleID()%>"> <%=ti.getTitle()%> </option>
<%
}
%>
</select>
</label>
</td>
</tr>
<tr>
<td height="30" align="center" valign="middle"
class="gray"> 科室 </td>
<td colspan="3"><label>
<select name="secID" class="gray" id="select2">
<option value="0"> 全部 </option>
<%
ArrayList sections = null;
String section = request.getParameter("secID");
try {
sections = Section.getSections();
} catch (SQLException e) {
}
for (int i = 0; i < sections.size(); i++) {
SectionInfo si = (SectionInfo) sections.get(i);
%>
<option
<%=(section != null && section.equals(""
+ si.getSectionID())) ? "selected='selected'"
: ""%>
value="<%=si.getSectionID()%>"> <%=si.getSectionName()%> </option>
<%
}
%>
</select>
</label>
</td>
</tr>
</table>
</form></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="346" align="center" valign="top">
<%
String display = (String) request.getAttribute("display");
if (display != null && display.equals("y")) {
%>
<table width="100%" height="308" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="48" align="center">
<table width="91%" border="0" cellpadding="0" cellspacing="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -