?? product_promote_edit.asp
字號:
<!--#include file="conn.asp" -->
<!--#include file="admin_dn.asp" -->
<%
if Request("w")="save" then
rs.open "select * from promote_1 where id="&request("id"),conn,2,3
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
%>
<!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>網(wǎng)站推廣大類修改</strong></p>
<br>
<%
rs.open "select * from promote_1 where id="&request("id"),conn,1,1
if not rs.eof then
%>
<form name="form1" method="post" action="product_promote_edit.asp?w=save">
<table width="80%" height="56" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#F9F9F9">
<td colspan="2"><p>網(wǎng)站推廣大類修改</p></td>
</tr>
<tr>
<td width="20%"><div align="right">大類名稱:</div></td>
<td width="80%"><input name="title" type="text" id="title" value="<%=rs("title")%>"></td>
</tr>
<tr>
<td><div align="right">大類圖片地址:</div></td>
<td><input name="img" type="text" id="img" value="<%=rs("img")%>">
圖片的地址。</td>
</tr>
<tr>
<td><div align="right">大類詳細(xì)介紹:</div></td>
<td><textarea name="body" cols="30" rows="5" id="body"><%=rs("body")%></textarea>
支持html
<input name="id" type="hidden" id="id" value="<%=rs("id")%>"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="修改"></td>
</tr>
</table>
</form>
<%
else
Response.Write("您的參數(shù)有錯")
end if
%>
<p> </p>
<p align="center">[<a href="product_promote_manage.asp">返回管理頁面</a>] [<a href="product_promote_add.asp">返回新增頁面</a>]</p>
<hr size="1" color=C5D7ED>
<p> <font color="#990000">注:</font>這里所謂的大類就是說,推廣項目的大的分類如,網(wǎng)易搜索登錄,新浪搜索登錄。。要在些大類下新增小類,請您點(diǎn)擊大類的名稱,將可以在此項目下面新增具體的產(chǎn)品。 在冊除大類時請注意小心操作,因為刪除大類將會把大類下面的所有小類刪除.</p>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -