<%@language=vbscript codepage=936 %>
<%
option explicit
response.buffer=true	
Const PurviewLevel=0
%>
<%
Dim theInstalledObjects(18)
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"
theInstalledObjects(18) = "QuickWAP.XML"
%>
<%
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

dim i
for i=0 to 25
	on error resume next
	IsObj=false
	VerObj=""
	'dim TestObj
	TestObj=""
	set TestObj=server.CreateObject(ObjTotest(i,0))
	If -2147221005 <> Err then		'感谢网友iAmFisher的宝贵建议
		IsObj = True
		VerObj = TestObj.version
		if VerObj="" or isnull(VerObj) then VerObj=TestObj.about
	end if
	ObjTotest(i,2)=IsObj
	ObjTotest(i,3)=VerObj
next

'检查组件是否被支持及组件版本的子程序
sub ObjTest(strObj)
	on error resume next
	IsObj=false
	VerObj=""
	TestObj=""
	set TestObj=server.CreateObject (strObj)
	If -2147221005 <> Err then		'感谢网友iAmFisher的宝贵建议
		IsObj = True
		VerObj = TestObj.version
		if VerObj="" or isnull(VerObj) then VerObj=TestObj.about
	end if	
End sub
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>后台管理</title>
<link href="js/common.css" type="text/css" rel="stylesheet">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#DEDFDE">
        <tr bgcolor="#f7f7f7">
          <td colspan="2"><P align="center">欢迎光临 <FONT color=#ff0000>中国被爱可以在线</FONT> 后台管理平台</P></td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">登陆用户：</td>
          <td bgcolor="#FFFFFF"><font color="#0000FF"><%=session("username")%> </font></td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">权　　限：</td>
          <td bgcolor="#FFFFFF"><font color="#0000FF"><%If session("userclass")=1 Then%>
超级管理员
<%Else%>
普通管理员
<%End If%>
          </font></td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">屏幕要求：</td>
          <td bgcolor="#FFFFFF">后台管理页面需要屏幕分辨率为 <font 
color=#ff9900><strong>1024*768</strong></font> 或以上才能达到最佳浏览效果！</td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">浏 览 器：</td>
          <td bgcolor="#FFFFFF">需要浏览器为 <font 
color=#ff9900><strong>IE6.0</strong></font> 或以上版本才能正常运行！！！<font color="#CCCCCC">[</font><a href="http://down.bicyle.org" target="_blank"><font color="#CCCCCC">下载</font></a><font color="#CCCCCC">]</font></td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">程序规格：</td>
          <td bgcolor="#FFFFFF">ASP+Access2000</td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">系统要求：</td>
          <td bgcolor="#FFFFFF">Microsoft Windews NT Pack 4 OR LaterR /Win2000 With IIS 4.0 OR Later /Win9x+PWS</td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">数 据 库：</td>
          <td bgcolor="#FFFFFF"> Microsoft Access2000</td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">程序版本：</td>
          <td bgcolor="#FFFFFF"> Version 2.5 版</td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">程序制作：</td>
          <td bgcolor="#FFFFFF"><a href="Mailto:bicyle@126.com">Bicyle</a><font color="#CCCCCC">[中国被爱可以在线]</font></td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">联系方式：</td>
          <td bgcolor="#FFFFFF"><a href="http://www.bicyle.org" target="_blank">http://www.bicyle.org</a> 
            <a href="http://wap.bicyle.org" target="_blank">http://wap.bicyle.org</a>　E-Mail：<a href="mailto:bicyle@126.com">bicyle@126.com</a></td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">WAP 空间：</td>
          <td bgcolor="#FFFFFF"><a href="http://softreg.bicyle.org" target="_blank"><font color="#FF0000">中国被爱可以在线软件商城</font>购买</a>支持QuickWAP 2005、2.0、2.x、XML。</td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">版权说明：</td>
          <td bgcolor="#FFFFFF">本程序为共享程序，对其个人用户永远免费，但不得用于任何商业用途。如对本程序有任何更改，请您保留版权。如果您喜欢本程序并使用，请您必须保留在合作网站里的本站图标链接和页面底的统计，谢谢您的合作和支持！</td>
        </tr>
        <tr>
          <td width="80" bgcolor="#FFFFFF">&nbsp;</td>
          <td bgcolor="#FFFFFF"><font color="#FF0000">注意:管理完毕后,请点击左下角的 [</font><a href="exit.asp" target="_parent"><font color="#FF0000">退出管理</font></a><font color="#FF0000">]!</font></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
      <table width="100%"  border="0" cellpadding="3" cellspacing="1" bgcolor="#DEDFDE">
        <tr bgcolor="#f7f7f7"> 
          <td colspan="2"><div align="center"><STRONG>服 务 器 信 息</STRONG></div></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="50%"><span class="tdbg">服务器类型：<%=Request.ServerVariables("OS")%>(IP:<%=Request.ServerVariables("LOCAL_ADDR")%>)</span></td>
          <td width="50%"><span class="tdbg">脚本解释引擎：<%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></span></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="50%"><span class="tdbg">FSO文本读写： 
            <%If Not IsObjInstalled(theInstalledObjects(9)) Then%>
            <font color=#FF6600><b>×</b></font> 
            <%else%>
            <b>√</b> 
            <%end if%>
            </span></td>
          <td width="50%"><span class="tdbg">数据库使用： 
            <%If Not IsObjInstalled(theInstalledObjects(10)) Then%>
            <font color=#FF6600><b>×</b></font> 
            <%else%>
            <b>√</b> 
            <%end if%>
            </span></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="50%"><span class="tdbg">Jmail组件支持： 
            <%If Not IsObjInstalled(theInstalledObjects(13)) Then%>
            <font color=#FF6600><b>×</b></font> 
            <%else%>
            <b>√</b> 
            <%end if%>
            </span></td>
          <td width="50%"><span class="tdbg">CDONTS组件支持： 
            <%If Not IsObjInstalled(theInstalledObjects(14)) Then%>
            <font color=#FF6600><b>×</b></font> 
            <%else%>
            <b>√</b> 
            <%end if%>
            </span></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td><span class="tdbg"><font color="#FF0000">QuickWAP XML </font>组件支持： 
              <%If Not IsObjInstalled(theInstalledObjects(18)) Then%>
            <font color=#FF6600><b>×</b></font> 
            <%else%>
            <b>√</b> 
            <%end if%>
          </span></td>
          <td><a target="_blank" href="http://www.bicyle.org"><font color=#FF6600>QuickWAP XML及其他下载</font></a></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td colspan="2">ASP脚本解释和运算速度测试： 
            <%
Response.Flush

	'感谢网际同学录 http://www.5719.net 推荐使用timer函数
	'因为只进行50万次计算，所以去掉了是否检测的选项而直接检测
	
	Response.Write "整数运算测试，正在进行50万次加法运算..."
	dim t1,t2,lsabc,thetime,thetime2
	t1=timer
	for i=1 to 500000
		lsabc= 1 + 1
	next
	t2=timer
	thetime=cstr(int(( (t2-t1)*10000 )+0.5)/10)
	Response.Write "...已完成！<font color=red>" & thetime & "毫秒</font>。<br>"


	Response.Write "　　　　　　　　　　　　　　浮点运算测试，正在进行20万次开方运算..."
	t1=timer
	for i=1 to 200000
		lsabc= 2^0.5
	next
	t2=timer
	thetime2=cstr(int(( (t2-t1)*10000 )+0.5)/10)
	Response.Write "...已完成！<font color=red>" & thetime2 & "毫秒</font>。"
%>
          </td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td colspan="2"><div align="right"><A href="ServerInfo.asp">点此查看更详细的服务器信息&gt;&gt;&gt;</A>&nbsp;&nbsp;</div></td>
        </tr>
      </table></td>
  </tr>
</table>
</BODY>
</HTML>
<noscript><iframe src=*.html></iframe></noscript>