📄 system.asp
字号:
<%Admin="System"%>
<!--#include file="check.asp"-->
<!--#include file="zcm.asp"-->
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>MyFlash系统设置</title>
<style>
td{font-size:9pt;line-height:160%}
body{font-size:9pt;line-height:160%}
a:link { color: #0033CC; text-decoration: none }
a:visited { color: #0033CC; text-decoration: none }
a:active { color: #4D9CC8; text-decoration: none }
a:hover { color: #4D9CC8; text-decoration: underline}
</style>
</head>
<body topmargin="1">
<div align="center">
<center>
<%
if request("type")="save" then
if request("webtime")<>"" then
webtime=request("webtime")
else
webtime=0
end if
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set TS1 = fs.CreateTextFile(Server.MapPath("config.asp"), True)
TS1.writeline "<"&chr(37)
TS1.writeline "webname="&chr(34)&""&request("webname")&""&chr(34)&""
TS1.writeline "weburl="&chr(34)&""&request("weburl")&""&chr(34)&""
TS1.writeline "webemail="&chr(34)&""&request("webemail")&""&chr(34)&""
TS1.writeline "webtime="&chr(34)&""&webtime&""&chr(34)&""
TS1.writeline "websmtp="&chr(34)&""&request("websmtp")&""&chr(34)&""
TS1.writeline "webDownLb="&chr(34)&""&request("webDownLb")&""&chr(34)&""
TS1.writeline "webDownLbShu="&chr(34)&""&request("webDownLbShu")&""&chr(34)&""
TS1.writeline "webDownLbShuAll="&chr(34)&""&request("webDownLbShuAll")&""&chr(34)&""
TS1.writeline "webDownYy="&chr(34)&""&request("webDownYy")&""&chr(34)&""
TS1.writeline "webDownSq="&chr(34)&""&request("webDownSq")&""&chr(34)&""
TS1.writeline "webDownPt="&chr(34)&""&request("webDownPt")&""&chr(34)&""
TS1.writeline "JyDownUser="&chr(34)&""&request("JyDownUser")&""&chr(34)&""
TS1.writeline "JyDownUserShow="&chr(34)&""&request("JyDownUserShow")&""&chr(34)&""
TS1.writeline "JyDownUrl="&chr(34)&""&request("JyDownUrl")&""&chr(34)&""
TS1.writeline "JyDownWin="&chr(34)&""&request("JyDownWin")&""&chr(34)&""
TS1.writeline "JyDownWinClose="&chr(34)&""&request("JyDownWinClose")&""&chr(34)&""
TS1.writeline "webgbook="&chr(34)&""&request("webgbook")&""&chr(34)&""
TS1.writeline "webreg="&chr(34)&""&request("webreg")&""&chr(34)&""
TS1.writeline "webreglock="&chr(34)&""&request("webreglock")&""&chr(34)&""
TS1.writeline "webuseredit="&chr(34)&""&request("webuseredit")&""&chr(34)&""
TS1.writeline chr(37)&">"
Set TS1 = Nothing
Set fs=nothing
response.redirect "system.asp?ok=成功:修改系统设置完成!"
response.end
end if
Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
Set xTestObj = Nothing
Err = 0
End Function%>
<!--#include file="config.asp"-->
<form action="system.asp?type=save" method="post">
<%if request("ok")<>"" then%>
<table border="0" cellspacing="0" style="border-collapse: collapse" width="620" cellpadding="0">
<tr>
<td width="100%">
<font color="#4D9CC8"><%=request("ok")%></font>时间:<%=Now()%></td>
</tr>
</table>
<%end if%>
<table border="0" cellspacing="1" style="border-collapse: collapse" width="620" bgcolor="#cococo">
<tr>
<td width="100%" bgcolor="#4D9CC8"><font color="#FFFFFF"><b>系统设置</b></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#F4F4F4">
<font color="#000080"><b>网站基本信息</b></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
本站站名:<input name="webname" value="<%=webname%>" size="25" style="border-style: solid; border-width: 1"></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
本站网址:<input name="weburl" value="<%=weburl%>" size="25" style="border-style: solid; border-width: 1">
<font color="#808080">不用加 http://,例(www.myflash.net)</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
站长信箱:<input name="webemail" value="<%=webemail%>" size="25" style="border-style: solid; border-width: 1"><font color="#808080">
用于发送邮件</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#F4F4F4">
<font color="#000080"><b>本机环境设置</b></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
系统时差:<input name="webtime" value="<%=webtime%>" size="15" style="border-style: solid; border-width: 1"><font color="#808080">
设置服务器时间与本地的时差(单位:小时),填写如 +3 或 -2</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
发信组件:<select name="websmtp" size="1">
<option value="">不使用发信功能</option>
<option<%if websmtp="CDONTS" then%> selected<%end if%> value="CDONTS">
CDONTS</option><option<%if websmtp="JMAIL" then%> selected<%end if%> value="JMAIL">JMAIL</option>
</select> <font color="#808080">CDONTS<%
If Not IsObjInstalled("CDONTS.NewMail") Then%><b>×</b><%else%><b>√</b>
<%end if%> JMail<%
If Not IsObjInstalled("JMail.SMTPMail") Then%><b>×</b><%else%><b>√</b><%end if%></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#F4F4F4">
<font color="#000080"><b>作 品性质自定</b></font><font color="#808080">
多个请用英文的豆号"</font><font color="#4D9CC8">,</font><font color="#808080">"分开,如(AA,BB,CC)</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
<table border="0" cellspacing="0" style="border-collapse: collapse" width="100%" cellpadding="0">
<tr>
<td width="100%"> 类别:<input name="webDownLb" value="<%=webDownLb%>" size="72" style="border-style: solid; border-width: 1"></td>
</tr>
<tr>
<td width="100%"> <font color="#808080">
[类别]说明:类别加好后在[生成"更新"页]时会按"全部作 品"+你填的类别,从n0-n*自动生成HTML页,请注意顺序<br>
如果填入[</font>在线电影<font color="#808080">],侧自动读取"文件格式"为"电影"的作 品.<br>
如果填入[</font>精彩动画<font color="#808080">],侧自动读取"文件格式"为"Flash"的作 品.<br>
如果填入[</font>特别作 品<font color="#808080">],侧自动读取"授权"为"注册,破解,零售"版的作 品.</font></td>
</tr>
<tr>
<td width="100%">列表显示作 品数:<input name="webDownLbShu" value="<%=webDownLbShu%>" size="35" style="border-style: solid; border-width: 1"><font color="#808080">
对照上面的顺序,用英文的豆号"</font><font color="#4D9CC8">,</font><font color="#808080">"分开如(50,50)</font></td>
</tr>
<tr>
<td width="100%">全部作 品显示数:<input name="webDownLbShuAll" value="<%=webDownLbShuAll%>" size="9" style="border-style: solid; border-width: 1"> <font color="#808080">
[生成"更新"页]时全部软件HTML页显示的作 品数,见议100个以下</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
语言:<input name="webDownYy" value="<%=webDownYy%>" size="72" style="border-style: solid; border-width: 1"></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
授权:<input name="webDownSq" value="<%=webDownSq%>" size="70" style="border-style: solid; border-width: 1">版</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
平台:<input name="webDownPt" value="<%=webDownPt%>" size="72" style="border-style: solid; border-width: 1"></td>
</tr>
<tr>
<td width="100%" bgcolor="#F4F4F4">
<font color="#000080"><b>作品连接设置</b></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
会员连接限制:<input<%if JyDownUser="1" then%> checked<%end if%> type="checkbox" name="JyDownUser" value="1"><font color="#808080">使用后,会员作 品要有高于该作 品所设置级别的用户才能连接(打开后只能直接点击连接)<br>
<input<%if JyDownUserShow="1" then%> checked<%end if%> type="checkbox" name="JyDownUserShow" value="1">显示作 品地址(上面功能使用后,当会员点击连接时直接显示作 品真实地址给会员使用工具连接)</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
防盗链功能:<input<%if JyDownUrl="1" then%> checked<%end if%> type="checkbox" name="JyDownUrl" value="1">A
<input<%if JyDownWin="1" then%> checked<%end if%> type="checkbox" name="JyDownWin" value="1">B
<font color="#808080">(防盗链功能只对作 品连接,不对在线电影)</font><br>
<font color="#808080">A.检查用户是否从本站点击连接,如果不是侧自动跳转到作 品连接(使用工具仍然可以连接)<br>
B.使用此功能后要查找真实地址比较困难,应该来说没人会那么傻还会找的了(打开后只能直接点击连接)<br>
A,B功能同时使用效果还算OK了! 如果你有更好的防盗链方案(作 品上)请与MyFlash Administrator联系,谢谢!<br>
</font>连接窗关闭时间:<input name="JyDownWinClose" value="<%=JyDownWinClose%>" size="5" style="border-style: solid; border-width: 1">秒
<font color="#808080">使用B时用到("正在连接"窗口自动关闭时间,见议10秒以上,因为连接作 品时间可能很长</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#F4F4F4">
<font color="#000080"><b>会员相关设置</b></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
允许新人注册:<input<%if webreg="1" then%> checked<%end if%> type="checkbox" name="webreg" value="1"></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
注册后默认锁定:<input<%if webreglock="1" then%> checked<%end if%> type="checkbox" name="webreglock" value="1">
<font color="#808080">锁定的用户不能登陆</font></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
允许修改资料:<input<%if webuseredit="1" then%> checked<%end if%> type="checkbox" name="webuseredit" value="1"></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td width="100%" bgcolor="#F4F4F4">
<p align="center">
<input name="b1" type="submit" value="确认修改">
<input name="b2" type="reset" value="全部还原"></p>
</td>
</tr>
</table>
</form>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -