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.

69 lines
2.0 KiB

<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<html>
<head>
<title>报名信息</title>
<link rel="stylesheet" href="images/hsgcommon/common.css" type="text/css">
<link rel="stylesheet" href="images/hsgcommon/div.css" type="text/css">
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
</head>
<body >
<p>已有报名信息列表:</p>
<form name="form1" id="form1" method="post" action="">
搜索: 课程名称:<input name="kechengmingcheng" type="text" id="kechengmingcheng" class="form-control2" />
<input type="submit" name="Submit" value="查找" class="btn btn-info btn-small" />
</form>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="cccccc" >
<tr>
<td width="30" align="center" bgcolor="cccccc">序号</td>
<td bgcolor='#cccccc'>教练</td>
<td bgcolor='#cccccc'>课程名称</td>
<td bgcolor='#cccccc'>学费</td>
<td bgcolor='#cccccc'>学员</td>
<td bgcolor='#cccccc' width='80' align='center'>是否支付</td>
</tr>
<%
new CommDAO().delete(request,"baomingxinxi");
String url = "baomingxinxi_list3.jsp?1=1";
String sql = "select * from baomingxinxi where jiaolian='"+request.getSession().getAttribute("username")+"' ";
if(request.getParameter("kechengmingcheng")=="" ||request.getParameter("kechengmingcheng")==null ){}else{sql=sql+" and kechengmingcheng like '%"+request.getParameter("kechengmingcheng")+"%'";}
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("jiaolian") %></td>
<td><%=map.get("kechengmingcheng") %></td>
<td><%=map.get("xuefei") %></td>
<td><%=map.get("xueyuan") %></td>
<td align='center'><%=map.get("iszf")%> </td>
</tr>
<%
}
%>
</table>
<br>
<p class="fy">${page.info }</p>
</body>
</html>