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

📄 product_promote_manage.asp

📁 一个用asp.net编写的dns域名服务网站
💻 ASP
字号:
<!--#include file="conn.asp" -->
<!--#include file="admin_dn.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href="image/css.css" rel="stylesheet" type="text/css">
<% 
if Trim(Request.QueryString("w"))="d" then
 sql="delete from promote_2 where id="&request("id")
 conn.execute(sql)



 %>
<script language="VBScript" type="text/VBScript">
msgbox "删除小类成功!!!"
</script>
<% end if %>
</head>
<body leftmargin="5" topmargin="5">
<p><strong>网站推广管理</strong></p>
<br>
<table width="90%" height="65" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr bgcolor="#E4E4E4">
    <td height="17" colspan="4"><font color="#990000"><strong>网站推广项目 </strong></font></td>
  </tr>
  <% 
  dim title(10),id1(10)
  i=0
  rs.open "promote_1",conn,1,1
  while not rs.eof 
  i=i+1
  title(i)=rs("title")
  id1(i)=rs("id")
  rs.movenext
  wend 
  rs.close
  
  for s=1 to i
  
   %>
  <tr bgcolor="#F3F3F3">
    <td height="21" colspan="3">  <img src="image/def1.gif" width="7" height="7">  <%= title(s) %> </td>
    <td>[<a href="product_promote_add.asp?w=del&did=<%=id1(s)%>">删除</a>] [<a href="product_promote_edit.asp?id=<%=id1(s)%>">编辑</a>] [<a href="product_promote_add2.asp?id=<%=id1(s)%>&title=<%= title(s) %>">增加小类</a>]</td>
  </tr>
  <% 
 rs.open "select * from promote_2 where bh="&id1(s),conn,1,1
  while not rs.eof 
  
   %>
  <tr>
    <td width="6%">&nbsp;</td>
    <td width="3%"><div align="center"><img src="image/def2.gif" width="5" height="8"></div></td>
    <td width="28%"><%=rs("title")  %></td>
    <td width="63%">          [<a href="product_promote_manage.asp?w=d&id=<%=rs("id")%>">删除</a>] [<a href="product_promote_edit2.asp?id=<%=rs("id")%>">编辑</a>]</td>
  </tr>
  <% 
  rs.movenext
  wend
  rs.close
  next
   %>
</table>
<p>&nbsp;</p>
<p><font color="#FF0000">注:删除大类时将会把下面的所有小类删除</font> </p>
</body>
</html>

⌨️ 快捷键说明

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