📄 mian_index.asp
字号:
<!--#include file = admin_chk.asp -->
<%
ver="3.1"
sql1="select count(UserID) from Art_User where Locked=1 " '待审核会员
set user=conn.execute(sql1)
user=user(0)
sql1="select count(id) from news where sh=2" '待审核新闻
set newssh=conn.execute(sql1)
newssh=newssh(0)
sql1="select count(id) from UserTouGao " '网友投稿
set tg=conn.execute(sql1)
tg=tg(0)
sql1="select count(id) from newspl where sh=0" '待审核评论
set pls=conn.execute(sql1)
pls=pls(0)
sql1="select count(id) from gbook where online='0'" '待审核留言
set ly=conn.execute(sql1)
ly=ly(0)
'sql1="select count(Id) from news where sh=1 and datediff('d',[time],now())<3" '最新新闻(3天内)
'set news=conn.execute(sql1)
'news=news(0)
sql1="select count(Id) from news where sh=3 and newscj=1" '待审核采集文章
set newscj=conn.execute(sql1)
newscj=newscj(0)
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" 'FSO 文本文件读写
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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<link href="../images/admin/style.css" rel="stylesheet" type="text/css">
<title>后台管理首页</title>
</head>
<body style="margin-top: 0px">
<table width="100%" border="0" align=center cellpadding=3 cellspacing=1 bordercolor="#FFFFFF" bgcolor="#C4D8ED">
<tr>
<td height=23 colspan=2 background="../images/admin/th_bg.gif"> <font color="#FFFFFF"> <strong> 网站信息统计</strong></font></td>
</tr>
<tr>
<td height=23 colspan=2 class="plen"> <span class="greentext">网站信息:</span><a href="admin_user.asp">待审会员<font color=#ff0000> <%=user%> </font>名</a> <a href="admin_news_list.asp?sh=2">待审文章<font color=#ff0000> <%=newssh%> </font>篇</a> <a href="admin_news_list.asp?cj=1">待审采集文章<font color=#ff0000> <%=newscj%> </font>篇</a> <a href="admin_tg.asp">待审投稿<font color=#ff0000> <%=tg%> </font>篇</a> <a href="admin_news_pl.asp">待审文章评论<font color=#ff0000> <%=pls%> </font>条</a> <a href="admin_gbook.asp">待审留言<font color=#ff0000> <%=ly%> </font>条</a> </td>
</tr>
<tr>
<td width="42%" height=23 class="plon"> 服务器类型:<%=Request.ServerVariables("OS")%>(IP:<%=Request.ServerVariables("LOCAL_ADDR")%>)</td>
<td width="58%" class="plan"> 当前使用版本:<STRONG><font color="#660000">ART2008 CMS(free) V<%=ver%></font></STRONG>(最新版本是:<font color="#336600"><script TYPE="text/javascript" language="javascript" src="http://www.art2008cms.com/ver.asp"></script></font>)</td>
</tr>
<tr>
<td width="42%" height=23 class="plon"> 数据库使用:
<%If IsObjInstalled(theInstalledObjects(10)) Then
Response.Write "<font color=green><b>√</b></font>"
Else
Response.Write "<font color=red><b>×</b></font>"
End If
%></td>
<td class="plan"> 数据库类型:
<%If DataBaseType=1 Then
Response.Write "<font style=""FONT-SIZE: 10pt; COLOR: #CC0000"">MS SQL</font>"
Else
Response.Write "<font style=""FONT-SIZE: 10pt; COLOR: #CC0000"">MS ACCESS</font>"
End If%>
</td>
</tr>
<tr>
<td width="42%" height=23 class="plon"> Jmail组件支持:
<%If IsObjInstalled(theInstalledObjects(13)) Then
Response.Write "<font color=green><b>√</b></font>"
Else
Response.Write "<font color=red><b>×</b></font>"
End If%>
</td>
<td width="58%" class="plan"> FSO 文本文件读写支持:
<%If IsObjInstalled(theInstalledObjects(9)) Then
Response.Write "<font color=green><b>√</b></font>"
Else
Response.Write "<font color=red><b>×</b></font>"
End If
%></td>
</tr>
<tr>
<td width="42%" height=23 class="plon"> AspJpeg组件支持:
<%If Not IsObjInstalled("Persits.Jpeg") Then
Response.Write "<font color=red><b>×</b></font>"
Else
Response.Write "<font color=green><b>√</b></font>"
End If%></td>
<td width="58%" class="plan"> 无组件上传支持:
<%
If IsObjInstalled("Adodb.Stream") Then
Response.Write "<font color=green><b>√</b></font>"
Else
Response.Write "<font color=red><b>×</b></font>"
End If
%></td>
</tr>
<tr>
<td height=25 colspan=2 class="plen"> <A href="admin_data.asp?action=BackupData" target="main"><font color="#FF0000">数据定期备份:</font></A>请注意做好定期数据备份,数据的定期备份可最大限度的保障您网站数据的安全 </td>
</tr>
<tr>
<td height=25 colspan=2 align="right" class="plen"><a href="aspcheck.asp">点此查看更详细的服务器信息>>></a></td>
</tr>
</table>
<br>
<table width="100%" border="0" align=center cellpadding="3" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#C4D8ED">
<tr><td height=25 colspan=2 class="forumRaw"> <font color="#135294"><strong>系统管理帮助</strong></font></td>
</tr>
<tr>
<td width="120" height=100 align="center" valign=middle class="forumRow"><B>友情提醒</B>:</td>
<td width="846" height=23 class="forumRow">
① 进行任何的<span class="redtext">删除操作都是不可逆的</span>,要仔细看页面中的说明,以免误操作
<BR>
② 网站后台为整套系统最关键也是最脆弱部分,建议定期的查看系统安全日志<BR>
③ 系统的数据库名称建议更改(直接在程序所在的服务器上修改或通过FTP修改),<span class="plen">做好定期数据备份</span>。<br>
④ 系统管理员的帐号及密码应复杂,不易被猜测到,建议定期更改。<BR>
⑤ 系统正常运行,请注意确保【<span class="redtext">网站基本设置</span>】中参数设置是否正确! </td>
</tr>
</table>
<br>
<table width="100%" border="0" align=center cellpadding="3" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#C4D8ED">
<tr>
<td height=25 colspan=2 class="forumRaw"> <font color="#135294"><strong>版本信息</strong></font></td>
</tr>
<tr>
<td width="120" height=25 align="center" valign=middle class="forumRow"><B>程序内核:</B></td>
<td width="846" valign="middle" class="forumRow"> Art2008网站管理系统</td>
</tr>
<tr>
<td height=25 width="120" align="center" valign=middle class="forumRow"><B>整体开发:</B></td>
<td width="846" class="forumRow"> ART专业网站设计团队 </td>
</tr>
<tr>
<td width="120" height=25 align="center" valign=middle class="forumRow"><B>联系方式:</B> </td>
<td width="846" class="forumRow"><br>
客服 QQ:<A href="tencent://message/?uin=25014998&Site=Art2008&Menu=yes" target=_blank>25014998</a>, <A href="tencent://message/?uin=1007153526&Site=Art2008&Menu=yes" target=_blank>1007153526</a>, <A href="tencent://message/?uin=369615259&Site=天赐&Menu=yes" target=_blank>369615259</a> QQ群:62660420, 24741759,79010434<br>
<br>
官方网站:<a href="http://www.Art2008CMS.com" target="_blank">http://www.Art2008CMS.com</a><br>
<br>
电子邮箱:<a href="mailto:Art2008_cms@163.com" >Art2008_cms@163.com</a> <br><br>
</td>
</tr>
</table>
<%Call AdminPageEnd()%>
</body></html>
<%
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
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -