⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 control.jsp

📁 J.LB.PurchaseStore v1.0 Beta
💻 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("请先选择,后转移!");
		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%>商品操作 -&gt; 管理商品</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">点击量</td>
          <td width="10%" bgcolor="33ccff">购买量</td>
          <td width="13%" bgcolor="33ccff">关键字</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">批量转移</td>
            <td width="53%" bgcolor="eeeeee">转移到:
			<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="转移" onclick="return (CheckSelect());"></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<%=AOutParam.get("TurpageStr") %>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -