You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
3.5 KiB
90 lines
3.5 KiB
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
<%@page import="util.Info"%>
|
|
<%@page import="dao.CommDAO"%>
|
|
<%@page import="util.PageManager"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>器材信息</title>
|
|
<link rel="stylesheet" type="text/css" href="qtimages/css/style.css"/>
|
|
<link rel="stylesheet" type="text/css" href="qtimages/css/mislider.css"/>
|
|
<style>
|
|
.dd a:hover{color: red;}
|
|
.dd a{ font-size: 18px;}
|
|
.header .top .logo{margin-right: 260px;}
|
|
.header{ position: fixed; top: 0; left: 0; z-index: 9999; background: #fff; width: 100%;}
|
|
</style>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
|
|
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
|
|
<%
|
|
|
|
%>
|
|
|
|
<body style="padding-top:220px;">
|
|
<%@ include file="qttop.jsp"%>
|
|
<%@ include file="bht.jsp"%>
|
|
<div class="index_about index">
|
|
<div class="w1200">
|
|
<h2 class="t">器材信息</h2>
|
|
<p class="t_en">Details</p>
|
|
<div class="desc">
|
|
|
|
|
|
<link rel="stylesheet" href="images/hsgcommon/divqt.css" type="text/css">
|
|
<form name="form1" id="form1" method="post" action="" style="width:100%">
|
|
搜索: 器材名称:<input name="qicaimingcheng" type="text" id="qicaimingcheng" class="form-control2" /> 器材类别:<input name="qicaileibie" type="text" id="qicaileibie" class="form-control2" />
|
|
<input type="submit" name="Submit" value="查找" />
|
|
</form>
|
|
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="00FFFF" style="border-collapse:collapse" class="newsline">
|
|
<tr>
|
|
<td width="30" align="center" bgcolor="CCFFFF">序号</td>
|
|
<td bgcolor='#CCFFFF'>器材编号</td>
|
|
<td bgcolor='#CCFFFF'>器材名称</td>
|
|
<td bgcolor='#CCFFFF'>器材类别</td>
|
|
<td bgcolor='#CCFFFF' width='90' align='center'>图片</td>
|
|
<td bgcolor='#CCFFFF'>演示视频</td>
|
|
|
|
|
|
|
|
|
|
<td width="30" align="center" bgcolor="CCFFFF">详细</td>
|
|
</tr>
|
|
<%
|
|
|
|
|
|
|
|
new CommDAO().delete(request,"qicaixinxi");
|
|
String url = "qicaixinxilist.jsp?2=2";
|
|
String sql = "select * from qicaixinxi where 1=1";
|
|
|
|
if(request.getParameter("qicaimingcheng")=="" ||request.getParameter("qicaimingcheng")==null ){}else{sql=sql+" and qicaimingcheng like '%"+request.getParameter("qicaimingcheng")+"%'";}
|
|
if(request.getParameter("qicaileibie")=="" ||request.getParameter("qicaileibie")==null ){}else{sql=sql+" and qicaileibie like '%"+request.getParameter("qicaileibie")+"%'";}
|
|
sql+=" order by id desc";
|
|
ArrayList<HashMap> list = PageManager.getPages(url,15,sql, request);
|
|
int i=0;
|
|
for(HashMap map:list){
|
|
i++;
|
|
|
|
|
|
|
|
|
|
%>
|
|
<tr>
|
|
<td width="30" align="center"><%=i %></td>
|
|
<td><%=map.get("qicaibianhao") %></td><td><%=map.get("qicaimingcheng") %></td><td><%=map.get("qicaileibie") %></td><td width='90'><a class="btn btn-info btn-small" href='<%=map.get("tupian") %>' target='_blank'><img src='<%=map.get("tupian") %>' width=88 height=99 border=0 /></a></td><td><a class="btn btn-info btn-small" href='play.jsp?spwj=<%=map.get("yanshishipin") %>' target='_blank'>点此播放</a></td>
|
|
|
|
<td width="50" align="center"> <a class="btn btn-info btn-small" href="qicaixinxidetail.jsp?id=<%=map.get("id")%>" >详细</a></td>
|
|
</tr>
|
|
<%
|
|
}
|
|
%>
|
|
</table><br>
|
|
|
|
|
|
${page.info }
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<%@ include file="yqlj.jsp"%>
|
|
<%@ include file="qtdown.jsp"%>
|
|
<%@ include file="kefutiao.jsp"%>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
<!--yoxudixtu-->
|