📄 admin_system.asp
字号:
<!--#include file="../film_conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../set_url.asp"-->
<!--#include file="code.asp"-->
<html>
<head>
<title>管理系统设置</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<script>
function valid_register(){
if( document.regist.webname.value=="" )
{window.alert("网站名称不能为空!");
document.regist.webname.focus();
return false;
} ;
if( document.regist.weburl.value=="" )
{window.alert("网址不能为空!");
document.regist.weburl.focus();
return false;
} ;
if (document.regist.set_logo.value=="" )
{
alert("LOGO路径不能为空!")
document.regist.set_logo.focus()
return false;
};
if (document.regist.adminurl.value=="" )
{
alert("管理文件夹名称不能为空!")
document.regist.adminurl.focus()
return false;
};
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from set_system where id=1"
rs.open sql,conn,1,1
%>
<form method="post" action="admin_system_edit.asp" name="regist" onsubmit="return valid_register()">
<div align="center">
<p><b><font size="3">管理系统设置</font></b></p>
<table width="98%" border="0" cellspacing="0" cellpadding="0" height="39" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">网站名称:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="webname" size="40" value="<%=rs("webname")%>"></td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">网站地址:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="weburl" size="40" value="<%=rs("weburl")%>"></td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA"><span lang="en-us">LOGO</span>路径:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="set_logo" size="45" value="<%=rs("set_logo")%>">(绝对路径)</td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">状态栏显示文字:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="set_ie" size="55" value="<%=rs("set_ie")%>"></td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">标题栏显示文字:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="webtitle" size="55" value="<%=rs("webtitle")%>"></td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">管理文件夹名称:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="adminurl" size="20" value="<%=rs("adminurl")%>">(即系统管理文件夹的名称,如果更改则必须同步修改
)</td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">登录参数:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="logintype" size="20" value="<%=rs("logintype")%>">(登录参数,更改后,登录文件后必须加<span lang="en-us">type=</span>此参数)</td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">绑定<span lang="en-us">IP</span>登录:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<input type="text" name="loginip" size="20" value="<%=rs("loginip")%>">(如果为空,则不绑定,否则必须绑定您电脑的<span lang="en-us">IP</span>登录)</td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">屏蔽非法字词:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<textarea rows="5" name="bad_words" cols="39"><%=rs("bad_words")%></textarea>(过滤评论非法字符,逗号隔开)</td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">网页关键字:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<textarea rows="4" name="keywords" cols="53"><%=rs("keywords")%></textarea></td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">网页说明:</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<textarea rows="4" name="Description" cols="53"><%=rs("Description")%></textarea></td>
</tr>
<tr>
<td width="139" height="22" bgcolor="#EAEAEA">银行邮局汇款信息:<br>支持Html语法</td>
<td width="80%" height="22" bgcolor="#EAEAEA">
<textarea rows="8" name="Pay" cols="53"><%Content=replace(rs("Pay"),"<br>",vbcrlf)
response.write content%></textarea></td>
</tr>
</table><input type="hidden" name="id" value="<%=rs("id")%>">
<input class="form2" type="submit" name="yes" value="确定修改">
<input class="form2" type="submit" name="no" value="重写">
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -