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

📄 anclass.asp

📁 漂亮公司企业网站自助建站系统 .asp.rar
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="session2.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table cellpadding="3" cellspacing="1" border="0" width="100%" class="tableBorder" align=center>
  <tr height=25> 
    <th class="tableHeaderText" colspan=5 height=25>商品大类管理</th>
  </tr>
  <tr> 
    <td width="33%" class="forumRowHighlight"><div align="center">分类名称</div></td>
    <td class="forumRowHighlight"> <div align="center">分类排序</div></td>
    <td width="31%" class="forumRowHighlight"><div align="center">确定操作</div></td>
  </tr>
  <%set rs=server.CreateObject("adodb.recordset")
		  rs.Open "select * from wq_sort order by anclassidorder ",conn,1,1
		  dim paixu
		  if rs.EOF and rs.BOF then
		  response.Write "<div align=center><font color=red>还没有分类</font></center>"
		  paixu=0
		  else
		  do while not rs.EOF
	%>
  <form name="form1" method="post" action="err.asp?action=edit&id=<%=int(rs("anclassid"))%>">
    <tr> 
      <td class="forumRowHighlight"><div align="center"> 
          <input name="anclass" type="text" id="anclass" size="12" value="<%=trim(rs("anclass"))%>">
        </div></td>
      <td class="forumRowHighlight"> <div align="center"> 
          <input name="anclassidorder" type="text" id="anclassidorder" size="4" value="<%=int(rs("anclassidorder"))%>">
        </div></td>
      <td class="forumRowHighlight"><div align="center"> 
          <input class="button" type="submit" name="Submit" value="修  改">
          &nbsp; <a href="saveanclass.asp?id=<%=int(rs("anclassid"))%>&action=del" onClick="return confirm('此操作会删除此大类下包含的小分类和商品!您确定进行删除操作吗?')"><font color=red>删除</font></a> 
        </div></td>
    </tr>
  </form>
  <%rs.MoveNext
          loop
          paixu=rs.RecordCount
          end if%>
</table>
<br>
<table cellpadding="3" cellspacing="1" border="0" width="100%" class="tableBorder" align=center>
  <tr height=25> 
    <th class="tableHeaderText" colspan=5 height=25>添加商品大类</th>
  </tr>
  <tr> 
    <td class="forumRowHighlight" colspan=3 ><div align="center">注意:各项名称不能含有非法字符</div></td>
  </tr>
  <tr> 
    <td width="33%" class="forumRowHighlight"><div align="center">分类名称</div></td>
    <td class="forumRowHighlight"> <div align="center">分类排序</div></td>
    <td width="31%" class="forumRowHighlight"><div align="center">确定操作</div></td>
  </tr>
  <form name="form1" method="post" action="err.asp?action=add">
    <tr> 
      <td class="forumRowHighlight"><div align="center"> 
          <input name="anclass2" type="text" id="anclass2" size="12">
        </div></td>
      <td class="forumRowHighlight"> <div align="center"> 
          <input name="anclassidorder2" type="text" id="anclassidorder2" size="4" value="<%=paixu+1%>">
        </div></td>
      <td class="forumRowHighlight"><div align="center"> 
          <input class="button" type="submit" name="Submit3" value="添 加">
        </div></td>
    </tr>
  </form>
</table>
<br>
</body>
</html>

⌨️ 快捷键说明

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