📄 bulletinmanagesearch.jsp
字号:
<%--
模块名称:律所公告
模块功能:公告查询
版 本:V1.0
著 作 人:蔡静
著作日期:2001-11-12
使用说明:
主要技术说明:
参考文献:法律事务设计书
修改历史:= = = = = = = = = = = = = = = = = = = = = = = = = =
修改日期:
修 改 人:
修改理由:
修改出处:
= = = = = = = = = = = = = = = = = = = = = = = = = =
--%>
<%@ page contentType= "text/html; charset=gb2312" %>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
<html>
<head>
<title>公告查询</title>
<%@ include file="../inc/config.jsp" %>
</head>
<body class="page">
<script language="javascript">
function checkForm() {
if ((document.form1.input_fromtime.value != "" ) && (document.form1.input_totime.value != "" )) {
if (document.form1.input_fromtime.value > document.form1.input_totime.value) {
alert("开始时间要小于结束时间!");
document.form1.input_fromtime.value = "";
document.form1.input_totime.value = "";
return false;
}
}
return true;
}
</script>
<!--显示工具条-->
<table width="98%" align="center" cellspacing="1">
<tr>
<td width="90%"><a href="BulletinManage.jsp"><img src="../images/all.gif" height="22" border="0"></a>
<a href="BulletinManageSearch.jsp"><img src="../images/query.gif" alt="查询内容" width="79" height="22" border="0"></a>
</td>
<td width="10%" align="right"><img src="../images/back.gif" width="50" height="22" onClick="window.history.back()" style="cursor:hand"></td>
</tr>
</table>
<table width="98%" background="../images/line.gif" border="0" cellspacing="0" cellpadding="0" height="12" align="center">
<tr>
<td> </td>
</tr>
</table>
<!--显示工具条结束-->
<form name="form1" method="post" action="BulletinManageSearchInfo.jsp">
<table width="98%" align="center" border="0" cellspacing="1" cellpadding="0" class="table_bg">
<tr>
<td height="24" width="152" align="right" class="title_bg"> 公告编号:</td>
<td height="24" width="596" class="tr_bg1">
<input name="bulletin_id" size="12" class="input">
</td>
</tr>
<tr>
<td align="right" height="28" width="152" class="title_bg"> 公告标题:</td>
<td height="28" width="596" class="tr_bg1">
<input name="bulletin_title" size="40" class="input">
</td>
</tr>
<tr>
<td align=right height=14 width=152 class="title_bg">录入人:</td>
<td height=14 width=596 class="tr_bg1">
<select name="input_person" class="select">
<option value=""></option>
<%
ResultSet rs = db.executeQuery("select employee_id, employee_name from t_employee");
while (rs.next()) {
%>
<option value=<%=rs.getString("employee_id")%>><%=rs.getString("employee_name")%></option>
<%}%>
</select>
</td>
</tr>
<tr>
<td align=right height=14 width=152 class="title_bg"> 录入时间:</td>
<td height=14 width=596 class="tr_bg1">
<input type="text" name="input_fromtime" maxlength="10" size="10" value="" class="input" readOnly>
<img src="../images/datetime.gif" border="0" align="absmiddle"
alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(input_fromtime);return false" width="16" height="16">
到
<input type="text" name="input_totime" maxlength="10" size="10" value="" class="input" readOnly>
<img src="../images/datetime.gif" border="0" align="absmiddle"
alt="弹出日历下拉菜单" onClick="fPopUpCalendarDlg(input_totime);return false" width="16" height="16">
</td>
</tr>
</table>
<br>
<div align="center">
<input type="submit" value="查询" name="query" class="button" onClick="return checkForm()">
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -