From c7b80efe6bb2739e18754cf915c5c863648c6c30 Mon Sep 17 00:00:00 2001
From: a0943e165b <2286562715@qq.com>
Date: Fri, 28 Jun 2024 20:08:28 +0800
Subject: [PATCH] test
---
HellowNote/jiaolian_add.jsp | 107 +++++++++++++++++++++
HellowNote/jiaolian_detail.jsp | 31 ++++++
HellowNote/jiaolian_list.jsp | 66 +++++++++++++
HellowNote/jiaolian_list_yanben.jsp | 66 +++++++++++++
HellowNote/jiaolian_listxls.jsp | 54 +++++++++++
HellowNote/jiaolian_updt.jsp | 58 ++++++++++++
HellowNote/jiaolian_updt2.jsp | 58 ++++++++++++
HellowNote/jiaoliandetail.jsp | 61 ++++++++++++
HellowNote/jiaoliandetail_yanben.jsp | 61 ++++++++++++
HellowNote/jiaolianlist.jsp | 89 ++++++++++++++++++
HellowNote/jiaolianlisttp.jsp | 92 ++++++++++++++++++
HellowNote/jrsc.jsp | 33 +++++++
HellowNote/kechengxinxi_add.jsp | 97 +++++++++++++++++++
HellowNote/kechengxinxi_baomingxinxi.jsp | 67 +++++++++++++
HellowNote/kechengxinxi_detail.jsp | 31 ++++++
HellowNote/kechengxinxi_list.jsp | 58 ++++++++++++
HellowNote/kechengxinxi_list2.jsp | 62 ++++++++++++
HellowNote/kechengxinxi_list_yanben.jsp | 66 +++++++++++++
HellowNote/kechengxinxi_listxls.jsp | 54 +++++++++++
HellowNote/kechengxinxi_updt.jsp | 58 ++++++++++++
HellowNote/kechengxinxidetail.jsp | 62 ++++++++++++
HellowNote/kechengxinxidetail_yanben.jsp | 61 ++++++++++++
HellowNote/kechengxinxilist.jsp | 97 +++++++++++++++++++
HellowNote/kechengxinxilisttp.jsp | 91 ++++++++++++++++++
HellowNote/kefutiao.jsp | 33 +++++++
HellowNote/left_guanliyuan.jsp | 114 +++++++++++++++++++++++
HellowNote/left_jiaolian.jsp | 25 +++++
HellowNote/left_zhuceyonghu.jsp | 45 +++++++++
HellowNote/liuyanban_list.jsp | 54 +++++++++++
HellowNote/login.jsp | 101 ++++++++++++++++++++
HellowNote/logout.jsp | 28 ++++++
HellowNote/lyb.jsp | 102 ++++++++++++++++++++
HellowNote/lyblist.jsp | 60 ++++++++++++
33 files changed, 2142 insertions(+)
create mode 100644 HellowNote/jiaolian_add.jsp
create mode 100644 HellowNote/jiaolian_detail.jsp
create mode 100644 HellowNote/jiaolian_list.jsp
create mode 100644 HellowNote/jiaolian_list_yanben.jsp
create mode 100644 HellowNote/jiaolian_listxls.jsp
create mode 100644 HellowNote/jiaolian_updt.jsp
create mode 100644 HellowNote/jiaolian_updt2.jsp
create mode 100644 HellowNote/jiaoliandetail.jsp
create mode 100644 HellowNote/jiaoliandetail_yanben.jsp
create mode 100644 HellowNote/jiaolianlist.jsp
create mode 100644 HellowNote/jiaolianlisttp.jsp
create mode 100644 HellowNote/jrsc.jsp
create mode 100644 HellowNote/kechengxinxi_add.jsp
create mode 100644 HellowNote/kechengxinxi_baomingxinxi.jsp
create mode 100644 HellowNote/kechengxinxi_detail.jsp
create mode 100644 HellowNote/kechengxinxi_list.jsp
create mode 100644 HellowNote/kechengxinxi_list2.jsp
create mode 100644 HellowNote/kechengxinxi_list_yanben.jsp
create mode 100644 HellowNote/kechengxinxi_listxls.jsp
create mode 100644 HellowNote/kechengxinxi_updt.jsp
create mode 100644 HellowNote/kechengxinxidetail.jsp
create mode 100644 HellowNote/kechengxinxidetail_yanben.jsp
create mode 100644 HellowNote/kechengxinxilist.jsp
create mode 100644 HellowNote/kechengxinxilisttp.jsp
create mode 100644 HellowNote/kefutiao.jsp
create mode 100644 HellowNote/left_guanliyuan.jsp
create mode 100644 HellowNote/left_jiaolian.jsp
create mode 100644 HellowNote/left_zhuceyonghu.jsp
create mode 100644 HellowNote/liuyanban_list.jsp
create mode 100644 HellowNote/login.jsp
create mode 100644 HellowNote/logout.jsp
create mode 100644 HellowNote/lyb.jsp
create mode 100644 HellowNote/lyblist.jsp
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");
+ %>
+ 教练详细:
+
+
+
+
+
+
+
+
+
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");
+
+%>
+
+
+
+
+
+
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");
+%>
+
+
+
+
+
+
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"%>
+
+ <%@ 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"%>
+
+ <%@ 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"%>
+
+ <%@ 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"%>
+
+ <%@ 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");
+ %>
+ 课程信息详细:
+
+
+
+
+
+
+
+
+
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"%>
+
+
+ 课程信息
+
+
+
+
+
+ 已有课程信息列表:
+
+
+${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");
+
+%>
+
+
+
+
+
+
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"%>
+
+ <%@ 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"%>
+
+ <%@ 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("
");
+ }
+ }
+
+ %>
+
+
+
+${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"%>
+
+
+
+ 留言板
+
+
+
+
+
+ 已有留言板列表:
+
+
+
+
+ 序号 |
+ 昵称 | 头像 | QQ | 邮箱 | 电话 |
+ 内容 |
+ 添加时间 |
+
+ 回复内容 |
+ 操作 |
+
+ <%
+ 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++;
+ %>
+
+ <%=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"%>
+
+ <%@ 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"%>
+
+
+