📄 admin_index.asp
字号:
<td><a href=admin_sysskin.asp?action=addskin target=main>添加系统模版</a>
| <a href=admin_sysskin.asp?action=showskin target=main>管理</a></td>
</tr>
<tr>
<td height=20><img src="images/admin/bullet.gif"></td>
<td height=20><a href="admin_skin.asp?action=insys1" target="main">系统模版导入</a>
| <a href="admin_skin.asp?action=outsys" target="main">导出</a></td>
</tr>
<tr>
<td height=20><img src="images/admin/bullet.gif"></td>
<td height=20><a href="admin_userskin.asp?action=addskin" target="main">添加用户模版</a>
| <a href="admin_userskin.asp?action=showskin&ispass=1" target="main">管理</a></td>
</tr>
<tr>
<td height=20><img src="images/admin/bullet.gif"></td>
<td height=20><a href="admin_skin.asp?action=inuser1" target="main">用户模版导入</a>
| <a href="admin_skin.asp?action=outuser" target="main">导出</a></td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20 class="menu_title"></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/admin/bg.gif" id=menuTitle5 onClick="showsubmenu(6)" style="cursor:hand;">
<span>上传文件管理</span> </td>
</tr>
<tr>
<td style="display:display" id='submenu6'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td width="15" height=20><img src="images/admin/bullet.gif"></td>
<td><a href=admin_uploadfile_user.asp target=main>上传管理用户清单</a><a href=admin_sysskin.asp?action=showconfig target=main></a></td>
</tr>
<tr>
<td width="15" height=20><img src="images/admin/bullet.gif"></td>
<td><a href=admin_uploadfile.asp target=main>上传管理文件清单</a><a href=admin_sysskin.asp?action=showconfig target=main></a></td>
</tr>
<tr>
<td width="15" height=20><img src="images/admin/bullet.gif"></td>
<td><a href=admin_filtupfile.asp target=main>整理上传文件数据</a><a href=admin_sysskin.asp?action=showconfig target=main></a></td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20 class="menu_title"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<%
'如果是SQL Server数据库则不再显示该节
If IS_SQLDATA=0 Then
%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/admin/bg.gif" id=menuTitle7 onClick="showsubmenu(7)" style="cursor:hand;">
<span>数据库管理</span> </td>
</tr>
<tr>
<td style="display:display" id='submenu7'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td width="15" height=20><img src="images/admin/bullet.gif"></td>
<td><a href=admin_database.asp?Action=Compact target=main>压缩数据库</a></td>
</tr>
<tr><td height=20><img src="images/admin/bullet.gif"></td>
<td height=20><a href=admin_database.asp?Action=Backup target=main>备份数据库</a></td>
</tr>
<tr><td height=20><img src="images/admin/bullet.gif"></td>
<td height=20><a href=admin_database.asp?Action=Restore target=main>恢复数据库</a></td>
</tr>
<tr><td height=20><img src="images/admin/bullet.gif"></td>
<td height=20><a href=admin_database.asp?Action=SpaceSize target=main>系统空间占用</a></td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20></td></tr>
</table>
</div>
</td>
</tr>
</table>
<%End If%>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/admin/bg.gif" id=menuTitle5 onClick="showsubmenu(8)" style="cursor:hand;">
<span>系统分析</span> </td>
</tr>
<tr>
<td style="display:display" id='submenu8'>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td width="15" height=20><img src="images/admin/bullet.gif"></td>
<td><a href=admin_analyze.asp?action=year target=main>数据年度分析</a></td>
</tr>
<tr>
<td width="15" height=20><img src="images/admin/bullet.gif"></td>
<td><a href=admin_analyze.asp?action=month target=main>数据月度分析</a></td>
</tr>
<tr>
<td width="15" height=20><img src="images/admin/bullet.gif"></td>
<td><a href=admin_analyze.asp?action=hour target=main>数据时段分析</a></td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr>
<td height=20 class="menu_title"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/admin/bg.gif" id=menuTitle9>
<span>oBlog信息</span> </td>
</tr>
<tr>
<td>
<div class=sec_menu style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=130>
<tr><td height=20><br>
版权所有: <a href="http://www.oBlog.cn" target=_blank>oBlog.cn</a><br>
设计制作: <a href='mailto:dxbo@163.com'>叶开</a><BR>
技术支持: <a href="http://bbs.oBlog.cn" target=_blank>oBlog论坛</a><br>
参与美工: <a href="http://beok.net" target="_blank">凯文迪奇</a><br>
<br>
</td></tr>
</table>
</div>
</td>
</tr>
</table>
</table>
</body>
</html>
<%
response.Write("<script src=""http://oblog.oioj.net/count.asp?a="&oblog.setup(3,0)&"&b="&oblog.setup(4,0)&"&c="&oblog.setup(21,0)&"&d="&oblog.ver&"&e="&is_sqldata&"&f="&oblog.setup(6,0)&"&g="&oblog.setup(24,0)&"""></script>")
end sub
sub admin_main()
Dim theInstalledObjects(17)
theInstalledObjects(0) = "MSWC.AdRotator"
theInstalledObjects(1) = "MSWC.BrowserType"
theInstalledObjects(2) = "MSWC.NextLink"
theInstalledObjects(3) = "MSWC.Tools"
theInstalledObjects(4) = "MSWC.Status"
theInstalledObjects(5) = "MSWC.Counters"
theInstalledObjects(6) = "IISSample.ContentRotator"
theInstalledObjects(7) = "IISSample.PageCounter"
theInstalledObjects(8) = "MSWC.PermissionChecker"
theInstalledObjects(9) = "Scripting.FileSystemObject"
theInstalledObjects(10) = "adodb.connection"
theInstalledObjects(11) = "SoftArtisans.FileUp"
theInstalledObjects(12) = "SoftArtisans.FileManager"
theInstalledObjects(13) = "JMail.SMTPMail"
theInstalledObjects(14) = "CDONTS.NewMail"
theInstalledObjects(15) = "Persits.MailSender"
theInstalledObjects(16) = "LyfUpload.UploadFile"
theInstalledObjects(17) = "Persits.Upload.1"
%>
<html>
<head>
<title>oBlog后台管理首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/admin/admin_STYLE.CSS">
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0" class="bgcolor">
<br>
<table cellpadding="2" cellspacing="1" border="0" width="98%" class="border" align=center>
<tr align="center">
<td width="300" height=25 class="topbg"><div align="left"><strong>oBlog后台管理首页</strong></div>
</tr>
</table>
<br>
<table width="98%" border="0" align=center cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="border">
<tr align="center">
<td height=25 colspan=2 class="topbg"><strong>系统启动与关闭</strong></th></tr>
<tr>
<td width="20%" class="tdbg" height=23>当前系统状态</td>
<td width="80%" class="tdbg"> <font color=red>
<%
Dim strSubmit
If Application(cache_name_user&"_systemstate")="stop" Then
Response.Write "关闭中"
strSubmit="重新启动"
Else
Response.Write "正常运行中"
strSubmit="关闭系统"
End If
%></font>
</td>
</tr>
<form name="systemcontrol" method="post" action="admin_index.asp?action=state">
<tr>
<td width="20%" class="tdbg" height=23>关闭时提示:</td>
<td width="80%" class="tdbg">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td>
<textarea cols=60 rows=5 name="systemnote"><%
If Application(cache_name_user&"_systemnote")="" Then
Response.Write "系统正在维护,稍后开放"
Else
Response.Write Application(cache_name_user&"_systemnote")
End If
%>
</textarea>
</td>
</tr>
</table></td>
</tr>
<tr>
<td class="tdbg" height=23></td>
<td class="tdbg"><input type="submit" value="<%=strSubmit%>">(系统处于关闭状态时,以管理员身份仍能完整访问)</td>
</tr>
</form>
</table>
<br>
<table width="98%" border="0" align=center cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="border">
<tr align="center">
<td height=25 class="topbg"><strong>oBlog 帮 助</strong>
<tr>
<td height=23 class="tdbg">1、<a href="../jsreadme.asp" target="_blank"><strong>首页调用文件的测试及帮助说明请点击这里</strong>。</a></td>
</tr>
<tr>
<td height=23 class="tdbg">2、<a href="admin_skin_help.asp" target="_blank"><strong>系统模版及用户模版的标记说明请点击这里</strong>。</a></td>
</tr>
<tr>
<td height=23 class="tdbg"><p>3、用户权限<br>
①已注册待审核用户:不能发表日志,但可以在关闭匿名评论的情况下发表留言和评论。<br>
②普通注册用户:可以发表日志、评论、回复。<br>
③VIP用户:有普通注册用户的所有权限,可单独设置上传空间。<br>
④前台管理员:有VIP用户的所有权限,另可以修改,删除所有用户的日志、评论、留言。<br>
⑤各用户组的上传权限,请在网站信息配置里设定。</p>
</td>
</tr>
<tr>
<td class="tdbg">4、将用户锁定以后,此用户的blog页面也将被屏蔽。</td>
</tr>
<tr>
<td height=23 class="tdbg">5、将IP屏蔽以后,此IP用户将不能登陆,且不能发表评论及留言。</td>
</tr>
<tr>
<td height=23 class="tdbg">6、将博客设置为推荐,必须在后台修改用户资料才能实现。</td>
</tr>
<tr>
<td height=23 class="tdbg">7、若上传文件不正常,请检查是否文件尺寸过大及服务器是否支持fso。</td>
</tr>
<tr>
<td height=23 class="tdbg">8、有任何问题,请咨询oBlog官方网站<a href="http://www.oBlog.cn" target="_blank">http://www.oBlog.cn</a>。</td>
</tr>
</table>
<br>
<table width="98%" border="0" align=center cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="border">
<tr align="center">
<td height=25 colspan=2 class="topbg"><strong>服 务 器 信 息</strong><tr>
<tr>
<td width="50%" class="tdbg" height=23>服务器类型:<%=Request.ServerVariables("OS")%>(IP:<%=Request.ServerVariables("LOCAL_ADDR")%>)</td>
<td width="50%" class="tdbg">脚本解释引擎:<%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></td>
</tr>
<tr>
<td width="50%" class="tdbg" height=23>站点物理路径:<%=request.ServerVariables("APPL_PHYSICAL_PATH")%></td>
<td width="50%" class="tdbg">数据库地址:</td>
</tr>
<tr>
<td width="50%" class="tdbg" height=23>FSO文本读写:
<%If Not IsObjInstalled(theInstalledObjects(9)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
<td width="50%" class="tdbg">数据库使用:
<%If Not IsObjInstalled(theInstalledObjects(10)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
</tr>
<tr>
<td width="50%" class="tdbg" height=23>Jmail组件支持:
<%If Not IsObjInstalled(theInstalledObjects(13)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
<td width="50%" class="tdbg">CDONTS组件支持:
<%If Not IsObjInstalled(theInstalledObjects(14)) Then%>
<font color="red"><b>×</b></font>
<%else%>
<b>√</b>
<%end if%></td>
</tr>
<tr>
<td class="tdbg" height=23> </td>
<td align="right" class="tdbg"> </td>
</tr>
</table>
<br>
<table width="98%" border="0" align=center cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" class="border">
<tr align="center">
<td height=25 colspan=2 class="topbg"><strong>oBlog开发</th></strong>
<tr>
<td width="20%" class="tdbg" height=23>核心程序设计:</td>
<td width="80%" class="tdbg"> <table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="60">叶开</td>
<td>( Email:dxbo@163.com; QQ:15005952)</td>
</tr>
</table></td>
</tr>
<tr>
<td width="20%" class="tdbg" height=23> </td>
<td width="80%" class="tdbg">注:模版部分仅供测试使用,版权归原作者所有。</td>
</tr>
<tr>
<td class="tdbg" height=23>参与界面设计:</td>
<td class="tdbg">凯文迪奇 Email:blogcup@gmail.com </td>
</tr>
</table>
</body>
</html>
<%
end sub
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -