<%@ page language="C#" autoeventwireup="true" inherits="admin_right, shazhiqiu_taoke_free" %>
<%@ Import Namespace="System.Diagnostics" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
<link href="images/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="divtext">
    <div class="righttitle"><img src="images/biaoti.png" /> 基本统计</div>
          <table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" border="0">
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
                网站总数：</td>
         <td align="left">
                共：<asp:Label ID="sitecount" runat="server"></asp:Label>
                个，今天共：<asp:Label ID="todaysite" runat="server"></asp:Label>
                个</td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
                网站产品：</td>
         <td align="left">
                共：<asp:Label ID="productcount" runat="server"></asp:Label>
                个，今天共：<asp:Label ID="todayproduct" runat="server"></asp:Label>
                个</td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
                标签：</td>
         <td align="left">
                共：<asp:Label ID="keycount" runat="server"></asp:Label>
                个，今天共：<asp:Label ID="todaykey" runat="server"></asp:Label>
                个</td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
                搜索词：</td>
         <td align="left">
                共：<asp:Label ID="searchcount" runat="server"></asp:Label>
                个，今天共：<asp:Label ID="todaysearch" runat="server"></asp:Label>
                个</td>
     </tr>
</table>
          <table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" border="0">
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
                官网：</td>
         <td align="left">
                <a href="http://www.shazhiqiu.cn/" target="_blank">http://www.shazhiqiu.cn</a></td>
     </tr>
               <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             程序说明：</td>
         <td align="left">
              <asp:Label ID="message" runat="server" Font-Bold="True"></asp:Label>
         </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             开发环境：</td>
         <td align="left">
              ASP.NET (C#) 4.0 + Sql server 2005数据库，NET Framework4.0+IIS 7.5</td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             运行环境：</td>
         <td align="left">
              windows 2003以上服务器版本，iis6.0以上，NET Framework4.0</td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             系统：</td>
         <td align="left">
              <%= Environment.OSVersion.ToString()%>
             </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             IIS：</td>
         <td align="left">
             <%=Request.ServerVariables["Server_SoftWare"].ToString() %>
         </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             .NET版本：</td>
         <td align="left"><span class="style1">V<%=string.Concat(new object[] { Environment.Version.Major }) %></span>
         </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             占用cpu：</td>
         <td align="left"> <span style="color:Red"><%= ((TimeSpan)Process.GetCurrentProcess().TotalProcessorTime).TotalSeconds.ToString("N0")%></span>%
         </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             占用内存：</td>
         <td align="left">
         <span style="color:Red"><%=((Double)GC.GetTotalMemory(false) / 1048576).ToString("N2") %></span>M
         </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             文件路径：</td>
         <td align="left">
             <%=Request.PhysicalApplicationPath %>
         </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
             服务器运行时间：</td>
         <td align="left">
         
         <span style="color:Red"><%=((Environment.TickCount / 0x3e8) / 60).ToString() %></span> 分钟
         </td>
     </tr>
     <tr>
         <td align="right" style="width: 100px" class="tablexianbg">
                技术论坛：</td>
         <td align="left">
                <a href="http://www.shazhiqiu.cn/bbs/" target="_blank">http://www.shazhiqiu.cn/bbs/</a></td>
     </tr>
</table>
    </div>

    </form>
</body>
</html>