?? control.jsp
字號(hào):
<%@ include file = "../../config.jsp" %>
<%@ page import="java.util.*"%>
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="ManagerGbook" scope="page" class="myshop.gbook_sys.ManagerGbook"/>
<jsp:useBean id="Handle" scope="page" class="myshop.Handle"/>
<jsp:useBean id="ManagerMember" class="myshop.member_sys.ManagerMember"/>
<%
ManagerMember.gotoLogin(request,response);
%>
<%
//--- 處理刪除留言 ---
if (Handle.getString(request,"action").equals("del")) ManagerGbook.DelWord(tb_gbook_info,request);
String CurrentPage = Handle.getString(request,"CurrentPage","0");
String keywords = Handle.getString(request,"keywords");
String type = Handle.getString(request,"type");
Hashtable AOutParam = new Hashtable();
AOutParam = ManagerGbook.ReadDataAdmin(CurrentPage,20,"Control.jsp",keywords,type,tb_gbook_info,tb_shop_product_info);
%>
<html>
<head>
<title>CWC大型購(gòu)物商城</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../style" rel="stylesheet" type="text/css">
<script language="javascript">
function AlertDel(name) {
if (confirm("確定要?jiǎng)h除'" + name + "'的記錄嗎?")) return(true);
else return(false);
}
</script>
</head>
<body>
<form name="form1" method="post" action="">
<font size="Non"> </font>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="83%">留言操作 -> 管理留言</td>
<td width="17%" align="center" valign="middle">留言總數(shù): <font color="#FF0000"><%=AOutParam.get("RecordCount") %></font></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="999999">
<tr align="center" valign="middle" bgcolor="dddddd">
<td>編號(hào)</td>
<td width="11%">作者</td>
<td width="21%">評(píng)論</td>
<td width="14%">評(píng)分</td>
<td width="19%">評(píng)價(jià)商品</td>
<td width="13%">發(fā)表日期</td>
<td width="12%">操作</td>
</tr>
<%=AOutParam.get("HtmlStr") %>
</table>
</form>
<%=AOutParam.get("TurpageStr") %>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -