信息管理页面

<%@pagelanguage="java"import="java.util.*"contentType="text/html;charset=GBK"pageEncoding="GBK"isELIgnored="false"%>

<%@taglibprefix="c"uri="http://java.sun.com/jsp/jstl/core"%>

<%@pageimport="com.bjjdsy.demo.entity.User"%>

<%

Stringpath=request.getContextPath();

StringbasePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>

<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN">

<html>

<head>

<linktype="text/css"rel="stylesheet"href="./js/calendar.css">

<scripttype="text/javascript"src="./js/calendar.js"></script>

<scripttype="text/javascript"src="./js/calendar-zh.js"></script>

<scripttype="text/javascript"src="./js/calendar-setup.js"></script>

<scripttype="text/javascript"src="./js/check.js"></script>

<scripttype="text/javascript"src="./js/jquery-1.4.3.js"></script>

<basehref="<%=basePath%>">

<title>搜索页面</title>

<scripttype="text/javascript"src="./js/search.js"></script>

</head>

<body>

<divstyle="border:1pxsolid#398643;background-color:#f4f4f4;">

<divstyle="padding-left:380px;padding-top:40px;color:red;font-size:35"><imgsrc="./js/images/word.jpg"/></div>

<formname="f1"action="./search.do"method="post">

<divstyle="padding-left:120px">

<tableborder="1"width="80%"cellpadding="0"cellspacing="0">

<tr>

<td>姓名</td>

<td><inputname="name"></td>

<td>性别</td>

<td><selectname="sex">

<option>请选择</option>

<optionvalue="男">男</option>

<optionvalue="女">女</option>

</select></td>

<td>出现日期</td>

<td>从<inputtype="text"id="EntTime1"name="EntTime1"onclick="returnshowCalendar('EntTime1','y-mm-dd');"/>

<inputtype="button"style="background:url(./js/images/calendar1.jpg)"onclick="returnshowCalendar('EntTime1','y-mm-dd');">

到<inputtype="text"id="EntTime2"name="EntTime2"onclick="returnshowCalendar('EntTime2','y-mm-dd');"/>

<inputtype="button"style="background:url(./js/images/calendar1.jpg)"onclick="returnshowCalendar('EntTime2','y-mm-dd');">

</td>

</tr>

<tr>

<td>证件类型</td>

<td><selectname="idType">

<optionname="idType">

请选择

</option>

<optionvalue="身份证"name="idType">

身份证

</option>

<optionvalue="军官证"name="idType">

军官证

</option>

<optionvalue="护照"name="idType">

护照

</option>

<optionvalue="其他"name="idType">

其他

</option>

</select></td>

<td>证件号码</td>

<td><inputname="idNo"></td>

<td>创建日期</td>

<td>从<inputtype="text"id="EntTime3"name="EntTime3"onclick="returnshowCalendar('EntTime3','y-mm-dd');"/>

<inputtype="button"style="background:url(./js/images/calendar1.jpg)"onclick="returnshowCalendar('EntTime3','y-mm-dd');">

到<inputtype="text"id="EntTime4"name="EntTime4"onclick="returnshowCalendar('EntTime4','y-mm-dd');"/>

<inputtype="button"style="background:url(./js/images/calendar1.jpg)"onclick="returnshowCalendar('EntTime4','y-mm-dd');">

</td>

</tr>

</table>

</div>

<divstyle="padding-left:750px">

每页显示<inputname="pageNum">项

<inputtype="submit"value="查询">

<inputtype="reset"value="清空">

</div>

</form>

<formaction=""name="formname"method="post">

<divstyle="background-color:#f4f4f4;width:80%;padding-left:120px">

<span></span>

<inputtype="submit"style="border:none"name="update"value="修改"onclick="go('./toUpdate.do')">

<inputtype="submit"style="border:none"name="delete"value="删除"onclick="go('./delete.do')">

<inputtype="submit"style="border:none"name="total"value="统计报表"onclick="go('./getExcel.do')">

</div>

<divstyle="padding-left:120px">

<tableborder="1"width="80%"cellpadding="0"cellspacing="0"style="background-color:#f4f4f4">

<thead>

<tr>

<td>序号</td>

<td><inputtype="checkbox"value="全选"onclick="selectAll()"></td>

<td>&nbsp;</td>

<td>姓名</td>

<td>性别</td>

<td>出生日期</td>

<td>证据类型</td>

<td>证据号码</td>

<td>创建日期</td>

</tr>

</thead>

<tbody>

<%

inti=1;

%>

<c:forEachvar="user"items="${users}"varStatus="status">

<tr>

<td><%=i++%></td>

<td><inputtype="checkbox"name="checkname"value=${user.id}>

</td>

<tdalign="center"s><spanid="see${user.id}"onclick="click03('see${user.id}','message${user.id}')">+</span></td>

<td>${user.name}</td>

<td>${user.sex}</td>

<td>${user.birthday}</td>

<td>${user.idType}</td>

<td>${user.idNo}</td>

<td>${user.makeDate}</td>

</tr>

<trid="message${user.id}"style="display:none">

<td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>

<tdcolspan="6">

<tablewidth="100%"cellpadding="0"cellspacing="0">

<tr><td><inputtype="button"id="button1${user.id}"style="background-color:#FFFFFF;color:red"value="基本信息"onclick="click01('basic${user.id}','other${user.id}','button1${user.id}','button2${user.id}');">

<inputtype="button"id="button2${user.id}"style="background-color:#FFFFFF"value="详细信息"onclick="click02('basic'+${user.id},'other'+${user.id},'button1${user.id}','button2${user.id}');"><br></td></tr>

<tr>

<tdstyle="background-color:#FFFFFF">

<tableid="basic${user.id}"border="1"width="80%"cellpadding="0"cellspacing="0">

<tr><td>姓名<br></td><td>${user.name}<br></td><td>性别<br></td><td>${user.sex}<br></td></tr>

<tr><td>出生日期<br></td><tdcolspan="3">${user.birthday}<br></td></tr>

<tr><td>证据类型<br></td><td>${user.idType}<br></td><td>证件号码<br></td><td>${user.idNo}<br></td></tr>

</table>

<tableid="other${user.id}"border="1"width="80%"cellpadding="0"cellspacing="0"style="display:none">

<tr><td>联系地址<br></td><td>${user.address}<br></td><td>邮箱编码<br></td><td>${user.zipcode}<br></td></tr>

<tr><td>手机<br></td><td>${user.phone}<br></td><td>电子邮箱<br></td><td>${user.email}<br></td></tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

</c:forEach>

</tbody>

</table>

</div>

</form>

</div>

</body>

</html>

相关推荐