?? control.jsp
字號:
<%@ include file = "../../config.jsp" %>
<%@ page import="java.util.*"%>
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="ManagerProduct" scope="page" class="myshop.product_sys.ManagerProduct"/>
<jsp:useBean id="ManagerCatalog" scope="page" class="myshop.catalog_sys.ManagerCatalog"/>
<jsp:useBean id="Handle" scope="page" class="myshop.Handle"/>
<%
String CurrentPage = Handle.getString(request,"CurrentPage","0");
String keywords = Handle.getString(request,"keywords");
String type = Handle.getString(request,"type");
Hashtable AOutParam = new Hashtable();
AOutParam = ManagerProduct.ReadDataAdmin(CurrentPage,20,"control.jsp",keywords,type,tb_shop_product_info);
%>
<html>
<head>
<title>Untitled Document</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("確定要刪除'" + name + "'記錄嗎")) return(true);
else return(false);
}
function CheckSelect() {
if (!document.form.checkbox.checked) {
alert("請先選擇,后轉(zhuǎn)移!");
return(false);
}
else return(true);
}
</script>
</head>
<body>
<form name="form2" method="post" action="DealWithCenter.jsp?action=moveproducts">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width=80%>商品操作 -> 管理商品</td><td width=20%>商品總量:<font color=red>
<%=AOutParam.get("RecordCount") %>
</font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr align="center" valign="middle">
<td width="12%" bgcolor="33ccff" colspan="2">編號</td>
<td width="15%" bgcolor="33ccff">名稱</td>
<td width="10%" bgcolor="33ccff">價格(¥)</td>
<td width="10%" bgcolor="33ccff">點(diǎn)擊量</td>
<td width="10%" bgcolor="33ccff">購買量</td>
<td width="13%" bgcolor="33ccff">關(guān)鍵字</td>
<td width="18%" bgcolor="33ccff">上架日期</td>
<td width="12%" bgcolor="33ccff">操作</td>
</tr>
<%=AOutParam.get("HtmlStr") %>
</table></td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr align="center" valign="middle">
<td width="19%" bgcolor="33ccff">批量轉(zhuǎn)移</td>
<td width="53%" bgcolor="eeeeee">轉(zhuǎn)移到:
<select name="catalog_id" id="catalog_id">
<%=ManagerCatalog.ListCatalog(tb_shop_catalog)%>
</select>
</td>
<td width="28%" bgcolor="eeeeee"><input type="submit" name="Submit" value="轉(zhuǎn)移" onclick="return (CheckSelect());"></td>
</tr>
</table></td>
</tr>
</table>
</form>
<%=AOutParam.get("TurpageStr") %>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -