diff --git a/HellowNote/jiaolian_add.jsp b/HellowNote/jiaolian_add.jsp new file mode 100644 index 0000000..af5be25 --- /dev/null +++ b/HellowNote/jiaolian_add.jsp @@ -0,0 +1,107 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 教练 + + + + + + + +<% + String id=""; + + + %> + + + <% +HashMap ext = new HashMap(); +if(request.getParameter("f")!=null){ + + + + + + + + + + +new CommDAO().insert(request,response,"jiaolian",ext,true,false,""); + +} + +%> + + +
+ 添加教练: +

+ + + + + + +
工号: *
密码: *
姓名: *
性别:
年龄: 
照片:
 
专长:
个人简介:
联系方式: 
地址:
  +
+
+ + + + + + + + +<%@page import="java.util.ArrayList"%> +<%@page import="java.util.HashMap"%> + + + + + diff --git a/HellowNote/jiaolian_detail.jsp b/HellowNote/jiaolian_detail.jsp new file mode 100644 index 0000000..697ee27 --- /dev/null +++ b/HellowNote/jiaolian_detail.jsp @@ -0,0 +1,31 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 教练详细 + + + + + + + <% + String id=request.getParameter("id"); + HashMap m = new CommDAO().getmap(id,"jiaolian"); + %> + 教练详细: +

+ + + + + +
工号:<%=m.get("gonghao")%> target=_blank> width=228 height=215 border=0>
密码:<%=m.get("mima")%>
姓名:<%=m.get("xingming")%>
性别:<%=m.get("xingbie")%>
年龄:<%=m.get("nianling")%>
专长:<%=m.get("zhuanchang")%>
联系方式:<%=m.get("lianxifangshi")%>
地址:<%=m.get("dizhi")%>
个人简介:<%=m.get("gerenjianjie")%>
 
+ + + + + + diff --git a/HellowNote/jiaolian_list.jsp b/HellowNote/jiaolian_list.jsp new file mode 100644 index 0000000..11046bd --- /dev/null +++ b/HellowNote/jiaolian_list.jsp @@ -0,0 +1,66 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 教练 + + + + + + + +

已有教练列表:

+
+ 搜索: 工号: 性别: 专长: + +
+ + + + + + + + + + + <% + + + + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + + + + + + + <% + } + %> +
序号工号 密码 姓名 性别 年龄 照片 专长 联系方式 地址添加时间操作
<%=i %><%=map.get("gonghao") %> <%=map.get("mima") %> <%=map.get("xingming") %> <%=map.get("xingbie") %> <%=map.get("nianling") %> <%=map.get("zhuanchang") %> <%=map.get("lianxifangshi") %> <%=map.get("dizhi") %><%=map.get("addtime") %>">修改 " onClick="return confirm('真的要删除?')">删除 " target="_blank">详细
+
+ +

${page.info }

+ + + + + diff --git a/HellowNote/jiaolian_list_yanben.jsp b/HellowNote/jiaolian_list_yanben.jsp new file mode 100644 index 0000000..7442380 --- /dev/null +++ b/HellowNote/jiaolian_list_yanben.jsp @@ -0,0 +1,66 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 教练 + + + + + + + +

已有教练列表:

+
+ 搜索: 工号: 性别: 专长: + +
+ + + + + + + + + + + <% + + + + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + + + + + + + <% + } + %> +
序号工号 密码 姓名 性别 年龄 照片 专长 联系方式 地址添加时间操作
<%=i %><%=map.get("gonghao") %> <%=map.get("mima") %> <%=map.get("xingming") %> <%=map.get("xingbie") %> <%=map.get("nianling") %> <%=map.get("zhuanchang") %> <%=map.get("lianxifangshi") %> <%=map.get("dizhi") %><%=map.get("addtime") %> " target="_blank">详细
+
+ +

${page.info }

+ + + + + diff --git a/HellowNote/jiaolian_listxls.jsp b/HellowNote/jiaolian_listxls.jsp new file mode 100644 index 0000000..858c057 --- /dev/null +++ b/HellowNote/jiaolian_listxls.jsp @@ -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"); +%> + + + 教练 + + + + + +

已有教练列表:

+ + + + + + + + + + + <% + + String url = "jiaolian_list.jsp?1=1"; + String sql = "select * from jiaolian where 1=1"; + sql+=" order by id desc"; + ArrayList list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + %> + + + + + + <% + } + %> +
序号工号 密码 姓名 性别 年龄 照片 专长 联系方式 地址添加时间
<%=i %><%=map.get("gonghao") %> <%=map.get("mima") %> <%=map.get("xingming") %> <%=map.get("xingbie") %> <%=map.get("nianling") %> <%=map.get("zhuanchang") %> <%=map.get("lianxifangshi") %> <%=map.get("dizhi") %><%=map.get("addtime") %>
+ +
+以上数据共<%=i %>条 + + + diff --git a/HellowNote/jiaolian_updt.jsp b/HellowNote/jiaolian_updt.jsp new file mode 100644 index 0000000..3020ce4 --- /dev/null +++ b/HellowNote/jiaolian_updt.jsp @@ -0,0 +1,58 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 教练 + + + + + + + + + + + <% + +String id = request.getParameter("id"); + +HashMap ext = new HashMap(); + +new CommDAO().update(request,response,"jiaolian",ext,true,false,""); +HashMap mmm = new CommDAO().getmap(id,"jiaolian"); + +%> +
" method="post" name="form1" onsubmit="return checkform();"> + 修改教练: +

+ + + + + + + +
工号:
密码:
姓名:
性别:
年龄:
照片:
 
专长:
个人简介:
联系方式:
地址:
  +
+
+ + + + + diff --git a/HellowNote/jiaolian_updt2.jsp b/HellowNote/jiaolian_updt2.jsp new file mode 100644 index 0000000..73f89ef --- /dev/null +++ b/HellowNote/jiaolian_updt2.jsp @@ -0,0 +1,58 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 教练 + + + + + + + + + + +<% + +String id = request.getParameter("id"); +HashMap ext = new HashMap(); +new CommDAO().update(request,response,"jiaolian",ext,true,false,""); +HashMap mmm = new CommDAO().getmaps("gonghao",(String)request.getSession().getAttribute("username"),"jiaolian"); +%> +
" method="post" name="form1" onsubmit="return checkform();"> + 修改教练: +

+ <% + + %> + + + + + + +
工号:
密码:
姓名:
性别:
年龄:
照片:
 
专长:
个人简介:
联系方式:
地址:
  +
+
+ + + + + diff --git a/HellowNote/jiaoliandetail.jsp b/HellowNote/jiaoliandetail.jsp new file mode 100644 index 0000000..d98ea5f --- /dev/null +++ b/HellowNote/jiaoliandetail.jsp @@ -0,0 +1,61 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 教练 + + + + + + +<% + + String id=request.getParameter("id"); + HashMap mqt = new CommDAO().getmap(id,"jiaolian"); + + + %> + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

教练

+

Details

+
+ + + + + + + +
工号:<%=mqt.get("gonghao")%> target=_blank> width=228 height=215 border=0>
密码:******
姓名:<%=mqt.get("xingming")%>
性别:<%=mqt.get("xingbie")%>
年龄:<%=mqt.get("nianling")%>
专长:<%=mqt.get("zhuanchang")%>
联系方式:<%=mqt.get("lianxifangshi")%>
地址:<%=mqt.get("dizhi")%>
个人简介:<%=mqt.get("gerenjianjie")%>
+ + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + diff --git a/HellowNote/jiaoliandetail_yanben.jsp b/HellowNote/jiaoliandetail_yanben.jsp new file mode 100644 index 0000000..03e25cd --- /dev/null +++ b/HellowNote/jiaoliandetail_yanben.jsp @@ -0,0 +1,61 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 教练 + + + + + + +<% + + String id=request.getParameter("id"); + HashMap mqt = new CommDAO().getmap(id,"jiaolian"); + + + %> + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

教练

+

Details

+
+ + + + + + + +
工号:<%=mqt.get("gonghao")%> target=_blank> width=228 height=215 border=0>
密码:******
姓名:<%=mqt.get("xingming")%>
性别:<%=mqt.get("xingbie")%>
年龄:<%=mqt.get("nianling")%>
专长:<%=mqt.get("zhuanchang")%>
联系方式:<%=mqt.get("lianxifangshi")%>
地址:<%=mqt.get("dizhi")%>
个人简介:<%=mqt.get("gerenjianjie")%>
+ + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + diff --git a/HellowNote/jiaolianlist.jsp b/HellowNote/jiaolianlist.jsp new file mode 100644 index 0000000..9b2b72e --- /dev/null +++ b/HellowNote/jiaolianlist.jsp @@ -0,0 +1,89 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 教练 + + + + + +<% + +%> + + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

教练

+

Details

+
+ + + +
+ 搜索: 工号: 性别: 专长: + +
+ + + + + + + + <% + + + + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + + + + + + <% + } + %> +
序号工号 密码 姓名 性别 年龄 照片 专长 联系方式 地址详细
<%=i %><%=map.get("gonghao") %><%=map.get("mima") %><%=map.get("xingming") %><%=map.get("xingbie") %><%=map.get("nianling") %><%=map.get("zhuanchang") %><%=map.get("lianxifangshi") %><%=map.get("dizhi") %> " >详细

+ + +${page.info } + + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + diff --git a/HellowNote/jiaolianlisttp.jsp b/HellowNote/jiaolianlisttp.jsp new file mode 100644 index 0000000..6d0a433 --- /dev/null +++ b/HellowNote/jiaolianlisttp.jsp @@ -0,0 +1,92 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 教练 + + + + + +<% + +%> + + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

教练

+

Details

+
+ + + +
+ 搜索: 工号: 性别: 专长: + +
+ + + <% + + + + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + <% + if (i==4) + { + i=0; + out.print(""); + } + } + + %> + +
+ + + + + + +
">" width="210" height="250" border="0" style="border-radius: 18px;" />
<%=map.get("xingming")%>
+ +${page.info } + + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + diff --git a/HellowNote/jrsc.jsp b/HellowNote/jrsc.jsp new file mode 100644 index 0000000..982acd6 --- /dev/null +++ b/HellowNote/jrsc.jsp @@ -0,0 +1,33 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + + + 加入收藏 + + + <% + if((String)request.getSession().getAttribute("username")==null || (String)request.getSession().getAttribute("username")=="") +{ + out.print(""); + +} +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(""); +} +%> + + + + diff --git a/HellowNote/kechengxinxi_add.jsp b/HellowNote/kechengxinxi_add.jsp new file mode 100644 index 0000000..2ea2c52 --- /dev/null +++ b/HellowNote/kechengxinxi_add.jsp @@ -0,0 +1,97 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 课程信息 + + + + + + + +<% + String id=""; + + + %> + + + <% +HashMap ext = new HashMap(); +if(request.getParameter("f")!=null){ + + + +ext.put("issh","否"); + + + + + + +new CommDAO().insert(request,response,"kechengxinxi",ext,true,false,""); + +} + +%> + + +
+ 添加课程信息: +

+ + + + + + +
教练:
课程名称:
锻炼部位:
课程日期:
课时安排:
学费: 
封面:
 
课程内容:
课程介绍:
  +
+
+ + + + + + + + +<%@page import="java.util.ArrayList"%> +<%@page import="java.util.HashMap"%> + + + + + diff --git a/HellowNote/kechengxinxi_baomingxinxi.jsp b/HellowNote/kechengxinxi_baomingxinxi.jsp new file mode 100644 index 0000000..c5878f9 --- /dev/null +++ b/HellowNote/kechengxinxi_baomingxinxi.jsp @@ -0,0 +1,67 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 课程信息 + + + + + + + +

已有课程信息列表:

+
+ 搜索: + +
+ + + + + + + + + + + <% + + + + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + + + + + + + <% + } + %> +
序号教练 课程名称 锻炼部位 课程日期 学费 封面 是否审核添加时间操作
<%=i %><%=map.get("jiaolian") %> <%=map.get("kechengmingcheng") %> <%=map.get("duanlianbuwei") %> <%=map.get("kechengriqi") %> <%=map.get("xuefei") %> &yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onclick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%><%=map.get("addtime") %>添加报名信息 " target="_blank">详细
+
+ +

${page.info }

+ + + + + + diff --git a/HellowNote/kechengxinxi_detail.jsp b/HellowNote/kechengxinxi_detail.jsp new file mode 100644 index 0000000..fdbaa8e --- /dev/null +++ b/HellowNote/kechengxinxi_detail.jsp @@ -0,0 +1,31 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 课程信息详细 + + + + + + + <% + String id=request.getParameter("id"); + HashMap m = new CommDAO().getmap(id,"kechengxinxi"); + %> + 课程信息详细: +

+ + + + + +
教练:<%=m.get("jiaolian")%> target=_blank> width=228 height=215 border=0>
课程名称:<%=m.get("kechengmingcheng")%>
锻炼部位:<%=m.get("duanlianbuwei")%>
课程日期:<%=m.get("kechengriqi")%>
学费:<%=m.get("xuefei")%>
课时安排:<%=m.get("keshianpai")%>
课程内容:<%=m.get("kechengneirong")%>
课程介绍:<%=m.get("kechengjieshao")%>
 
+ + + + + + diff --git a/HellowNote/kechengxinxi_list.jsp b/HellowNote/kechengxinxi_list.jsp new file mode 100644 index 0000000..a035da6 --- /dev/null +++ b/HellowNote/kechengxinxi_list.jsp @@ -0,0 +1,58 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 课程信息 + + + + + +

已有课程信息列表:

+ + + + + + + + + + + + + + <% + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + %> + + + + + + + + + + + + + + <% + } + %> +
序号教练课程名称锻炼部位课程日期学费封面是否审核添加时间操作
<%=i %><%=map.get("jiaolian") %><%=map.get("kechengmingcheng") %><%=map.get("duanlianbuwei") %><%=map.get("kechengriqi") %><%=map.get("xuefei") %>&yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onClick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%><%=map.get("addtime") %>">修改 " onClick="return confirm('真的要删除?')">删除 " target="_blank">详细
+
+

${page.info }

+ + + diff --git a/HellowNote/kechengxinxi_list2.jsp b/HellowNote/kechengxinxi_list2.jsp new file mode 100644 index 0000000..8e5e20d --- /dev/null +++ b/HellowNote/kechengxinxi_list2.jsp @@ -0,0 +1,62 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 课程信息 + + + + + + + +

已有课程信息列表:

+
+ 搜索: + +
+ + + + + + + + + <% + + + + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + + + + + + <% + } + %> +
序号教练 课程名称 锻炼部位 课程日期 学费 封面 是否审核添加时间操作
<%=i %><%=map.get("jiaolian") %> <%=map.get("kechengmingcheng") %> <%=map.get("duanlianbuwei") %> <%=map.get("kechengriqi") %> <%=map.get("xuefei") %> <%=map.get("issh")%><%=map.get("addtime") %>">修改 " onClick="return confirm('真的要删除?')">删除 " target="_blank">详细

+ +

${page.info }

+ + + + + diff --git a/HellowNote/kechengxinxi_list_yanben.jsp b/HellowNote/kechengxinxi_list_yanben.jsp new file mode 100644 index 0000000..6050ad1 --- /dev/null +++ b/HellowNote/kechengxinxi_list_yanben.jsp @@ -0,0 +1,66 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 课程信息 + + + + + + + +

已有课程信息列表:

+
+ 搜索: + +
+ + + + + + + + + + + <% + + + + 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 list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + + + + + + + <% + } + %> +
序号教练 课程名称 锻炼部位 课程日期 学费 封面 是否审核添加时间操作
<%=i %><%=map.get("jiaolian") %> <%=map.get("kechengmingcheng") %> <%=map.get("duanlianbuwei") %> <%=map.get("kechengriqi") %> <%=map.get("xuefei") %> &yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onclick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%><%=map.get("addtime") %> " target="_blank">详细
+
+ +

${page.info }

+ + + + + diff --git a/HellowNote/kechengxinxi_listxls.jsp b/HellowNote/kechengxinxi_listxls.jsp new file mode 100644 index 0000000..ec8ea29 --- /dev/null +++ b/HellowNote/kechengxinxi_listxls.jsp @@ -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"); +%> + + + 课程信息 + + + + + +

已有课程信息列表:

+ + + + + + + + + + + <% + + String url = "kechengxinxi_list.jsp?1=1"; + String sql = "select * from kechengxinxi where 1=1"; + sql+=" order by id desc"; + ArrayList list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + %> + + + + + + <% + } + %> +
序号教练 课程名称 锻炼部位 课程日期 学费 封面 是否审核添加时间
<%=i %><%=map.get("jiaolian") %> <%=map.get("kechengmingcheng") %> <%=map.get("duanlianbuwei") %> <%=map.get("kechengriqi") %> <%=map.get("xuefei") %> &yuan=<%=map.get("issh")%>&tablename=kechengxinxi" onclick="return confirm('您确定要执行此操作?')"><%=map.get("issh")%><%=map.get("addtime") %>
+ +
+以上数据共<%=i %>条 + + + diff --git a/HellowNote/kechengxinxi_updt.jsp b/HellowNote/kechengxinxi_updt.jsp new file mode 100644 index 0000000..957b19e --- /dev/null +++ b/HellowNote/kechengxinxi_updt.jsp @@ -0,0 +1,58 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + 课程信息 + + + + + + + + + + + <% + +String id = request.getParameter("id"); + +HashMap ext = new HashMap(); + +new CommDAO().update(request,response,"kechengxinxi",ext,true,false,""); +HashMap mmm = new CommDAO().getmap(id,"kechengxinxi"); + +%> +
" method="post" name="form1" onsubmit="return checkform();"> + 修改课程信息: +

+ + + + + + + +
教练:
课程名称:
锻炼部位:
课程日期:
课时安排:
学费:
封面:
 
课程内容:
课程介绍:
  +
+
+ + + + + diff --git a/HellowNote/kechengxinxidetail.jsp b/HellowNote/kechengxinxidetail.jsp new file mode 100644 index 0000000..9305213 --- /dev/null +++ b/HellowNote/kechengxinxidetail.jsp @@ -0,0 +1,62 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 课程信息 + + + + + + +<% + + String id=request.getParameter("id"); + HashMap mqt = new CommDAO().getmap(id,"kechengxinxi"); + + + %> + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

课程信息

+

Details

+
+ + + + + + + +
教练:<%=mqt.get("jiaolian")%> target=_blank> width=228 height=215 border=0>
课程名称:<%=mqt.get("kechengmingcheng")%>
锻炼部位:<%=mqt.get("duanlianbuwei")%>
课程日期:<%=mqt.get("kechengriqi")%>
学费:<%=mqt.get("xuefei")%>
课时安排:<%=mqt.get("keshianpai")%>
课程内容:<%=mqt.get("kechengneirong")%>
课程介绍:<%=mqt.get("kechengjieshao")%>
';"/>
+ + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + + diff --git a/HellowNote/kechengxinxidetail_yanben.jsp b/HellowNote/kechengxinxidetail_yanben.jsp new file mode 100644 index 0000000..17bc5a6 --- /dev/null +++ b/HellowNote/kechengxinxidetail_yanben.jsp @@ -0,0 +1,61 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 课程信息 + + + + + + +<% + + String id=request.getParameter("id"); + HashMap mqt = new CommDAO().getmap(id,"kechengxinxi"); + + + %> + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

课程信息

+

Details

+
+ + + + + + + +
教练:<%=mqt.get("jiaolian")%> target=_blank> width=228 height=215 border=0>
课程名称:<%=mqt.get("kechengmingcheng")%>
锻炼部位:<%=mqt.get("duanlianbuwei")%>
课程日期:<%=mqt.get("kechengriqi")%>
学费:<%=mqt.get("xuefei")%>
课时安排:<%=mqt.get("keshianpai")%>
课程内容:<%=mqt.get("kechengneirong")%>
课程介绍:<%=mqt.get("kechengjieshao")%>
+ + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + diff --git a/HellowNote/kechengxinxilist.jsp b/HellowNote/kechengxinxilist.jsp new file mode 100644 index 0000000..9a9e8a1 --- /dev/null +++ b/HellowNote/kechengxinxilist.jsp @@ -0,0 +1,97 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 课程信息 + + + + + +<% + +%> + + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

课程信息

+

Details

+
+ + + +
+ +
+ + + + + + + + + + + + + + + + + <% + + + + new CommDAO().delete(request,"kechengxinxi"); + String url = "kechengxinxilist.jsp?issh=是"; + String sql = "select * from kechengxinxi where issh='是'"; + + sql+=" order by id desc"; + ArrayList list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + + + + + + <% + } + %> +
序号教练课程名称锻炼部位课程日期学费封面详细
<%=i %><%=map.get("jiaolian") %><%=map.get("kechengmingcheng") %><%=map.get("duanlianbuwei") %><%=map.get("kechengriqi") %><%=map.get("xuefei") %> " >详细

+ + +${page.info } + + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + diff --git a/HellowNote/kechengxinxilisttp.jsp b/HellowNote/kechengxinxilisttp.jsp new file mode 100644 index 0000000..0584bbb --- /dev/null +++ b/HellowNote/kechengxinxilisttp.jsp @@ -0,0 +1,91 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 课程信息 + + + + + +<% + +%> + + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

课程信息

+

Details

+
+ + + +
+ +
+ + + <% + + + + new CommDAO().delete(request,"kechengxinxi"); + String url = "kechengxinxilisttp.jsp?issh='是'"; + String sql = "select * from kechengxinxi where issh='是'"; + + sql+=" order by id desc"; + ArrayList list = PageManager.getPages(url,15,sql, request); + int i=0; + for(HashMap map:list){ + i++; + + + + + %> + + <% + if (i==4) + { + i=0; + out.print(""); + } + } + + %> + +
+ + + + + + +
">" width="210" height="250" border="0" style="border-radius: 18px;" />
<%=map.get("kechengmingcheng")%>
+ +${page.info } + + +
+ +
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + + + diff --git a/HellowNote/kefutiao.jsp b/HellowNote/kefutiao.jsp new file mode 100644 index 0000000..b5748e7 --- /dev/null +++ b/HellowNote/kefutiao.jsp @@ -0,0 +1,33 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> + + + + + \ No newline at end of file diff --git a/HellowNote/left_guanliyuan.jsp b/HellowNote/left_guanliyuan.jsp new file mode 100644 index 0000000..2a1b86c --- /dev/null +++ b/HellowNote/left_guanliyuan.jsp @@ -0,0 +1,114 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> +
系统菜单
+ + + diff --git a/HellowNote/left_jiaolian.jsp b/HellowNote/left_jiaolian.jsp new file mode 100644 index 0000000..d8a708c --- /dev/null +++ b/HellowNote/left_jiaolian.jsp @@ -0,0 +1,25 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> +
系统菜单
+ + + diff --git a/HellowNote/left_zhuceyonghu.jsp b/HellowNote/left_zhuceyonghu.jsp new file mode 100644 index 0000000..ec8119c --- /dev/null +++ b/HellowNote/left_zhuceyonghu.jsp @@ -0,0 +1,45 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> +
系统菜单
+ + + diff --git a/HellowNote/liuyanban_list.jsp b/HellowNote/liuyanban_list.jsp new file mode 100644 index 0000000..243fabd --- /dev/null +++ b/HellowNote/liuyanban_list.jsp @@ -0,0 +1,54 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 留言板 + + + + + +

已有留言板列表:

+ + + + + + + + + + + + + <% + 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 list = PageManager.getPages(url,10,sql, request ); + int i=0; + for(HashMap map:list){ + i++; + %> + + + + + + + + + <% + } + %> +
序号昵称头像QQ邮箱电话内容添加时间回复内容操作
<%=i %><%=map.get("cheng") %><%= map.get("xingbie") %><%= map.get("QQ") %><%= map.get("youxiang") %><%= map.get("dianhua") %><%= map.get("neirong") %><%= map.get("addtime") %><%= map.get("huifuneirong") %> " onClick="return confirm('真的要删除?')">删除 ">回复
+
+以上数据共<%=i %>条,打印本页 + + + diff --git a/HellowNote/login.jsp b/HellowNote/login.jsp new file mode 100644 index 0000000..65f9c02 --- /dev/null +++ b/HellowNote/login.jsp @@ -0,0 +1,101 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + + 健身房管理系统 + + + + + + + + + + + + + + +
+
+
+
+ +

+ +
+
+ + +
+
+ + +
+
+ +
+
看不清请点我! + +
+
+ + + + +
+
+
+
+
+
+
+ + + + + + + + + + + diff --git a/HellowNote/logout.jsp b/HellowNote/logout.jsp new file mode 100644 index 0000000..f7bdc38 --- /dev/null +++ b/HellowNote/logout.jsp @@ -0,0 +1,28 @@ +<%@ page language="java" pageEncoding="gb2312"%> +<% +String path = request.getContextPath(); +String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; +%> + + + + + + + My JSP 'adminyanzheng.jsp' starting page + + + + + + <% + + +session.invalidate(); +response.sendRedirect("index.jsp"); + + + %> + + + diff --git a/HellowNote/lyb.jsp b/HellowNote/lyb.jsp new file mode 100644 index 0000000..f25fdcf --- /dev/null +++ b/HellowNote/lyb.jsp @@ -0,0 +1,102 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 在线留言 + + + + + <% +HashMap ext = new HashMap(); +//ext.put("tglparentid",tglparentid); +ext.put("huifuneirong",""); +new CommDAO().insert(request,response,"liuyanban",ext,true,false,"lyblist.jsp"); +%> + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

在线留言

+

GuestBook

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
昵称:
头像: + + + + + + + + +
QQ:
邮箱:
电话:
内容: + *
  +
+
+
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + + diff --git a/HellowNote/lyblist.jsp b/HellowNote/lyblist.jsp new file mode 100644 index 0000000..01358f3 --- /dev/null +++ b/HellowNote/lyblist.jsp @@ -0,0 +1,60 @@ +<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> +<%@page import="util.Info"%> +<%@page import="dao.CommDAO"%> +<%@page import="util.PageManager"%> + + + + 在线留言 + + + + + + <%@ include file="qttop.jsp"%> +<%@ include file="bht.jsp"%> +
+
+

在线留言

+

GuestBook

+
+ <% + String url = "lyblist.jsp?1=1"; + String sql = "select * from liuyanban order by id desc"; + //out.print(sql); + ArrayList list = PageManager.getPages(url,4,sql, request ); + int i=0; + for(HashMap map:list){ + i++; + %> + + + + + + + + + + + + + + +
.gif border=0>     留言于:<%=map.get("addtime") %>  
 <%=map.get("neirong") %>
   昵称:<%=map.get("cheng") %>    电话:<%=map.get("dianhua") %>  邮 箱:<%=map.get("youxiang") %>   QQ:<%=map.get("QQ") %>   
   管理员回复:<%=map.get("huifuneirong") %>
+ <%} %> +
${page.info }
+
+
+
+ <%@ include file="yqlj.jsp"%> + <%@ include file="qtdown.jsp"%> + <%@ include file="kefutiao.jsp"%> + + +