<!--#include file="../inc/cms_admin.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="<%=sitepath%>css/bootstrap.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/font-awesome.min.css" rel="stylesheet">
<link href="<%=sitepath%>plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/animate.min.css" rel="stylesheet">
<link href="<%=sitepath%>css/style.min.css" rel="stylesheet">
<script src="<%=sitepath%>js/jquery.min.js"></script>
<script src="<%=sitepath&adminPath%>js/adminjs.js"></script>
<!--[if lte IE 9]>
<script src="<%=sitepath%>js/respond.min.js"></script>
<script src="<%=sitepath%>js/html5.js"></script>
<![endif]-->
</head>

<body class="gray-bg sidebar-content">

<div class="wrapper wrapper-content">
  <div class="row">
     <div class="alert alert-success">
      <h3>欢迎你：<strong style="color:#00c0ff;"><%=getsession("admingroup")&" "&getcookie("adminname")%></strong>，今天是<%=date()%></h3>
      &#8226; 你正在使用的是启点在线(KCMS)网站管理系统,简称KCMS，欢迎你对本系统提出更好的建议和意见。<br>
      &#8226; KCMS是一款基于ASP脚本语言的CMS，具有简单易用，功能强大，性价比高，扩展性好，安全性高，稳定性好的网站系统，可以加快企业及个人网站的开发的速度和减少开发的成本，让不同的用户在懂的少许HTML语言的基础上，就能够快速的构建一个风格个性化而功能强大的网站。<br>
	  &#8226; 当前你使用的是启点在线官方 <strong style="color:#f96868;"><%=cms_version%>正式版</strong>，请保留版权说明。<a class="alert-link" href="<%=cms_verurl%>" target="_blank">进入启点在线官方网站了解更多...</a></div>
      
        <div class="clear"></div>

<div class="row">
				
				<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
					<div class="info-box red-bg">
						<i class="fa fa-thumbs-o-up"></i>
						<div class="count"><a class="counttxt" onClick="goparent('sort')"><%=isnum(dbcount("[dbpre]sort","S_Onoff=1"))%></a></div>
						<div class="title">栏目数</div>						
					</div>		
				</div>
				
				<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
					<div class="info-box green-bg">
						<i class="fa fa-cubes"></i>
						<div class="count"><a class="counttxt" onClick="goparent('about')"><%=isnum(dbcount("[dbpre]about","A_Onoff=1"))%></a></div>
						<div class="title">单篇</div>						
					</div>	
				</div>
				
				<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
					<div class="info-box blue-bg">
						<i class="fa fa-cloud-download"></i>
						<div class="count"><a class="counttxt" onClick="goparent('news')"><%=isnum(dbcount("[dbpre]content","C_Onoff=1 and C_type='news'"))%></a></div>
						<div class="title">新闻</div>						
					</div>	
				</div>
				
				<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
					<div class="info-box magenta-bg">
						<i class="fa fa-shopping-cart"></i>
						<div class="count"><a class="counttxt" onClick="goparent('product')"><%=isnum(dbcount("[dbpre]content","C_Onoff=1 and C_type='product'"))%></a></div>
						<div class="title">产品</div>						
					</div>	
				</div>
				
			</div>

<div class="row">
<div class="col-md-7">
							<div class="panel">
								<div class="panel-heading">
									<h3 class="panel-title">服务器与文件夹信息</h3>
									<div class="panel-aj">
										<button type="button" class="btn-toggle-collapse"><i class="fa fa-chevron-down"></i></button>
										<button type="button" class="btn-remove"><i class="fa fa-times"></i></button>
									</div>
								</div>
<div class="panel-body">
<div class="panel-body no-padding">		
<table width="65%" border="0" cellpadding="0" cellspacing="0" class="table /*table-striped*/">
  <tr>
    <td>项目</td>
    <td>状态</td>
    <td rowspan="14">&nbsp;</td>
    <td>文件开启检测</td>
    <td><a onclick=openonoff("cms_Content/system/system_Fun.asp?act=setconfig&configname=Ischeckrw&configval=<%=Abs(Ischeckrw-1)%>") title="点击开启关闭检查读写" class="btn btn-<%=Ischeckrw%>  dim"><i class="fa fa-toggle-on"></i></a> <%=checkonoff(Ischeckrw,"ch")%></td>
  </tr>
  <tr>
    <td>操作系统</th>
    <td><%=Request.ServerVariables("OS")%>
	  <%
      dim thesoft,vOS
      thesoft=Request.ServerVariables("HTTP_USER_AGENT")
      if instr(thesoft,"Windows NT 5.0") then
	     vOS="Windows 2000"
      elseif instr(thesoft,"Windows NT 5.2") then
	     vOs="Windows 2003"
      elseif instr(thesoft,"Windows NT 5.1") then
         vOs="Windows XP"
      elseif instr(thesoft,"Windows NT") then
       	 vOs="Windows NT"
      elseif instr(thesoft,"Windows 9") then
	     vOs="Windows 9x"
      elseif instr(thesoft,"unix") or instr(thesoft,"linux") or instr(thesoft,"SunOS") or instr(thesoft,"BSD") then
	     vOs="类Unix"
      elseif instr(thesoft,"Mac") then
	     vOs="Mac"
      else
     	vOs="Other"
      end if
      response.Write(vOs)
      %>	</td>
    <td>配置文件<%=sitepath&"config/"%></td>
    <td><%=checkrw(sitepath&"config/")%></td>
  </tr>
  <tr>
    <td>web 服务器</td>
    <td><%=Request.ServerVariables("SERVER_SOFTWARE")%></td>
    <td>数据库文件<%=sitepath&dbPath%></td>
    <td><%=checkrw(sitepath&dbPath)%></td>
  </tr>
  <tr>
    <td>服务器地址</th>
    <td><%=getthisurl("0")%></td>
    <td>缓存文件<%=sitepath&CachePath%></td>
    <td><%=checkrw(sitepath&CachePath)%></td>
  </tr>
  <tr>
    <td>服务器IP</td>
    <td><%=getServerIP()%></th>
    <td>数据备份文件夹<%=sitepath&dbPath%>backup/</td>
    <td><%=checkrw(sitepath&dbPath&"backup/")%></td>
  </tr>
  <tr>
    <td>服务器时间</td>
    <td><%=sqltime%></td>
    <td>系统临时文件C:\Windows\Temp</td>
    <td><%=checkrw("C:\Windows\Temp")%></td>
  </tr>
  <tr>
    <td>脚本超时时间</td>
    <td><%=Server.ScriptTimeout%> s</td>
    <td>网站模板文件夹<%=sitepath&"template/pc/"&zset.PcTemplate%></td>
    <td><%=checkrw(sitepath&"template/pc/"&zset.PcTemplate)%></td>
  </tr>
  <tr>
    <td>服务器脚本引擎</td>
    <td><%=ScriptEngine & "/"& ScriptEngineMajorVersion &"."&ScriptEngineMinorVersion&"."& ScriptEngineBuildVersion %></td>
    <td>手机模板文件<%=sitepath&"template/Wap/"&zset.wapTemplate%></td>
    <td><%=checkrw(sitepath&"template/Wap/"&zset.wapTemplate)%></td>
  </tr>
      <%
	  dim mapPath,folder
	  	mapPath    = server.mappath(sitePATH)	
		set folder = fso.getFolder(mapPath)	 		
		dim support,nosupport
		support="<span class='badge badge-primary'>支持</span>"
		nosupport="<span class='badge badge-danger'>不支持</span>"
	  %>
  <tr>
    <td>数据集对象</td>
    <td><% if isObjInstalled("Adodb.Recordset") then echo support  else  echo nosupport %></td>
    <td>上传文件夹<%=sitepath&upLoadPath%></td>
    <td><%=checkrw(sitepath&upLoadPath)%></td>
  </tr>
  <tr>
    <td>ADO 数据对象</td>
    <td><% if isObjInstalled("Adodb.Connection") then echo support  else  echo nosupport %></td>
    <td>Adodb.Stream(ADO数据流对象,常见被用在无组件上传程序中)</td>
    <td><% if isObjInstalled("Adodb.Stream") then echo support  else  echo nosupport %></td>
  </tr>
  <tr>
    <td>JMail.SmtpMail</td>
    <td><% if isObjInstalled("JMail.SmtpMail") then echo support  else  echo nosupport %></td>
    <td>Scripting.FileSystemObject(FSO文件系统管理,文本文件读写)</td>
    <td><% if isObjInstalled("Scripting.FileSystemObject") then echo support  else  echo nosupport %></td>
  </tr>
  <tr>
    <td>Persits.Jpeg</td>
    <td><% if isObjInstalled("Persits.Jpeg") then echo support  else  echo nosupport %></td>
    <td>Scripting.Dictionary(保存数据键和项目对的对象)</td>
    <td><% if isObjInstalled("Scripting.Dictionary") then echo support  else  echo nosupport %></td>
  </tr>
  <tr>
    <td>CDONTS组件支持</td>
    <td><% if isObjInstalled("CDONTS.NewMail") then echo support  else  echo nosupport %></td>
    <td>Microsoft.XMLHTTP(Http组件,在采集系统中必须用到)</td>
    <td><% if isObjInstalled("Microsoft.XMLHTTP") then echo support  else  echo nosupport %></td>
  </tr>
</table>
</div>
</div>

							</div>
						</div>
												
<div class="col-md-5">
							<div class="panel panel-scrolling">
								<div class="panel-heading">
									<h3 class="panel-title">内容统计</h3>
									<div class="panel-aj">
										<button type="button" class="btn-toggle-collapse"><i class="fa fa-chevron-down"></i></button>
										<button type="button" class="btn-remove"><i class="fa fa-times"></i></button>
									</div>
								</div>
								<div class="panel-body">
<ul class="list-group">
        <%dim rs : set rs=dbsqlr1("select Model_ID,Model_Name,Model_type,Model_table from [dbpre]Model where Model_OnOff=1 and Model_table='content' order by Model_Order asc")
   do while not rs.eof
   %>
        <li class="list-group-item" onClick="goparent('<%=rs("Model_type")%>')"> <span class="badge badge-<%=rs("Model_ID")%>"><%=dbcount("[dbpre]"&rs("Model_table")&"","C_Type='"&rs("Model_type")&"' and C_OnOff=1")%></span> <a href="javascript:void(0)"><%=rs("Model_Name")%></a> </li>
        <%
	rs.movenext		
	loop
	closers rs
	%>
     <li class="list-group-item" onClick="goparent('brand')"> <span class="badge badge-1"><%=dbcount("[dbpre]brand","B_OnOff=1")%></span> 
     <a href="javascript:void(0)"><%=dbselect("[dbpre]Model","Model_Name","Model_type='brand'")%></a> </li>
     <li class="list-group-item" onClick="goparent('gbook')"> <span class="badge badge-7" title="需要审核留言数"><%=dbcount("[dbpre]gbook","G_Onoff=0")%></span> <span class="badge badge-2"><%=dbcount("[dbpre]gbook","")%></span> 
     <a href="javascript:void(0)">留言</a> </li>
     <li class="list-group-item" onClick="goparent('user')"> <span class="badge badge-7" title="需要审核会员数"><%=dbcount("[dbpre]user","U_Onoff=0 and U_GID>3")%></span> <span class="badge badge-3"><%=dbcount("[dbpre]user","U_Onoff=1 and U_GID>3")%></span> 
     <a href="javascript:void(0)">会员</a> </li>
      <li class="list-group-item" onClick="goparent('links')"> <span class="badge badge-4"><%=dbcount("[dbpre]links","L_OnOff=1")%></span> 
     <a href="javascript:void(0)">友情</a> </li>

</ul>
									<button type="button" class="btn btn-primary btn-bottom center-block"><a href="cms_content/Sort/Sort_List.asp" class="J_menuItem"><div class="counttxt">分类栏目管理</div></a></button>
								</div>
							</div>
						</div>
					</div>
  </div>
</div>
<footerdb>
<p>Copyright <%=year(now())%> KCMS <%=cms_version%> © Design:<a href="http://www.kelvinvt.com" title="启点在线-官方网站" target="_blank">Kelvinvt</a> All Rights Reserved.</p>
</footerdb>
</body>
<script src="<%=sitepath%>js/klorofil-common.js"></script>
<script src="<%=sitepath%>js/bootstrap.min.js"></script>
<script src="<%=sitepath%>plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="<%=sitepath%>plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="<%=sitepath%>plugins/switchery/switchery.js"></script>
<link href="<%=sitepath%>plugins/switchery/switcherybig.css" rel="stylesheet">
<script src="<%=sitepath%>plugins/layer/layer.min.js"></script>
</html>
