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.

92 lines
2.8 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='kechengxinxilist.jsp';" />
</form>
<table width="100%" height="12%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%
new CommDAO().delete(request,"kechengxinxi");
String url = "kechengxinxilisttp.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++;
%>
<td height="316" align="center"><table width="225" height="285" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="250" align="center"><a href="kechengxinxidetail.jsp?id=<%=map.get("id")%>"><img src="<%=map.get("fengmian")%>" width="210" height="250" border="0" style="border-radius: 18px;" /></a></td>
</tr>
<tr>
<td height="26" align="center"><%=map.get("kechengmingcheng")%></td>
</tr>
</table></td>
<%
if (i==4)
{
i=0;
out.print("</tr><tr>");
}
}
%>
</tr>
</table>
${page.info }
</div>
</div>
</div>
<%@ include file="yqlj.jsp"%>
<%@ include file="qtdown.jsp"%>
<%@ include file="kefutiao.jsp"%>
</body>
</html>
<!--yoxudixtu-->