?? product_promote_add.asp
字號:
<!--#include file="conn.asp" -->
<!--#include file="admin_dn.asp" -->
<%
if Request("w")="save" then
rs.open "promote_1",conn,2,3
rs.addnew
rs("title")=request("title")
rs("img")=request("img")
rs("body")=request("body")
rs.update
rs.close
%>
<script language="VBScript" type="text/VBScript">
msgbox "增加成功"
</script>
<%
end if
if Request("w")="del" then
sql="delete from promote_1 where id="&request("did")
conn.execute(sql)
sql="delete from promote_2 where id="&request("did")
conn.execute(sql)
%>
<script language="VBScript" type="text/VBScript">
msgbox "刪除成功"
</script>
<%
end if
%>
<!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">
</head>
<body leftmargin="5" topmargin="5">
<p><strong>網站推廣產品增加</strong></p>
<br>
<form name="form1" method="post" action="product_promote_add.asp?w=save">
<table width="80%" height="56" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#F9F9F9">
<td colspan="2">網站推廣大類增加</td>
</tr>
<tr>
<td width="20%"><div align="right">大類名稱:</div></td>
<td width="80%"><input name="title" type="text" id="title"></td>
</tr>
<tr>
<td><div align="right">大類圖片地址:</div></td>
<td><input name="img" type="text" id="img">
圖片的地址。</td>
</tr>
<tr>
<td><div align="right">大類詳細介紹:</div></td>
<td><textarea name="body" cols="30" rows="5" id="body"></textarea>
支持html</td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="新增"></td>
</tr>
</table>
</form>
<p> </p>
<table width="100%" height="62" border="0" cellpadding="0" cellspacing="1">
<tr bgcolor="#EEEEEE">
<td colspan="4"><font color="#990000">推廣項目</font></td>
</tr>
<%
rs.open "promote_1",conn,1,1
while not rs.eof
%>
<tr bgcolor="#F7F7F7">
<td width="7%" height="18"><div align="center"><font color="#990000"><%= rs("id") %></font></div></td>
<td width="55%"><a href="product_promote_add2.asp?id=<%=rs("id")%>&title=<%= rs("title") %>"><%= rs("title") %></a></td>
<td width="17%" bgcolor="#F7F7F7"><div align="center"><a href="product_promote_edit.asp?id=<%=rs("id")%>">編輯</a></div></td>
<td width="21%"><div align="center"><a href="product_promote_add.asp?w=del&did=<%=rs("id")%>"><img src="image/4.jpg" width="16" height="16" border="0"></a></div></td>
</tr>
<%
rs.movenext
wend
rs.close
%>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
<hr size="1" color=C5D7ED>
<p> <font color="#990000">注:</font>這里所謂的大類就是說,推廣項目的大的分類如,網易搜索登錄,新浪搜索登錄。。要在些大類下新增小類,請您點擊大類的名稱,將可以在此項目下面新增具體的產品。 在冊除大類時請注意小心操作,因為刪除大類將會把大類下面的所有小類刪除.</p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -