?? siteproblem_manage.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@include file ="../DT_inc/ChkPwd.jsp"%>
<%@include file="../ConnDB.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="robots" content="noindex,nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>問題網站管理</title>
<link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<br />
<a href="SiteProblem_Manage.jsp">問題網站管理</a>
<hr color="#0099FF" size="1" />
<%
Statement stmt_WebDir =conn.createStatement();
String WebDir_Sql="Select * from tSiteProblem ";
ResultSet RsWebDir =stmt_WebDir.executeQuery(WebDir_Sql);
%>
問題網站總數: <%//=RsWebDir.RecordCount%> 個
<div align="center">
<form id="form1" name="form1" method="post" action="">
站內搜索:
<input name="Searchtext" type="text" id="Searchtext" />
<input name="SearchInside" type="submit" id="Search" value="搜 索" />
</form>
<table width="600" border="0" cellspacing="0" align="center">
<tr height="30">
<td>序號</td>
<td>問題網站名稱</td>
<td>網址類別</td>
<td>報告時間</td>
<td>審閱</td>
<td>管 理</td>
</tr>
<%
int xuhao=1;
while (RsWebDir.next())
{
%>
<tr height="20" onmouseover="this.bgColor='#f0f8ff';" onmouseout="this.bgColor='#FFFFFF';">
<td><%=xuhao%></td>
<td align="left"><a href="<%=RsWebDir.getString("fUrl")%>" target="_blank" title="網站問題說明:<%=RsWebDir.getString("fContent")%>"><%=RsWebDir.getString("fTitle")%></a>
</td>
<td><%=RsWebDir.getString("fClassName")%></td>
<td><%=RsWebDir.getString("fUpdateTime")%></td>
<td><%if (RsWebDir.getString("fPassed").equals("0")) {%><font color="#FF0000">(未審閱)</font><%}%></td>
<td><a href="SiteProblem_DEL.jsp?ID=<%=RsWebDir.getInt("fID")%>" onclick="return confirm('刪除后將不能恢復,你確定刪除么?')">刪除</a></td>
</tr>
<%
xuhao=xuhao+1;
}
%>
</table>
<%//分頁未寫 pagination(RsWebDir.PageCount,RsWebDir.pagesize,page,RsWebDir.RecordCount) %>
</div>
<%
RsWebDir.close();
stmt_WebDir.close();
conn.close();
%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -