📄 moban.asp
字号:
<!--#include file="xp.asp"-->
<%
if session("shopxpadmin")="" then
response.Write "<script language='javascript'>alert('请先登录!');history.go(-1);</script>"
response.End
else
if session("mbgl")=0 then
response.Write "<div align=center><font size=5 color=red><b>你的权限不够!</b></font></div>"
response.End
end if
end if
dim action
action=request.QueryString("action")
if action="save" then
set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shopxp_setup ",conn,1,3
rs("BoardStyle")=request("BoardStyle")
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('网站模板修改成功!');history.go(-1);</script>"
end if%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../img_shopxp/css.css" rel="stylesheet" type="text/css">
<br>
<form name="form1" method="post" action="moban.asp?action=save">
<table width="98%" border="0" cellspacing="1" cellpadding="0" bgcolor="#F1F3F5">
<tr>
<td height="30" COLSPAN="3" align="center"><b>界面风格选择</b></td>
</tr>
<tr>
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select * from shopxp_setup",conn,1,1%>
<td height="34" align="right" bgcolor="#FFFFFF"><b>网站模板:</b></td>
<td height="34" COLSPAN="2" align="left" bgcolor="#FFFFFF"> <select name="BoardStyle" size="1">
<option value="0" <%if rs("BoardStyle")="0" then%>selected<%end if%>>商业街</option>
<option value="1" <%if rs("BoardStyle")="1" then%>selected<%end if%>>女人缘</option>
<option value="2" <%if rs("BoardStyle")="2" then%>selected<%end if%>>新新节日</option>
<option value="3" <%if rs("BoardStyle")="3" then%>selected<%end if%>>生命绿色</option>
</select> </td>
</tr>
<tr>
<td height="34" colspan="3" align="center" bgcolor="#FFFFFF">
<input type="submit" name="Submit" value="提交">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -