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

📄 searchdoctor.jsp

📁 基于java的医院门诊管理系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ 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>

		<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="client_left.jsp" flush="true" />
			  </td>
				<td width="75%" align="center" valign="top">
					<table width="100%" height="585" 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="left" valign="top" class="gray">导航:
                                          <%
								String display = (String) request.getAttribute("display");
								if(display!=null&&display.equals("y")){
									NavBar nb = (NavBar) session.getAttribute("navbar");
								%>
                                          <%=nb%>
                                          <%}else{%>
                                          <a href="/CRQS/client/searchdoctor.jsp" class="left">查找医生</a>
                                          <%}%></td>
									</tr>
									<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">
											<table width="90%" height="137" border="0" cellpadding="0" cellspacing="0">
												<tr>
													<td height="133" align="center" valign="middle">
														<form name="searchblock" method="post"
															action="/CRQS/client/QueryDoctor">
															<table width="66%" border="0" cellpadding="0" cellspacing="0">
																<tr>
																	<td width="100" height="25" align="left"
																		valign="middle" class="gray">
																		姓名</td>
																	<td width="247" align="left" valign="middle">
																		<label class="gray">
																			<%
																			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="25" align="left" valign="middle"
																		class="gray">
																		性别																	</td>
																	<td colspan="3" align="left" valign="middle">
																		<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="25" align="left" valign="middle"
																		class="gray">
																		职称																	</td>
																	<td colspan="3" align="left" valign="middle">
																		<label class="gray">
																			<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="25" align="left" valign="middle"
																		class="gray">
																		科室																	</td>
																	<td colspan="3" align="left" valign="middle">
																		<label class="gray">
																			<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>
																<tr>
																	<td height="25" align="left" valign="middle"
																		class="gray">
																		日期																	</td>
																	<td colspan="3" align="left" valign="middle">
																		<label class="gray">
																			<%
																				
																				Date d=new Date();
																				String sd = request.getParameter("date");
																				String cd = DateConvert.convert(d);
																				if(sd==null)sd=cd;
																			%>
																			<select name="date" id="date">
																				<option value="<%=cd%>"
																					>
																					<%=cd%>																				</option>
																				<%
																						for (int i = 0; i < 6; i++) {
																						DateConvert.tomorrow(d);
																						cd = DateConvert.convert(d);
																				%>
																				<option value="<%=cd%>"
																					>
																					<%=cd%>																				</option>
																				<%
																				}
																				%>

⌨️ 快捷键说明

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