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.

98 lines
3.0 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 type='button' name='Submit5' value='切换视图' onClick="javascript:location.href='kechengxinxilisttp.jsp';" />
</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='65' align='center'>课程日期</td>
<td bgcolor='#CCFFFF'>学费</td>
<td bgcolor='#CCFFFF' width='90' align='center'>封面</td>
<td width="30" align="center" bgcolor="CCFFFF">详细</td>
</tr>
<%
new CommDAO().delete(request,"kechengxinxi");
String url = "kechengxinxilist.jsp?issh=是";
String sql = "select * from kechengxinxi where issh='是'";
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("duanlianbuwei") %></td><td><%=map.get("kechengriqi") %></td><td><%=map.get("xuefei") %></td><td width='90'><a class="btn btn-info btn-small" href='<%=map.get("fengmian") %>' target='_blank'><img src='<%=map.get("fengmian") %>' width=88 height=99 border=0 /></a></td>
<td width="50" align="center"> <a class="btn btn-info btn-small" href="kechengxinxidetail.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-->