📄 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"/>
<jsp:useBean id="ManagerMember" class="myshop.member_sys.ManagerMember"/>
<%
ManagerMember.gotoLogin(request,response);
%>
<%
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>CWC大型购物商城</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("请先选择,后转移!");
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" cellpadding="3" cellspacing="1" bgcolor="999999">
<tr align="center" valign="middle" bgcolor="dddddd">
<td width="12%" colspan="2">编号</td>
<td width="15%">名称</td>
<td width="10%">价格(¥)</td>
<td width="10%">点击量</td>
<td width="10%">购买量</td>
<td width="13%">关键字</td>
<td width="18%">上架日期</td>
<td width="12%">操作</td>
</tr>
<%=AOutParam.get("HtmlStr") %>
</table>
<br>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="999999">
<tr align="center" valign="middle">
<td width="19%" bgcolor="dddddd">批量转移</td>
<td width="53%" bgcolor="f1f1f1">转移到:
<select name="catalog_id" id="catalog_id">
<%=ManagerCatalog.ListCatalog(tb_shop_catalog)%> </select> </td>
<td width="28%" bgcolor="f1f1f1"><input type="submit" name="Submit" value="转移" onclick="return (CheckSelect());"></td>
</tr>
</table>
</form>
<%=AOutParam.get("TurpageStr") %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -