📄 theme.asp
字号:
<!--#include file="conn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.reload('login.asp')</script>"
response.End
else
if session("flag")>1 then
response.Write "<div align=center><font size=80 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 theme from shop_config ",conn,1,3
rs("theme")=trim(request("theme"))
rs.update
rs.close
set rs=nothing
response.Write "<script language=javascript>alert('网站风格主题成功!');window.location.reload('javascript:history.go(-1)')</script>"
end if%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>
<body><!--#include file="menu.asp"-->
<div align="center">
<table width="90%" border="0" cellpadding="0" cellspacing="1" bgcolor="#BCD7E0">
<tr>
<td height="16" background="../images/manage/line_all.gif"><div align="center"><font color="#000000">网站主题设置</font></div></td>
</tr>
<tr>
<td height="107" bgcolor="#F8FCFD">
<br><form name="form1" method="post" action="theme.asp?action=save">
<div align="center">
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select theme from shop_config",conn,1,1%>
<table width="90%" border="0" cellspacing="1" bgcolor="#BCD7E0" id="table3">
<tr>
<td bgcolor="#F8FCFD" align="center" width="189">风格更换:</td>
<td bgcolor="#F8FCFD" align="left"> <select id="theme" name="theme" size="1">
<option value="<%=theme1_url%>"><%=theme1%></option>
<option value="<%=theme2_url%>"><%=theme2%></option>
<option value="<%=theme3_url%>"><%=theme3%></option>
<option value="<%=theme4_url%>"><%=theme4%></option>
<option value="<%=theme5_url%>"><%=theme5%></option>
</select><font color="#666666"><img src="../images/bit2.gif" border="0" width="20" height="12">选择网站风格主题(免费版本只提供一个风格主题)</font></td>
</tr>
</table> </div>
<br><div align="center">
<input type="submit" name="Submit" value="提 交">
<input type="reset" name="Submit2" value="恢 复">
</div></form>
<%rs.Close
set rs=nothing%>
</td>
</tr>
</table>
</div>
<!--#include file="copyright.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -