浏览代码

上传文件至 'WebRoot3'

1801010514 5 年之前
父节点
当前提交
c2c1d67b97
共有 5 个文件被更改,包括 264 次插入0 次删除
  1. 52 0
      WebRoot3/rank_score.jsp
  2. 50 0
      WebRoot3/score_detail.jsp
  3. 59 0
      WebRoot3/score_gl.jsp
  4. 48 0
      WebRoot3/score_tt.jsp
  5. 55 0
      WebRoot3/sport_gl.jsp

+ 52 - 0
WebRoot3/rank_score.jsp

@@ -0,0 +1,52 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%
+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 'updateuser.jsp' starting page</title>
+    
+	<meta http-equiv="pragma" content="no-cache">
+	<meta http-equiv="cache-control" content="no-cache">
+	<meta http-equiv="expires" content="0">    
+	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
+	<meta http-equiv="description" content="This is my page">
+	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.1.0.min.js"></script>
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
+  </head>
+  
+  <body>
+    <body>
+	<div class="panel-body" style="padding-bottom:0px;">
+	<h2>排名</h2>
+		<table id="tb_departments"  class="table table-bordered">
+	<thead>
+		<tr>
+			<th align="center">序号</th>
+			<th align="center">运动员姓名</th>
+			<th align="center">性别</th>
+			<th align="center">运动项目</th>
+			<th align="center">成绩</th>
+		</tr>
+	</thead>
+	<tbody>
+		<c:forEach items="${list}" var="sc" varStatus="num">
+  		<tr>	<td>${num.count}</td>
+				<td>${sc.name}</td>
+				<td>${sc.sex}</td>
+				<td>${sc.xm_name}</td>
+				<td>${sc.xm_cj}</td>
+   		</tr>
+   		</c:forEach>
+	</tbody>
+		</table>
+	</div>
+  </body>
+</html>

+ 50 - 0
WebRoot3/score_detail.jsp

@@ -0,0 +1,50 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%
+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 'updateuser.jsp' starting page</title>
+    
+	<meta http-equiv="pragma" content="no-cache">
+	<meta http-equiv="cache-control" content="no-cache">
+	<meta http-equiv="expires" content="0">    
+	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
+	<meta http-equiv="description" content="This is my page">
+	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.1.0.min.js"></script>
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
+  </head>
+  
+  <body>
+    <body>
+	<div class="panel-body" style="padding-bottom:0px;">
+	<h2>团体明细界面(${requestScope.area_name})</h2>
+		<table id="tb_departments"  class="table table-bordered">
+	<thead>
+		<tr>
+			<th align="center">序号</th>
+			<th align="center">运动员姓名</th>
+			<th align="center">运动项目</th>
+			<th align="center">成绩</th>
+		</tr>
+	</thead>
+	<tbody>
+		<c:forEach items="${list}" var="sc" varStatus="num">
+  		<tr>	<td>${num.count}</td>
+				<td>${sc.name}</td>
+				<td>${sc.xm_name}</td>
+				<td>${sc.xm_cj}</td>
+   		</tr>
+   		</c:forEach>
+	</tbody>
+		</table>
+	</div>
+  </body>
+</html>

+ 59 - 0
WebRoot3/score_gl.jsp

@@ -0,0 +1,59 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%
+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 'updateuser.jsp' starting page</title>
+    
+	<meta http-equiv="pragma" content="no-cache">
+	<meta http-equiv="cache-control" content="no-cache">
+	<meta http-equiv="expires" content="0">    
+	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
+	<meta http-equiv="description" content="This is my page">
+	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.1.0.min.js"></script>
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
+  </head>
+  
+  <body>
+    <body>
+	<div class="panel-body" style="padding-bottom:0px;">
+	<h2>管理运动界面</h2>
+		<table id="tb_departments"  class="table table-bordered">
+	<thead>
+		<tr>
+			<th align="center">序号</th>
+			<th align="center">编号</th>
+			<th align="center">运动员姓名</th>
+			<th align="center">性别</th>
+			<th align="center">运动项目</th>
+			<th align="center">成绩</th>
+			<th align="center">时间</th>
+			<th>操作</th>
+		</tr>
+	</thead>
+	<tbody>
+		<c:forEach items="${list}" var="sc" varStatus="num">
+  		<tr>	<td>${num.count}</td>
+  		        <td>${sc.id}</td>
+				<td>${sc.name}</td>
+				<td>${sc.sex}</td>
+				<td>${sc.xm_name}</td>
+				<td>${sc.xm_cj}</td>
+				<td>${sc.time}</td>
+				<td align="center"><a href="SportServlet?method=edit_score&id=${sc.id}" class="btn btn-info btn-sm">编辑</a>
+				<a href="SportServlet?method=delete_score&id=${sc.id}" class="btn btn-danger btn-sm" onclick="return window.confirm('确认要删除?')">删除</a></td>
+   		</tr>
+   		</c:forEach>
+	</tbody>
+		</table>
+	</div>
+  </body>
+</html>

+ 48 - 0
WebRoot3/score_tt.jsp

@@ -0,0 +1,48 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%
+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 'updateuser.jsp' starting page</title>
+    
+	<meta http-equiv="pragma" content="no-cache">
+	<meta http-equiv="cache-control" content="no-cache">
+	<meta http-equiv="expires" content="0">    
+	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
+	<meta http-equiv="description" content="This is my page">
+	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.1.0.min.js"></script>
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
+  </head>
+  
+  <body>
+    <body>
+	<div class="panel-body" style="padding-bottom:0px;">
+	<h2>排名</h2>
+		<table id="tb_departments"  class="table table-bordered">
+	<thead>
+		<tr>
+			<th align="center">名次</th>
+			<th align="center">团体名</th>
+			<th align="center">成绩</th>
+		</tr>
+	</thead>
+	<tbody>
+		<c:forEach items="${list}" var="sc" varStatus="num">
+  		<tr>	<td>第${num.count}名</td>
+				<td><a href="SportServlet?method=score_detail&id=${sc.name}" >${sc.name}</a></td>
+				<td>${sc.xm_name}</td>
+   		</tr>
+   		</c:forEach>
+	</tbody>
+		</table>
+	</div>
+  </body>
+</html>

+ 55 - 0
WebRoot3/sport_gl.jsp

@@ -0,0 +1,55 @@
+<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%
+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 'updateuser.jsp' starting page</title>
+    
+	<meta http-equiv="pragma" content="no-cache">
+	<meta http-equiv="cache-control" content="no-cache">
+	<meta http-equiv="expires" content="0">    
+	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
+	<meta http-equiv="description" content="This is my page">
+	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.css">
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.1.0.min.js"></script>
+	<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.js"></script>
+  </head>
+  
+  <body>
+    <body>
+	<div class="panel-body" style="padding-bottom:0px;">
+	<h2>管理运动界面</h2>
+		<table id="tb_departments"  class="table table-bordered">
+	<thead>
+		<tr>
+			<th align="center">序号</th>
+			<th align="center">编号</th>
+			<th align="center">运动项目</th>
+			<th align="center">性别</th>
+			<th align="center">运动场地</th>
+			<th>操作</th>
+		</tr>
+	</thead>
+	<tbody>
+		<c:forEach items="${list}" var="sc" varStatus="num">
+  		<tr>	<td>${num.count}</td>
+  		        <td>${sc.id}</td>
+				<td>${sc.sport_name}</td>
+				<td>${sc.sport_sex}</td>
+				<td>${sc.sport_area}</td>
+				<td align="center"><a href="SportServlet?method=edit_sport&id=${sc.id}" class="btn btn-info btn-sm">编辑</a>
+				<a href="SportServlet?method=delete_sport&id=${sc.id}" class="btn btn-danger btn-sm" onclick="return window.confirm('确认要删除?')">删除</a></td>
+   		</tr>
+   		</c:forEach>
+	</tbody>
+		</table>
+	</div>
+  </body>
+</html>