http://www.5d.cn/bbs/archivecontent.asp?id=864666
<!--#include file="../Admin/conn_sql/conn_sql.asp"-->
<%if request("del2")="删除" and request("sid")<>"" then
sqlstr="delete  spprod where id in ("&request("sid")&")"
conn.execute sqlstr
Response.Redirect Request.ServerVariables("HTTP_REFERER")
%>
<%else%>
<%
dim curpage
if request.querystring("curpage")="" or request.querystring("curpage")=0 then
curpage=1
else
curpage=cint(request.querystring("curpage"))
end if
str="select * from spprod where spid='"&request("id")&"' order by id desc"
set rs0=server.createobject("adodb.recordset")
rs0.open str,conn,1,2
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>商铺展示</title>
<Link rel='stylesheet' href="../Main.Css">
<script language="javascript">
<!--
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.name != 'chkall')
       e.checked = form.chkall.checked;
    }
  }
//-->
</script>
</head>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function btnAdd_&#111nclick(){
window.navigate("addprod.asp?id=<%=request("id")%>");
}


//-->
</script>
<body topmargin="0" leftmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#009900">
  <tr>
    <td colspan="2" bgcolor="#FFFFFF"><div align="center">商铺管理</div></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="30%" height="18"><div align="center"><a href="show6.asp?id=<%=request("id")%>">商铺各项基本资料管理</a></div></td>
    <td width="70%" rowspan="3"><%if rs0.eof then%> <div align="center">暂无产品 -><a href="addprod.asp?id=<%=request("id")%>">马上发布</a><-</div>
      <%else
rs0.pagesize=15
dim totalpage
totalpage=rs0.pagecount
rs0.absolutepage=curpage
rs0.cachesize=rs0.pagesize%> <form name="form1" method="post" action="show6-1.asp?id=<%=request("id")%>">
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#009900">
          <% do while not rs0.eof %>
          <tr>
            <td width="22%" height="22" bgcolor="#FFFFFF"><div align="center">
                <input type="checkbox" name="sid" value="<%=rs0("id")%>">
              </div></td>
            <td width="78%" bgcolor="#FFFFFF"><div align="center"><%=rs0("sp_prod")%></div></td>
          </tr>
          <% rs0.movenext
loop
%>
          <tr bgcolor="#FFFFFF">
            <td height="29" colspan="2"><div align="center"></div>
              <div align="center">
                <input name="del2" type="submit" >返回商铺首页</a></div></td>
  </tr>
</table>
</body>
</html>
<%set rs0=nothing
conn.close
%>
<%end if%>

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2021-11-13
  • 2022-01-02
  • 2022-12-23
  • 2022-02-20
  • 2022-12-23
  • 2021-12-31
猜你喜欢
  • 2022-12-23
  • 2021-06-26
  • 2022-01-16
  • 2021-12-05
  • 2021-10-27
  • 2021-10-12
  • 2022-01-10
相关资源
相似解决方案