📄 win.asp
字号:
<%@ language="vbscript"%>
<%response.Expires = 0%>
<!--#include file="conn.asp"--><!--#include file="Check.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sqltext="select win_content,open_win from Manager"
rs.open sqltext,conn,3,3
if request("up")="save" then
rs("win_content")=request.form("neirong")
rs("open_win")=request.form("open_win")
rs.update
response.write"<script>alert('弹出广告页修改成功!');window.location.href='win.asp'</script>"
end if
%>
<html>
<head>
<STYLE>BODY {
FONT-SIZE: 10pt
}
TD {
FONT-SIZE: 10pt; LINE-HEIGHT: 150%
}
A {
TEXT-DECORATION: none
}
A:hover {
TEXT-DECORATION: underline
}
</STYLE>
<script language="javascript"></script>
<title>后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body background="../pic/user/bg.jpg">
<form name="form1" method="post" action="win.asp?up=save">
<table width="550" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#0066FF" bordercolordark="#FFFFFF">
<tr>
<td width="164" height="30" align="center">首页弹出窗口广告:<%=rs("open_win")%></td>
<td width="380">
<input name="open_win" type="radio" value="yes" <%if rs("open_win")="yes" then response.write"checked"%>>
显示
<input type="radio" name="open_win" value="no" <%if rs("open_win")="no" then response.write"checked"%>>
隐藏</td>
</tr>
</table>
<br>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <font color="#0000FF"> 广告网页编辑:</font></td>
</tr>
<tr>
<td height="2" bgcolor="#CCCCCC"> </td>
</tr>
<tr>
<td> <div align="center">
<INPUT type="hidden" name="neirong" value="<%=Server.HTMLEncode(rs("win_content"))%>">
<IFRAME ID="eWebEditor1" SRC="../webedit/ewebeditor2.asp?id=neirong&style=standard" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="350"></IFRAME>
</div></td>
</tr>
<tr>
<td height="35"> <div align="center">
<input type="submit" name="Submit" value="确认修改">
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</form>
<%
rs.close:set rs=nothing
conn.close
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -