?? getapc.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<link href="Inc/student_com.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>獎勵、處罰和變動標準</title>
</head>
<body>
<jsp:useBean id='apc' scope='page' class='myBean.APC'/>
<%String admin_id = (String)session.getAttribute("id");
if(admin_id==null){response.sendRedirect("login.jsp");}
String code="",description="";
%>
<p align="center"><font color="#00FF00" size="+3" face="華文行楷">獎勵標準</font></p>
<p><a href="addAPC.jsp?f=A" >添加獎勵標準</a></p>
<div align="center">
<table cellpadding="2" cellspacing="1" bgcolor="#DEDFDE">
<tr>
<td align="center" bgcolor="#EEEEEE">代號</td>
<td align="center" bgcolor="#EEEEEE">描述</td>
<td align="center" bgcolor="#EEEEEE">刪除</td>
<td align="center" bgcolor="#EEEEEE">更改</td>
</tr>
<%
ResultSet rs=apc.getAPC("A");
while(rs.next()){
code=rs.getString(1);
description=rs.getString(2);
%>
<tr>
<td align="center" bgcolor="#FFFFFF"><%=code%></td>
<td align="center" bgcolor="#FFFFFF"><%=description%></td>
<td align="center" bgcolor="#FFFFFF"><a href="APCSvlt?action=delete&code=<%=code%>">刪除</a></td>
<td align="center" bgcolor="#FFFFFF"><a href="updateAPC.jsp?code=<%=code%>&description=<%=description%> ">更新</a></td>
</tr>
<%}%>
</table>
</div>
<p> </p>
<p align="center"><font color="#00FF00" size="+3" face="華文行楷">處罰標準</font></p>
<p><a href="addAPC.jsp?f=P">添加處罰標準</a></p>
<div align="center">
<table cellpadding="2" cellspacing="1" bgcolor="#DEDFDE">
<tr>
<td align="center" bgcolor="#EEEEEE">代號</td>
<td align="center" bgcolor="#EEEEEE">描述</td>
<td align="center" bgcolor="#EEEEEE">刪除</td>
<td align="center" bgcolor="#EEEEEE">更改</td>
</tr>
<%
rs=apc.getAPC("P");
while(rs.next()){
code=rs.getString(1);
description=rs.getString(2);
%>
<tr>
<td align="center" bgcolor="#FFFFFF"><%=code%></td>
<td align="center" bgcolor="#FFFFFF"><%=description%></td>
<td align="center" bgcolor="#FFFFFF"><a href="APCSvlt?action=delete&code=<%=code%>">刪除</a></td>
<td align="center" bgcolor="#FFFFFF"><a href="updateAPC.jsp?code=<%=code%>&description=<%=description%> ">更新</a></td>
</tr>
<%}%>
</table>
</div>
<p> </p>
<p align="center"><font color="#00FF00" size="+3" face="華文行楷">變動形式</font></p>
<p><a href="addAPC.jsp?f=C">添加變動形式</a></p>
<div align="center">
<table cellpadding="2" cellspacing="1" bgcolor="#DEDFDE">
<tr>
<td align="center" bgcolor="#EEEEEE">代號</td>
<td align="center" bgcolor="#EEEEEE">描述</td>
<td align="center" bgcolor="#EEEEEE">刪除</td>
<td align="center" bgcolor="#EEEEEE">更改</td>
</tr>
<%
rs=apc.getAPC("C");
while(rs.next()){
code=rs.getString(1);
description=rs.getString(2);
%>
<tr>
<td align="center" bgcolor="#FFFFFF"><%=code%></td>
<td align="center" bgcolor="#FFFFFF"><%=description%></td>
<td align="center" bgcolor="#FFFFFF"><a href="APCSvlt?action=delete&code=<%=code%>">刪除</a></td>
<td align="center" bgcolor="#FFFFFF"><a href="updateAPC.jsp?code=<%=code%>&description=<%=description%> ">更新</a></td>
</tr>
<%}
%>
</table>
</div>
<p align="center"> </p>
<p align="center"><a href="admin.jsp" target="_parent">返回</a></p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -