parent
6a6096f673
commit
c7b80efe6b
@ -0,0 +1,31 @@
|
|||||||
|
<%@ 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">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body >
|
||||||
|
<%
|
||||||
|
String id=request.getParameter("id");
|
||||||
|
HashMap m = new CommDAO().getmap(id,"jiaolian");
|
||||||
|
%>
|
||||||
|
教练详细:
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#cccccc" >
|
||||||
|
<tr>
|
||||||
|
<td width='11%' height=44>工号:</td><td width='39%'><%=m.get("gonghao")%></td>
<td rowspan=8 align=center><a href=<%=m.get("zhaopian")%> target=_blank><img src=<%=m.get("zhaopian")%> width=228 height=215 border=0></a></td></tr><tr>
<td width='11%' height=44>密码:</td><td width='39%'><%=m.get("mima")%></td>
</tr><tr>
<td width='11%' height=44>姓名:</td><td width='39%'><%=m.get("xingming")%></td>
</tr><tr>
<td width='11%' height=44>性别:</td><td width='39%'><%=m.get("xingbie")%></td>
</tr><tr>
<td width='11%' height=44>年龄:</td><td width='39%'><%=m.get("nianling")%></td>
</tr><tr>
<td width='11%' height=44>专长:</td><td width='39%'><%=m.get("zhuanchang")%></td>
</tr><tr>
<td width='11%' height=44>联系方式:</td><td width='39%'><%=m.get("lianxifangshi")%></td>
</tr><tr>
<td width='11%' height=44>地址:</td><td width='39%'><%=m.get("dizhi")%></td>
</tr><tr>
<td width='11%' height=100 >个人简介:</td><td width='39%' colspan=2 height=100 ><%=m.get("gerenjianjie")%></td></tr><tr><td colspan=3 align=center><input type=button name=Submit5 value=返回 onClick="javascript:history.back()" /> <input type=button name=Submit5 value=打印 onClick="javascript:window.print()" /></td></tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,66 @@
|
|||||||
|
<%@ 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="gonghao" type="text" id="gonghao" class="form-control2" /> 性别:<select name='xingbie' id='xingbie' class="form-control2"><option value="">所有</option><option value="男">男</option><option value="女">女</option></select> 专长:<input name="zhuanchang" type="text" id="zhuanchang" class="form-control2" />
|
||||||
|
<input type="submit" name="Submit" value="查找" class="btn btn-info btn-small" /> <input type="button" name="Submit2" value="导出EXCEL" class="btn btn-info btn-small" onClick="javascript:location.href='jiaolian_listxls.jsp';" />
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="cccccc" >
|
||||||
|
<tr>
|
||||||
|
<td width="35" height="30" align="center" bgcolor="cccccc">序号</td>
|
||||||
|
<td bgcolor='#cccccc'>工号</td>
<td bgcolor='#cccccc'>密码</td>
<td bgcolor='#cccccc'>姓名</td>
<td bgcolor='#cccccc' width='40' align='center'>性别</td>
<td bgcolor='#cccccc'>年龄</td>
<td bgcolor='#cccccc' width='90' align='center'>照片</td>
<td bgcolor='#cccccc'>专长</td>
<td bgcolor='#cccccc'>联系方式</td>
<td bgcolor='#cccccc'>地址</td>
|
||||||
|
|
||||||
|
<td width="138" height="30" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
|
||||||
|
<td width="220" height="30" align="center" bgcolor="cccccc">操作</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new CommDAO().delete(request,"jiaolian");
|
||||||
|
String url = "jiaolian_list.jsp?1=1";
|
||||||
|
String sql = "select * from jiaolian where 1=1";
|
||||||
|
if(request.getParameter("gonghao")=="" ||request.getParameter("gonghao")==null ){}else{sql=sql+" and gonghao like '%"+request.getParameter("gonghao")+"%'";}
if(request.getParameter("xingbie")=="" ||request.getParameter("xingbie")==null ){}else{sql=sql+" and xingbie like '%"+request.getParameter("xingbie")+"%'";}
if(request.getParameter("zhuanchang")=="" ||request.getParameter("zhuanchang")==null ){}else{sql=sql+" and zhuanchang like '%"+request.getParameter("zhuanchang")+"%'";}
|
||||||
|
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="35" align="center"><%=i %></td>
|
||||||
|
<td><%=map.get("gonghao") %></td>
<td><%=map.get("mima") %></td>
<td><%=map.get("xingming") %></td>
<td align='center'><%=map.get("xingbie") %></td>
<td><%=map.get("nianling") %></td>
<td width='90' align='center'><a class="btn btn-info btn-small" href='<%=map.get("zhaopian") %>' target='_blank'><img src='<%=map.get("zhaopian") %>' width=88 height=99 border=0 /></a></td>
<td><%=map.get("zhuanchang") %></td>
<td><%=map.get("lianxifangshi") %></td>
<td><%=map.get("dizhi") %></td>
|
||||||
|
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
<td width="220" align="center"><a class="btn btn-info btn-small" href="jiaolian_updt.jsp?id=<%=map.get("id")%>">修改</a> <a class="btn btn-info btn-small" href="jiaolian_list.jsp?scid=<%=map.get("id") %>" onClick="return confirm('真的要删除?')">删除</a> <a class="btn btn-info btn-small" href="jiaoliandetail.jsp?id=<%=map.get("id")%>" target="_blank">详细</a> </td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<p class="fy">${page.info }</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,66 @@
|
|||||||
|
<%@ 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="gonghao" type="text" id="gonghao" class="form-control2" /> 性别:<select name='xingbie' id='xingbie' class="form-control2"><option value="">所有</option><option value="男">男</option><option value="女">女</option></select> 专长:<input name="zhuanchang" type="text" id="zhuanchang" class="form-control2" />
|
||||||
|
<input type="submit" name="Submit" value="查找" class="btn btn-info btn-small" /> <input type="button" name="Submit2" value="导出EXCEL" class="btn btn-info btn-small" onClick="javascript:location.href='jiaolian_listxls.jsp';" />
|
||||||
|
</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' width='40' align='center'>性别</td>
<td bgcolor='#cccccc'>年龄</td>
<td bgcolor='#cccccc' width='90' align='center'>照片</td>
<td bgcolor='#cccccc'>专长</td>
<td bgcolor='#cccccc'>联系方式</td>
<td bgcolor='#cccccc'>地址</td>
|
||||||
|
|
||||||
|
<td width="138" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
|
||||||
|
<td width="60" align="center" bgcolor="cccccc">操作</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new CommDAO().delete(request,"jiaolian");
|
||||||
|
String url = "jiaolian_list.jsp?1=1";
|
||||||
|
String sql = "select * from jiaolian where 1=1";
|
||||||
|
if(request.getParameter("gonghao")=="" ||request.getParameter("gonghao")==null ){}else{sql=sql+" and gonghao like '%"+request.getParameter("gonghao")+"%'";}
if(request.getParameter("xingbie")=="" ||request.getParameter("xingbie")==null ){}else{sql=sql+" and xingbie like '%"+request.getParameter("xingbie")+"%'";}
if(request.getParameter("zhuanchang")=="" ||request.getParameter("zhuanchang")==null ){}else{sql=sql+" and zhuanchang like '%"+request.getParameter("zhuanchang")+"%'";}
|
||||||
|
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("gonghao") %></td>
<td><%=map.get("mima") %></td>
<td><%=map.get("xingming") %></td>
<td align='center'><%=map.get("xingbie") %></td>
<td><%=map.get("nianling") %></td>
<td width='90' align='center'><a class="btn btn-info btn-small" href='<%=map.get("zhaopian") %>' target='_blank'><img src='<%=map.get("zhaopian") %>' width=88 height=99 border=0 /></a></td>
<td><%=map.get("zhuanchang") %></td>
<td><%=map.get("lianxifangshi") %></td>
<td><%=map.get("dizhi") %></td>
|
||||||
|
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
<td width="60" align="center"><!--lianjie1--> <a class="btn btn-info btn-small" href="jiaoliandetail.jsp?id=<%=map.get("id")%>" target="_blank">详细</a> </td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<p class="fy">${page.info }</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,54 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
<%@page import="util.Info"%>
|
||||||
|
<%@page import="dao.CommDAO"%>
|
||||||
|
<%@page import="util.PageManager"%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
response.setContentType("application/vnd.ms-excel");
|
||||||
|
response.addHeader("Content-Disposition", "attachment;filename=jiaolian.xls");
|
||||||
|
%>
|
||||||
|
<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">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body >
|
||||||
|
<p>已有教练列表:</p>
|
||||||
|
|
||||||
|
|
||||||
|
<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' width='40' align='center'>性别</td>
<td bgcolor='#cccccc'>年龄</td>
<td bgcolor='#cccccc' width='90' align='center'>照片</td>
<td bgcolor='#cccccc'>专长</td>
<td bgcolor='#cccccc'>联系方式</td>
<td bgcolor='#cccccc'>地址</td>
|
||||||
|
<td width="138" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
String url = "jiaolian_list.jsp?1=1";
|
||||||
|
String sql = "select * from jiaolian where 1=1";
|
||||||
|
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("gonghao") %></td>
<td><%=map.get("mima") %></td>
<td><%=map.get("xingming") %></td>
<td align='center'><%=map.get("xingbie") %></td>
<td><%=map.get("nianling") %></td>
<td width='90' align='center'><a class="btn btn-info btn-small" href='<%=map.get("zhaopian") %>' target='_blank'><img src='<%=map.get("zhaopian") %>' width=88 height=99 border=0 /></a></td>
<td><%=map.get("zhuanchang") %></td>
<td><%=map.get("lianxifangshi") %></td>
<td><%=map.get("dizhi") %></td>
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
以上数据共<%=i %>条
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,61 @@
|
|||||||
|
<%@ 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 language=javascript src='js/popup.js'></script>
|
||||||
|
<script language=javascript>
|
||||||
|
function hsgpinglun(nbiao,nid){
|
||||||
|
popheight=450;
|
||||||
|
pop('hsgpinglun.jsp?biao='+nbiao+'&id='+nid,'在线评论',550,250) ;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<%
|
||||||
|
|
||||||
|
String id=request.getParameter("id");
|
||||||
|
HashMap mqt = new CommDAO().getmap(id,"jiaolian");
|
||||||
|
|
||||||
|
|
||||||
|
%>
|
||||||
|
<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">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse" class="newsline">
|
||||||
|
<tr>
|
||||||
|
<td width='11%' height=44>工号:</td><td width='39%'><%=mqt.get("gonghao")%></td><td rowspan=8 align=center><a href=<%=mqt.get("zhaopian")%> target=_blank><img src=<%=mqt.get("zhaopian")%> width=228 height=215 border=0></a></td></tr><tr>
<td width='11%' height=44>密码:</td><td width='39%'>******</td></tr><tr>
<td width='11%' height=44>姓名:</td><td width='39%'><%=mqt.get("xingming")%></td></tr><tr>
<td width='11%' height=44>性别:</td><td width='39%'><%=mqt.get("xingbie")%></td></tr><tr>
<td width='11%' height=44>年龄:</td><td width='39%'><%=mqt.get("nianling")%></td></tr><tr>
<td width='11%' height=44>专长:</td><td width='39%'><%=mqt.get("zhuanchang")%></td></tr><tr>
<td width='11%' height=44>联系方式:</td><td width='39%'><%=mqt.get("lianxifangshi")%></td></tr><tr>
<td width='11%' height=44>地址:</td><td width='39%'><%=mqt.get("dizhi")%></td></tr><tr>
<td width='11%' height=100 >个人简介:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("gerenjianjie")%></td></tr><tr><td colspan=3 align=center><input type=button name=Submit5 value=返回 onClick="javascript:history.back()" />
<input type=button name=Submit52 value=打印 onClick="javascript:window.print()" /> <!--jixaaxnnxiu-->
</td></tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="yqlj.jsp"%>
|
||||||
|
<%@ include file="qtdown.jsp"%>
|
||||||
|
<%@ include file="kefutiao.jsp"%>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,61 @@
|
|||||||
|
<%@ 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 language=javascript src='js/popup.js'></script>
|
||||||
|
<script language=javascript>
|
||||||
|
function hsgpinglun(nbiao,nid){
|
||||||
|
popheight=450;
|
||||||
|
pop('hsgpinglun.jsp?biao='+nbiao+'&id='+nid,'在线评论',550,250) ;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<%
|
||||||
|
|
||||||
|
String id=request.getParameter("id");
|
||||||
|
HashMap mqt = new CommDAO().getmap(id,"jiaolian");
|
||||||
|
|
||||||
|
|
||||||
|
%>
|
||||||
|
<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">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse" class="newsline">
|
||||||
|
<tr>
|
||||||
|
<td width='11%' height=44>工号:</td><td width='39%'><%=mqt.get("gonghao")%></td><td rowspan=8 align=center><a href=<%=mqt.get("zhaopian")%> target=_blank><img src=<%=mqt.get("zhaopian")%> width=228 height=215 border=0></a></td></tr><tr>
<td width='11%' height=44>密码:</td><td width='39%'>******</td></tr><tr>
<td width='11%' height=44>姓名:</td><td width='39%'><%=mqt.get("xingming")%></td></tr><tr>
<td width='11%' height=44>性别:</td><td width='39%'><%=mqt.get("xingbie")%></td></tr><tr>
<td width='11%' height=44>年龄:</td><td width='39%'><%=mqt.get("nianling")%></td></tr><tr>
<td width='11%' height=44>专长:</td><td width='39%'><%=mqt.get("zhuanchang")%></td></tr><tr>
<td width='11%' height=44>联系方式:</td><td width='39%'><%=mqt.get("lianxifangshi")%></td></tr><tr>
<td width='11%' height=44>地址:</td><td width='39%'><%=mqt.get("dizhi")%></td></tr><tr>
<td width='11%' height=100 >个人简介:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("gerenjianjie")%></td></tr><tr><td colspan=3 align=center><input type=button name=Submit5 value=返回 onClick="javascript:history.back()" />
<input type=button name=Submit52 value=打印 onClick="javascript:window.print()" /> <!--jixaaxnnxiu-->
</td></tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="yqlj.jsp"%>
|
||||||
|
<%@ include file="qtdown.jsp"%>
|
||||||
|
<%@ include file="kefutiao.jsp"%>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
<!--yoxudixtu-->
|
@ -0,0 +1,89 @@
|
|||||||
|
<%@ 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="gonghao" type="text" id="gonghao" class="form-control2" /> 性别:<select name='xingbie' id='xingbie' class="form-control2"><option value="">所有</option><option value="男">男</option><option value="女">女</option></select> 专长:<input name="zhuanchang" type="text" id="zhuanchang" class="form-control2" />
|
||||||
|
<input type="submit" name="Submit" value="查找" /> <input type='button' name='Submit5' value='切换视图' onClick="javascript:location.href='jiaolianlisttp.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='40' align='center'>性别</td>
<td bgcolor='#CCFFFF'>年龄</td>
<td bgcolor='#CCFFFF' width='90' align='center'>照片</td>
<td bgcolor='#CCFFFF'>专长</td>
<td bgcolor='#CCFFFF'>联系方式</td>
<td bgcolor='#CCFFFF'>地址</td>
|
||||||
|
|
||||||
|
<td width="30" align="center" bgcolor="CCFFFF">详细</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new CommDAO().delete(request,"jiaolian");
|
||||||
|
String url = "jiaolianlist.jsp?2=2";
|
||||||
|
String sql = "select * from jiaolian where 1=1";
|
||||||
|
if(request.getParameter("gonghao")=="" ||request.getParameter("gonghao")==null ){}else{sql=sql+" and gonghao like '%"+request.getParameter("gonghao")+"%'";}
if(request.getParameter("xingbie")=="" ||request.getParameter("xingbie")==null ){}else{sql=sql+" and xingbie like '%"+request.getParameter("xingbie")+"%'";}
if(request.getParameter("zhuanchang")=="" ||request.getParameter("zhuanchang")==null ){}else{sql=sql+" and zhuanchang like '%"+request.getParameter("zhuanchang")+"%'";}
|
||||||
|
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("gonghao") %></td><td><%=map.get("mima") %></td><td><%=map.get("xingming") %></td><td align='center'><%=map.get("xingbie") %></td><td><%=map.get("nianling") %></td><td width='90'><a class="btn btn-info btn-small" href='<%=map.get("zhaopian") %>' target='_blank'><img src='<%=map.get("zhaopian") %>' width=88 height=99 border=0 /></a></td><td><%=map.get("zhuanchang") %></td><td><%=map.get("lianxifangshi") %></td><td><%=map.get("dizhi") %></td>
|
||||||
|
|
||||||
|
<td width="50" align="center"> <a class="btn btn-info btn-small" href="jiaoliandetail.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-->
|
@ -0,0 +1,92 @@
|
|||||||
|
<%@ 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="gonghao" type="text" id="gonghao" class="form-control2" /> 性别:<select name='xingbie' id='xingbie' class="form-control2"><option value="">所有</option><option value="男">男</option><option value="女">女</option></select> 专长:<input name="zhuanchang" type="text" id="zhuanchang" class="form-control2" />
|
||||||
|
<input type="submit" name="Submit" value="查找" /> <input type="button" name="Submit5" value="切换视图" onClick="javascript:location.href='jiaolianlist.jsp';" />
|
||||||
|
</form>
|
||||||
|
<table width="100%" height="12%" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||||
|
<tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new CommDAO().delete(request,"jiaolian");
|
||||||
|
String url = "jiaolianlisttp.jsp?1=1";
|
||||||
|
String sql = "select * from jiaolian where 1=1";
|
||||||
|
if(request.getParameter("gonghao")=="" ||request.getParameter("gonghao")==null ){}else{sql=sql+" and gonghao like '%"+request.getParameter("gonghao")+"%'";}
if(request.getParameter("xingbie")=="" ||request.getParameter("xingbie")==null ){}else{sql=sql+" and xingbie like '%"+request.getParameter("xingbie")+"%'";}
if(request.getParameter("zhuanchang")=="" ||request.getParameter("zhuanchang")==null ){}else{sql=sql+" and zhuanchang like '%"+request.getParameter("zhuanchang")+"%'";}
|
||||||
|
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="jiaoliandetail.jsp?id=<%=map.get("id")%>"><img src="<%=map.get("zhaopian")%>" width="210" height="250" border="0" style="border-radius: 18px;" /></a></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="26" align="center"><%=map.get("xingming")%></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-->
|
@ -0,0 +1,33 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
<%@page import="util.Info"%>
|
||||||
|
<%@page import="dao.CommDAO"%>
|
||||||
|
<%@page import="util.PageManager"%>
|
||||||
|
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<title>加入收藏</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<%
|
||||||
|
if((String)request.getSession().getAttribute("username")==null || (String)request.getSession().getAttribute("username")=="")
|
||||||
|
{
|
||||||
|
out.print("<script>javascript:alert('对不起,请您先登陆!');history.back();</script>");
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
String id=request.getParameter("id");
|
||||||
|
String biao=request.getParameter("biao");
|
||||||
|
String ziduan=request.getParameter("ziduan");
|
||||||
|
String sql="insert into shoucangjilu(username,xwid,ziduan,biao) values('"+request.getSession().getAttribute("username")+"','"+id+"','"+ziduan+"','"+biao+"')";
|
||||||
|
|
||||||
|
new CommDAO().commOper(sql);
|
||||||
|
out.print("<script>alert('收藏成功!!');location.href='"+request.getHeader("Referer")+"';</script>");
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,67 @@
|
|||||||
|
<%@ 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 type="submit" name="Submit" value="查找" class="btn btn-info btn-small" /> <input type="button" name="Submit2" value="导出EXCEL" class="btn btn-info btn-small" onClick="javascript:location.href='kechengxinxi_listxls.jsp';" />
|
||||||
|
</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' width='65' align='center'>课程日期</td>
<td bgcolor='#cccccc'>学费</td>
<td bgcolor='#cccccc' width='90' align='center'>封面</td>
<td bgcolor='#cccccc' width='80' align='center'>是否审核</td>
|
||||||
|
|
||||||
|
<td width="138" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
|
||||||
|
<td width="60" align="center" bgcolor="cccccc">操作</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new CommDAO().delete(request,"kechengxinxi");
|
||||||
|
String url = "kechengxinxi_list.jsp?1=1";
|
||||||
|
String sql = "select * from kechengxinxi where 1=1";
|
||||||
|
|
||||||
|
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' align='center'><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 align='center'><a class="btn btn-info btn-small" href="sh.jsp?id=<%=map.get("id")%>&yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onclick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%></a></td>
|
||||||
|
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
<td width="60" align="center"><a class="btn btn-info btn-small" href='baomingxinxi_add.jsp?id=<%=map.get("id")%>'>添加报名信息</a> <a class="btn btn-info btn-small" href="kechengxinxidetail.jsp?id=<%=map.get("id")%>" target="_blank">详细</a> </td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<p class="fy">${page.info }</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,31 @@
|
|||||||
|
<%@ 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">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body >
|
||||||
|
<%
|
||||||
|
String id=request.getParameter("id");
|
||||||
|
HashMap m = new CommDAO().getmap(id,"kechengxinxi");
|
||||||
|
%>
|
||||||
|
课程信息详细:
|
||||||
|
<br><br>
|
||||||
|
|
||||||
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#cccccc" >
|
||||||
|
<tr>
|
||||||
|
<td width='11%' height=44>教练:</td><td width='39%'><%=m.get("jiaolian")%></td>
<td rowspan=5 align=center><a href=<%=m.get("fengmian")%> target=_blank><img src=<%=m.get("fengmian")%> width=228 height=215 border=0></a></td></tr><tr>
<td width='11%' height=44>课程名称:</td><td width='39%'><%=m.get("kechengmingcheng")%></td>
</tr><tr>
<td width='11%' height=44>锻炼部位:</td><td width='39%'><%=m.get("duanlianbuwei")%></td>
</tr><tr>
<td width='11%' height=44>课程日期:</td><td width='39%'><%=m.get("kechengriqi")%></td>
</tr><tr>
<td width='11%' height=44>学费:</td><td width='39%'><%=m.get("xuefei")%></td>
</tr><tr>
<td width='11%' height=100 >课时安排:</td><td width='39%' colspan=2 height=100 ><%=m.get("keshianpai")%></td></tr><tr><td width='11%' height=100 >课程内容:</td><td width='39%' colspan=2 height=100 ><%=m.get("kechengneirong")%></td></tr><tr><td width='11%' height=100 >课程介绍:</td><td width='39%' colspan=2 height=100 ><%=m.get("kechengjieshao")%></td></tr><tr><td colspan=3 align=center><input type=button name=Submit5 value=返回 onClick="javascript:history.back()" /> <input type=button name=Submit5 value=打印 onClick="javascript:window.print()" /></td></tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,58 @@
|
|||||||
|
<%@ 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>
|
||||||
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="cccccc" >
|
||||||
|
<tr>
|
||||||
|
<td width="35" height="30" align="center" bgcolor="cccccc">序号</td>
|
||||||
|
<td bgcolor='#cccccc'>教练</td>
|
||||||
|
<td bgcolor='#cccccc'>课程名称</td>
|
||||||
|
<td bgcolor='#cccccc'>锻炼部位</td>
|
||||||
|
<td bgcolor='#cccccc' width='65' align='center'>课程日期</td>
|
||||||
|
<td bgcolor='#cccccc'>学费</td>
|
||||||
|
<td bgcolor='#cccccc' width='90' align='center'>封面</td>
|
||||||
|
<td bgcolor='#cccccc' width='80' align='center'>是否审核</td>
|
||||||
|
<td width="138" height="30" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
<td width="220" height="30" align="center" bgcolor="cccccc">操作</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
new CommDAO().delete(request,"kechengxinxi");
|
||||||
|
String url = "kechengxinxi_list.jsp?1=1";
|
||||||
|
String sql = "select * from kechengxinxi where 1=1";
|
||||||
|
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="35" 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' align='center'><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 align='center'><a class="btn btn-info btn-small" href="sh.jsp?id=<%=map.get("id")%>&yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onClick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%></a></td>
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
<td width="220" align="center"><a class="btn btn-info btn-small" href="kechengxinxi_updt.jsp?id=<%=map.get("id")%>">修改</a> <a class="btn btn-info btn-small" href="kechengxinxi_list.jsp?scid=<%=map.get("id") %>" onClick="return confirm('真的要删除?')">删除</a> <a class="btn btn-info btn-small" href="kechengxinxidetail.jsp?id=<%=map.get("id")%>" target="_blank">详细</a> </td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
<p class="fy">${page.info }</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,62 @@
|
|||||||
|
<%@ 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 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' width='65' align='center'>课程日期</td>
<td bgcolor='#cccccc'>学费</td>
<td bgcolor='#cccccc' width='90' align='center'>封面</td>
<td bgcolor='#cccccc' width='80' align='center'>是否审核</td>
|
||||||
|
<td width="138" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
<td width="220" align="center" bgcolor="cccccc">操作</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new CommDAO().delete(request,"kechengxinxi");
|
||||||
|
String url = "kechengxinxi_list2.jsp?1=1";
|
||||||
|
String sql = "select * from kechengxinxi where jiaolian='"+request.getSession().getAttribute("username")+"' ";
|
||||||
|
|
||||||
|
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='80' align='center'><%=map.get("issh")%></td>
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
<td width="220" align="center"><a class="btn btn-info btn-small" href="kechengxinxi_updt.jsp?id=<%=map.get("id")%>">修改</a> <a class="btn btn-info btn-small" href="kechengxinxi_list2.jsp?scid=<%=map.get("id") %>" onClick="return confirm('真的要删除?')">删除</a> <a class="btn btn-info btn-small" href="kechengxinxidetail.jsp?id=<%=map.get("id")%>" target="_blank">详细</a> </td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table><br>
|
||||||
|
|
||||||
|
<p class="fy">${page.info }</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,66 @@
|
|||||||
|
<%@ 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 type="submit" name="Submit" value="查找" class="btn btn-info btn-small" /> <input type="button" name="Submit2" value="导出EXCEL" class="btn btn-info btn-small" onClick="javascript:location.href='kechengxinxi_listxls.jsp';" />
|
||||||
|
</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' width='65' align='center'>课程日期</td>
<td bgcolor='#cccccc'>学费</td>
<td bgcolor='#cccccc' width='90' align='center'>封面</td>
<td bgcolor='#cccccc' width='80' align='center'>是否审核</td>
|
||||||
|
|
||||||
|
<td width="138" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
|
||||||
|
<td width="60" align="center" bgcolor="cccccc">操作</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
new CommDAO().delete(request,"kechengxinxi");
|
||||||
|
String url = "kechengxinxi_list.jsp?1=1";
|
||||||
|
String sql = "select * from kechengxinxi where 1=1";
|
||||||
|
|
||||||
|
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' align='center'><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 align='center'><a class="btn btn-info btn-small" href="sh.jsp?id=<%=map.get("id")%>&yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onclick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%></a></td>
|
||||||
|
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
<td width="60" align="center"><!--lianjie1--> <a class="btn btn-info btn-small" href="kechengxinxidetail.jsp?id=<%=map.get("id")%>" target="_blank">详细</a> </td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<p class="fy">${page.info }</p>
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,54 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
<%@page import="util.Info"%>
|
||||||
|
<%@page import="dao.CommDAO"%>
|
||||||
|
<%@page import="util.PageManager"%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
response.setContentType("application/vnd.ms-excel");
|
||||||
|
response.addHeader("Content-Disposition", "attachment;filename=kechengxinxi.xls");
|
||||||
|
%>
|
||||||
|
<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">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body >
|
||||||
|
<p>已有课程信息列表:</p>
|
||||||
|
|
||||||
|
|
||||||
|
<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' width='65' align='center'>课程日期</td>
<td bgcolor='#cccccc'>学费</td>
<td bgcolor='#cccccc' width='90' align='center'>封面</td>
<td bgcolor='#cccccc' width='80' align='center'>是否审核</td>
|
||||||
|
<td width="138" align="center" bgcolor="cccccc">添加时间</td>
|
||||||
|
|
||||||
|
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
|
||||||
|
String url = "kechengxinxi_list.jsp?1=1";
|
||||||
|
String sql = "select * from kechengxinxi where 1=1";
|
||||||
|
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' align='center'><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 align='center'><a class="btn btn-info btn-small" href="sh.jsp?id=<%=map.get("id")%>&yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onclick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%></a></td>
|
||||||
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
以上数据共<%=i %>条
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,62 @@
|
|||||||
|
<%@ 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 language=javascript src='js/popup.js'></script>
|
||||||
|
<script language=javascript>
|
||||||
|
function hsgpinglun(nbiao,nid){
|
||||||
|
popheight=450;
|
||||||
|
pop('hsgpinglun.jsp?biao='+nbiao+'&id='+nid,'在线评论',550,250) ;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<%
|
||||||
|
|
||||||
|
String id=request.getParameter("id");
|
||||||
|
HashMap mqt = new CommDAO().getmap(id,"kechengxinxi");
|
||||||
|
|
||||||
|
|
||||||
|
%>
|
||||||
|
<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">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse" class="newsline">
|
||||||
|
<tr>
|
||||||
|
<td width='11%' height=44>教练:</td><td width='39%'><%=mqt.get("jiaolian")%></td><td rowspan=5 align=center><a href=<%=mqt.get("fengmian")%> target=_blank><img src=<%=mqt.get("fengmian")%> width=228 height=215 border=0></a></td></tr><tr>
<td width='11%' height=44>课程名称:</td><td width='39%'><%=mqt.get("kechengmingcheng")%></td></tr><tr>
<td width='11%' height=44>锻炼部位:</td><td width='39%'><%=mqt.get("duanlianbuwei")%></td></tr><tr>
<td width='11%' height=44>课程日期:</td><td width='39%'><%=mqt.get("kechengriqi")%></td></tr><tr>
<td width='11%' height=44>学费:</td><td width='39%'><%=mqt.get("xuefei")%></td></tr><tr>
<td width='11%' height=100 >课时安排:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("keshianpai")%></td></tr><tr><td width='11%' height=100 >课程内容:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("kechengneirong")%></td></tr><tr><td width='11%' height=100 >课程介绍:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("kechengjieshao")%></td></tr><tr><td colspan=3 align=center><input type=button name=Submit5 value=返回 onClick="javascript:history.back()" />
<input type=button name=Submit52 value=打印 onClick="javascript:window.print()" /> <input type=button name=Submit53 value=报名 onClick="javascript:location.href='baomingxinxiadd.jsp?id=<%=request.getParameter("id")%>';"/> <!--jixaaxnnxiu-->
</td></tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="yqlj.jsp"%>
|
||||||
|
<%@ include file="qtdown.jsp"%>
|
||||||
|
<%@ include file="kefutiao.jsp"%>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
<!--yoxudixtu-->
|
||||||
|
|
@ -0,0 +1,61 @@
|
|||||||
|
<%@ 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 language=javascript src='js/popup.js'></script>
|
||||||
|
<script language=javascript>
|
||||||
|
function hsgpinglun(nbiao,nid){
|
||||||
|
popheight=450;
|
||||||
|
pop('hsgpinglun.jsp?biao='+nbiao+'&id='+nid,'在线评论',550,250) ;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<%
|
||||||
|
|
||||||
|
String id=request.getParameter("id");
|
||||||
|
HashMap mqt = new CommDAO().getmap(id,"kechengxinxi");
|
||||||
|
|
||||||
|
|
||||||
|
%>
|
||||||
|
<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">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse" class="newsline">
|
||||||
|
<tr>
|
||||||
|
<td width='11%' height=44>教练:</td><td width='39%'><%=mqt.get("jiaolian")%></td><td rowspan=5 align=center><a href=<%=mqt.get("fengmian")%> target=_blank><img src=<%=mqt.get("fengmian")%> width=228 height=215 border=0></a></td></tr><tr>
<td width='11%' height=44>课程名称:</td><td width='39%'><%=mqt.get("kechengmingcheng")%></td></tr><tr>
<td width='11%' height=44>锻炼部位:</td><td width='39%'><%=mqt.get("duanlianbuwei")%></td></tr><tr>
<td width='11%' height=44>课程日期:</td><td width='39%'><%=mqt.get("kechengriqi")%></td></tr><tr>
<td width='11%' height=44>学费:</td><td width='39%'><%=mqt.get("xuefei")%></td></tr><tr>
<td width='11%' height=100 >课时安排:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("keshianpai")%></td></tr><tr><td width='11%' height=100 >课程内容:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("kechengneirong")%></td></tr><tr><td width='11%' height=100 >课程介绍:</td><td width='39%' colspan=2 height=100 ><%=mqt.get("kechengjieshao")%></td></tr><tr><td colspan=3 align=center><input type=button name=Submit5 value=返回 onClick="javascript:history.back()" />
<input type=button name=Submit52 value=打印 onClick="javascript:window.print()" /> <!--jixaaxnnxiu-->
</td></tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="yqlj.jsp"%>
|
||||||
|
<%@ include file="qtdown.jsp"%>
|
||||||
|
<%@ include file="kefutiao.jsp"%>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
<!--yoxudixtu-->
|
@ -0,0 +1,97 @@
|
|||||||
|
<%@ 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-->
|
@ -0,0 +1,91 @@
|
|||||||
|
<%@ 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-->
|
@ -0,0 +1,33 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
|
||||||
|
<script src="qtimages/js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
|
||||||
|
<script src="qtimages/js/jquery.SuperSlide.2.1.1.js" type="text/javascript" charset="utf-8"></script>
|
||||||
|
<script src="qtimages/js/mislider.js" type="text/javascript" charset="utf-8"></script>
|
||||||
|
<script id="jsID" type="text/javascript">
|
||||||
|
$(".slideBox").slide({mainCell:".bd ul",effect:"left",autoPlay:true});
|
||||||
|
$('#gotop').click(function(){
|
||||||
|
$("html,body").animate({scrollTop:0}, 800);
|
||||||
|
})
|
||||||
|
jQuery(function ($) {
|
||||||
|
var slider = $('.mis-stage').miSlider({
|
||||||
|
stageHeight: 450,
|
||||||
|
slidesOnStage: false,
|
||||||
|
slidePosition: 'center',
|
||||||
|
slideStart: 'mid',
|
||||||
|
slideScaling: 150,
|
||||||
|
offsetV: -5,
|
||||||
|
centerV: true,
|
||||||
|
navButtonsOpacity: 1
|
||||||
|
});
|
||||||
|
});
|
||||||
|
$('.index_news2 .new_cate ul li').click(function(){
|
||||||
|
var index = $(this).index();
|
||||||
|
$(this).addClass('active').siblings().removeClass('active');
|
||||||
|
$('.index_news2 .news_list').eq(index).addClass('active').siblings().removeClass('active');
|
||||||
|
})
|
||||||
|
$('.jp_case .category ul li').hover(function(){
|
||||||
|
var index = $(this).index();
|
||||||
|
$(this).addClass('active').siblings().removeClass('active');
|
||||||
|
$('.jp_case .jp_case_case').eq(index).addClass('active').siblings().removeClass('active');
|
||||||
|
})
|
||||||
|
</script>
|
@ -0,0 +1,114 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
<%@page import="util.Info"%>
|
||||||
|
<%@page import="dao.CommDAO"%>
|
||||||
|
<%@page import="util.PageManager"%>
|
||||||
|
<h5 class="sidenav-heading">系统菜单</h5>
|
||||||
|
<ul id="side-main-menu" class="side-menu list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="#ww1" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>系统用户管理 </a>
|
||||||
|
<ul id="ww1" class="collapse list-unstyled ">
|
||||||
|
<li><a href="yhzhgl.jsp" target="hsgmain">管理员用户</a></li>
|
||||||
|
<li><a href="mod.jsp" target="hsgmain">修改密码</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww2" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>新闻数据管理 </a>
|
||||||
|
<ul id="ww2" class="collapse list-unstyled ">
|
||||||
|
<li><a href="xinwentongzhi_add.jsp?lb=3" target="hsgmain">饮食健康添加</a></li>
|
||||||
|
<li><a href="xinwentongzhi_list.jsp?lb=3" target="hsgmain">饮食健康查询</a></li>
|
||||||
|
<li><a href="xinwentongzhi_add.jsp?lb=1" target="hsgmain">通知公告添加</a></li>
|
||||||
|
<li><a href="xinwentongzhi_list.jsp?lb=1" target="hsgmain">通知公告查询</a></li>
|
||||||
|
<li><a href="xinwentongzhi_add.jsp?lb=2" target="hsgmain">健身资讯添加</a></li>
|
||||||
|
<li><a href="xinwentongzhi_list.jsp?lb=2" target="hsgmain">健身资讯查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww3" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>系统简介设置 </a>
|
||||||
|
<ul id="ww3" class="collapse list-unstyled ">
|
||||||
|
<li><a href="dx.jsp?lb=1" target="hsgmain">系统简介设置</a></li>
|
||||||
|
<li><a href="dx.jsp?lb=2" target="hsgmain">关于我们设置</a></li>
|
||||||
|
<li><a href="dx.jsp?lb=3" target="hsgmain">联系方式设置</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww4" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>用户注册管理 </a>
|
||||||
|
<ul id="ww4" class="collapse list-unstyled ">
|
||||||
|
<li><a href="yonghuzhuce_list.jsp" target="hsgmain">用户注册管理</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww5" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>留言管理 </a>
|
||||||
|
<ul id="ww5" class="collapse list-unstyled ">
|
||||||
|
<li><a href="liuyanban_list.jsp" target="hsgmain">留言管理</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li><a href="#ww7" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>变幻图管理 </a>
|
||||||
|
<ul id="ww7" class="collapse list-unstyled ">
|
||||||
|
<li><a href="xinwentongzhi_add.jsp?lb=4" target="hsgmain">变幻图添加</a></li>
|
||||||
|
<li><a href="xinwentongzhi_list.jsp?lb=4" target="hsgmain">变幻图查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww8" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>教练管理 </a>
|
||||||
|
<ul id="ww8" class="collapse list-unstyled ">
|
||||||
|
<li><a href="jiaolian_add.jsp" target="hsgmain">教练添加</a></li>
|
||||||
|
<li><a href="jiaolian_list.jsp" target="hsgmain">教练查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww9" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>课程管理 </a>
|
||||||
|
<ul id="ww9" class="collapse list-unstyled ">
|
||||||
|
<li><a href="kechengxinxi_list.jsp" target="hsgmain">课程查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww10" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>报名管理 </a>
|
||||||
|
<ul id="ww10" class="collapse list-unstyled ">
|
||||||
|
<li><a href="baomingxinxi_list.jsp" target="hsgmain">报名查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww11" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>器材管理 </a>
|
||||||
|
<ul id="ww11" class="collapse list-unstyled ">
|
||||||
|
<li><a href="qicaixinxi_add.jsp" target="hsgmain">器材添加</a></li>
|
||||||
|
<li><a href="qicaixinxi_list.jsp" target="hsgmain">器材查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww12" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>健身管理 </a>
|
||||||
|
<ul id="ww12" class="collapse list-unstyled ">
|
||||||
|
<li><a href="jianshenxinxi_list.jsp" target="hsgmain">健身查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww13" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>充值管理 </a>
|
||||||
|
<ul id="ww13" class="collapse list-unstyled ">
|
||||||
|
<li><a href="chongzhixinxi_add.jsp" target="hsgmain">充值添加</a></li>
|
||||||
|
<li><a href="chongzhixinxi_list.jsp" target="hsgmain">充值查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww14" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>健身统计 </a>
|
||||||
|
<ul id="ww14" class="collapse list-unstyled ">
|
||||||
|
<li><a href="jianshenxinxi_tj_jianshenleixing.jsp" target="hsgmain">按健身类型统计</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww15" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>系统管理 </a>
|
||||||
|
<ul id="ww15" class="collapse list-unstyled ">
|
||||||
|
<li><a href="databack.jsp" target="hsgmain">数据备份</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,25 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
<%@page import="util.Info"%>
|
||||||
|
<%@page import="dao.CommDAO"%>
|
||||||
|
<%@page import="util.PageManager"%>
|
||||||
|
<h5 class="sidenav-heading">系统菜单</h5>
|
||||||
|
<ul id="side-main-menu" class="side-menu list-unstyled">
|
||||||
|
<li><a href="#ww1" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>个人资料管理 </a>
|
||||||
|
<ul id="ww1" class="collapse list-unstyled ">
|
||||||
|
<li><a href="jiaolian_updt2.jsp" target="hsgmain">修改个人资料</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww2" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>课程管理 </a>
|
||||||
|
<ul id="ww2" class="collapse list-unstyled ">
|
||||||
|
<li><a href="kechengxinxi_add.jsp" target="hsgmain">课程添加</a></li>
|
||||||
|
<li><a href="kechengxinxi_list2.jsp" target="hsgmain">课程查询</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww3" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>报名管理 </a>
|
||||||
|
<ul id="ww3" class="collapse list-unstyled ">
|
||||||
|
<li><a href="baomingxinxi_list3.jsp" target="hsgmain">报名查询</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,45 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
<%@page import="util.Info"%>
|
||||||
|
<%@page import="dao.CommDAO"%>
|
||||||
|
<%@page import="util.PageManager"%>
|
||||||
|
<h5 class="sidenav-heading">系统菜单</h5>
|
||||||
|
<ul id="side-main-menu" class="side-menu list-unstyled">
|
||||||
|
|
||||||
|
|
||||||
|
<li><a href="#ww1" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>个人资料管理 </a>
|
||||||
|
<ul id="ww1" class="collapse list-unstyled ">
|
||||||
|
<li><a href="yonghuzhuce_updt2.jsp" target="hsgmain">修改个人资料</a></li>
|
||||||
|
<li><a href="chongzhixinxi_list2.jsp" target="hsgmain">充值记录</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li><a href="#ww4" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>报名管理 </a>
|
||||||
|
<ul id="ww4" class="collapse list-unstyled ">
|
||||||
|
|
||||||
|
<li><a href="baomingxinxi_list2.jsp" target="hsgmain">报名查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww5" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>健身管理 </a>
|
||||||
|
<ul id="ww5" class="collapse list-unstyled ">
|
||||||
|
<li><a href="jianshenxinxi_add.jsp" target="hsgmain">健身添加</a></li>
|
||||||
|
<li><a href="jianshenxinxi_list2.jsp" target="hsgmain">健身查询</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a href="#ww14" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>健身统计 </a>
|
||||||
|
<ul id="ww14" class="collapse list-unstyled ">
|
||||||
|
<li><a href="jianshenxinxi_tj_jianshenleixing2.jsp" target="hsgmain">按健身类型统计</a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,54 @@
|
|||||||
|
<%@ 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 href="css.css" type=text/css rel=stylesheet>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body >
|
||||||
|
<p>已有留言板列表:</p>
|
||||||
|
|
||||||
|
|
||||||
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#00FFFF" style="border-collapse:collapse">
|
||||||
|
<tr>
|
||||||
|
<td width="4%" bgcolor="A4B6D7">序号</td>
|
||||||
|
<td width="12%" bgcolor='#A4B6D7'>昵称</td><td width="4%" bgcolor='#A4B6D7'>头像</td><td width="10%" bgcolor='#A4B6D7'>QQ</td><td width="11%" bgcolor='#A4B6D7'>邮箱</td><td width="16%" bgcolor='#A4B6D7'>电话</td>
|
||||||
|
<td width="12%" bgcolor="A4B6D7">内容</td>
|
||||||
|
<td width="12%" bgcolor="A4B6D7">添加时间</td>
|
||||||
|
|
||||||
|
<td width="11%" bgcolor="A4B6D7">回复内容</td>
|
||||||
|
<td width="8%" bgcolor="A4B6D7">操作</td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
new CommDAO().delete(request,"liuyanban");
|
||||||
|
String url = "liuyanban_list.jsp?1=1";
|
||||||
|
String sql = "select * from liuyanban where 1=1 ";
|
||||||
|
sql+=" order by id desc";
|
||||||
|
//out.print(sql);
|
||||||
|
ArrayList<HashMap> list = PageManager.getPages(url,10,sql, request );
|
||||||
|
int i=0;
|
||||||
|
for(HashMap map:list){
|
||||||
|
i++;
|
||||||
|
%>
|
||||||
|
<tr>
|
||||||
|
<td><%=i %></td>
|
||||||
|
<td><%=map.get("cheng") %></td><td><%= map.get("xingbie") %></td><td><%= map.get("QQ") %></td><td><%= map.get("youxiang") %></td><td><%= map.get("dianhua") %></td>
|
||||||
|
<td><%= map.get("neirong") %></td>
|
||||||
|
<td><%= map.get("addtime") %></td>
|
||||||
|
<td><%= map.get("huifuneirong") %></td>
|
||||||
|
<td> <a href="liuyanban_list.jsp?scid=<%=map.get("id") %>" onClick="return confirm('真的要删除?')">删除</a> <a href="hf.jsp?id=<%=map.get("id")%>">回复</a></td>
|
||||||
|
</tr>
|
||||||
|
<%
|
||||||
|
}
|
||||||
|
%>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
以上数据共<%=i %>条,<a style="cursor:pointer" onClick="javascript:window.print();">打印本页</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,101 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
||||||
|
<%@page import="util.Info"%>
|
||||||
|
<%@page import="dao.CommDAO"%>
|
||||||
|
<%@page import="util.PageManager"%>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>健身房管理系统</title>
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="robots" content="all,follow">
|
||||||
|
<link rel="stylesheet" href="images/vendor/bootstrap/css/bootstrap.min.css">
|
||||||
|
<link rel="stylesheet" href="images/vendor/font-awesome/css/font-awesome.min.css">
|
||||||
|
<link rel="stylesheet" href="images/css/fontastic.css">
|
||||||
|
<link rel="stylesheet" href="images/css/grasp_mobile_progress_circle-1.0.0.min.css">
|
||||||
|
<link rel="stylesheet" href="images/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css">
|
||||||
|
<link rel="stylesheet" href="images/css/style.default.css" id="theme-stylesheet">
|
||||||
|
<link rel="stylesheet" href="images/css/custom.css">
|
||||||
|
<link rel="shortcut icon" href="images/img/favicon.ico">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
|
||||||
|
<script type="text/javascript">
|
||||||
|
<%
|
||||||
|
String error = (String)request.getAttribute("error");
|
||||||
|
if(error!=null)
|
||||||
|
{
|
||||||
|
%>
|
||||||
|
alert("用户名或密码错误");
|
||||||
|
<%}%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
String random = (String)request.getAttribute("random");
|
||||||
|
if(random!=null)
|
||||||
|
{
|
||||||
|
%>
|
||||||
|
alert("验证码错误");
|
||||||
|
<%}%>
|
||||||
|
popheight = 39;
|
||||||
|
function check()
|
||||||
|
{
|
||||||
|
if(document.form1.username.value=="" || document.form1.pwd.value=="" || document.form1.rand.value=="")
|
||||||
|
{
|
||||||
|
alert('请输入完整');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function loadimage(){
|
||||||
|
document.getElementById("randImage").src = "image.jsp?"+Math.random();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<body>
|
||||||
|
<div class="page login-page" style="background:url(upload/111.jpg);" >
|
||||||
|
<div class="container">
|
||||||
|
<div class="form-outer text-center d-flex align-items-center">
|
||||||
|
<div class="form-inner">
|
||||||
|
<div class="logo text-uppercase"><span></span><strong class="text-primary">健身房管理系统</strong></div>
|
||||||
|
<p style="width:600px; height:35px"></p>
|
||||||
|
|
||||||
|
<form name="form1" method="post" action="jspmjsfglxthsg8101W6B8?ac=adminlogin&a=a" class="text-left form-validate">
|
||||||
|
<div class="form-group-material">
|
||||||
|
<input id="username" type="text" name="username" required data-msg="Please enter your username" class="input-material">
|
||||||
|
<label for="login-username" class="label-material">请输入用户名</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group-material">
|
||||||
|
<input id="pwd" type="password" name="pwd" required data-msg="Please enter your password" class="input-material">
|
||||||
|
<label for="login-password" class="label-material">请输入密码</label>
|
||||||
|
</div>
|
||||||
|
<div class="form-group-material"><label for="login-username" class="label-material">权限</label>
|
||||||
|
<select name="cx" id="cx" style="width:200px; height:35px">
|
||||||
|
<option value="管理员">管理员</option>
|
||||||
|
<option value="教练">教练</option>
|
||||||
|
<option value="注册用户">注册用户</option>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="form-group-material"><label for="login-username" class="label-material">验证码</label> <a href="javascript:loadimage();"><img alt="看不清请点我!" name="randImage" id="randImage" src="image.jsp" width="60" height="20" border="1" align="absmiddle" > </a>
|
||||||
|
<input name="pagerandom" type="text" id="pagerandom" class="input-material" >
|
||||||
|
</div>
|
||||||
|
<div class="form-group text-center">
|
||||||
|
<input type="submit" name="Submit" value="登陆" class="btn btn-primary" onClick="return check();">
|
||||||
|
|
||||||
|
<input type=button name=Submit54 value=首页 onClick="javascript:location.href='index.jsp'" class="btn btn-primary" />
|
||||||
|
<input name="login" type="hidden" id="login" value="1">
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="copyrights text-center"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src="images/vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="images/vendor/popper.js/umd/popper.min.js"> </script>
|
||||||
|
<script src="images/vendor/bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
<script src="images/js/grasp_mobile_progress_circle-1.0.0.min.js"></script>
|
||||||
|
<script src="images/vendor/jquery.cookie/jquery.cookie.js"> </script>
|
||||||
|
<script src="images/vendor/chart.js/Chart.min.js"></script>
|
||||||
|
<script src="images/vendor/jquery-validation/jquery.validate.min.js"></script>
|
||||||
|
<script src="images/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js"></script>
|
||||||
|
<script src="images/js/front.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,28 @@
|
|||||||
|
<%@ page language="java" pageEncoding="gb2312"%>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<base href="<%=basePath%>">
|
||||||
|
|
||||||
|
<title>My JSP 'adminyanzheng.jsp' starting page</title>
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<%
|
||||||
|
|
||||||
|
|
||||||
|
session.invalidate();
|
||||||
|
response.sendRedirect("index.jsp");
|
||||||
|
|
||||||
|
|
||||||
|
%>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,60 @@
|
|||||||
|
<%@ 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>
|
||||||
|
<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">GuestBook</p>
|
||||||
|
<div class="desc">
|
||||||
|
<%
|
||||||
|
String url = "lyblist.jsp?1=1";
|
||||||
|
String sql = "select * from liuyanban order by id desc";
|
||||||
|
//out.print(sql);
|
||||||
|
ArrayList<HashMap> list = PageManager.getPages(url,4,sql, request );
|
||||||
|
int i=0;
|
||||||
|
for(HashMap map:list){
|
||||||
|
i++;
|
||||||
|
%>
|
||||||
|
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#67B41A" class="newsline">
|
||||||
|
<tr>
|
||||||
|
<td width="85" rowspan="4" align="center" valign="middle" bgcolor="#FFFFFF"><img width='70'height='70' src=img/<%=map.get("xingbie") %>.gif border=0> </td>
|
||||||
|
<td height="20" align="left" valign="middle" bgcolor="#FFFFFF"> 留言于:<%=map.get("addtime") %> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td height="78" align="left" valign="top" bgcolor="#FFFFFF"> <%=map.get("neirong") %></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle" bgcolor="#FFFFFF" style="height: 25px"> 昵称:<%=map.get("cheng") %> 电话:<%=map.get("dianhua") %> 邮 箱:<%=map.get("youxiang") %> QQ:<%=map.get("QQ") %> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="left" valign="middle" bgcolor="#FFFFFF" style="height: 25px"> 管理员回复:<%=map.get("huifuneirong") %></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<%} %>
|
||||||
|
<div class="fy">${page.info } </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<%@ include file="yqlj.jsp"%>
|
||||||
|
<%@ include file="qtdown.jsp"%>
|
||||||
|
<%@ include file="kefutiao.jsp"%>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
Loading…
Reference in new issue