<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="systeminf.aspx.cs" Inherits="FangPage.Admin.systeminf" %>

<%@ Register Assembly="FangPage.Control" Namespace="FangPage.Control" TagPrefix="cc1" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>系统配置信息</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link href="styles/bmsmanager.css" type="text/css" rel="stylesheet" />
    <link href="styles/modelpopup.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="ManagerForm" align="left"> 
    <fieldset>
	  <legend style="background:url(images/icon32/ServerInfo.gif) no-repeat 3px; padding-left:40px;">系统配置信息</legend>
				<table width="100%" border="0" class="table1" cellspacing="0" cellpadding="4">
					<tr>
						<td width="20%" class="td1"><b>服务器名称：</b></td>
						<td width="30%" class="td1">
							<asp:label ID="servername" runat="server" />
						</td>
						<td width="20%" class="td1"><b>服务器操作系统：</b></td>
						<td width="30%" class="td1">
							<asp:label ID="serverms" runat="server" />
						</td>
					</tr>
					<tr>
						<td width="20%" class="td2"><b>服务器IP地址：</b></td>
						<td width="30%" class="td2">
							<asp:label ID="m_serverip" runat="server" />
						</td>
						<td width="20%" class="td2"><b>服务器域名：</b></td>
						<td width="30%" class="td2">
							<asp:label ID="server_name" runat="server" />
						</td>
					</tr>
					<tr>
					    <td width="20%" class="td1"><b>服务器所在地：</b></td>
						<td width="30%" class="td1"><asp:label ID="serverlocal" runat="server" />
						</td>
						<td width="20%" class="td2"><b>服务器当前时间：</b></td>
						<td class="td2"><div id="clock">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
							&nbsp;
						</td>
					</tr>
					<tr>
						<td width="20%" class="td1"><b>服务器IIS版本：</b></td>
						<td width="30%" class="td1">
							<asp:label ID="serversoft" runat="server" />
						</td>
						<td width="20%" class="td1"><b>.NET解释引擎版本：</b></td>
						<td width="30%" class="td1">
							<asp:label ID="servernet" runat="server" />
						</td>
					</tr>
					<tr>
						<td width="20%" class="td2"><b>HTTP访问端口：</b></td>
						<td width="30%" class="td2">
						    <asp:label ID="serverport" runat="server" />
						</td>
						<td width="20%" class="td2"><b>服务端脚本执行超时：</b></td>
						<td width="30%" class="td2">
							<asp:label ID="serverout" runat="server" />
							秒
						</td>
					</tr>
					<tr>
						<td class="td1"><b>站点绝对路径：</b></td>
						<td class="td1"><asp:label ID="serverppath" runat="server" />
						</td>
						<td width="20%" class="td1"><b>系统当前版本：</b></td>
						<td width="30%" class="td1">
						   <asp:label ID="sysversion" runat="server" />
						</td>
					</tr>
					<tr>
						<td width="20%" class="td1"><b>站点状态：</b></td>
						<td width="30%" class="td1">
						    <asp:label ID="webstate" runat="server" />
						</td>
						<td class="td1"><b>数据库类型：</b></td>
						<td class="td1">
							<asp:label ID="dbtype" runat="server"></asp:label>
						</td>
					</tr>
					<tr>
						<td width="20%" class="td1"><b>站点空间大小：</b></td>
						<td width="30%" class="td1"><asp:label ID="webmaxsize" runat="server" />
						</td>
						<td width="20%" class="td1"><b>已使用空间大小：</b></td>
						<td width="30%" class="td1">
						   <asp:label ID="websize" runat="server" />
						</td>
					</tr>
					<tr>
						<td width="20%" class="td1"><b>数据库空间大小：</b></td>
						<td width="30%" class="td1"><asp:label ID="dbmaxsize" runat="server" />
						</td>
						<td width="20%" class="td1"><b>已占用空间大小：</b></td>
						<td width="30%" class="td1">
						   <asp:label ID="dbsize" runat="server" />
						</td>
					</tr>
				</table>
				<table width="100%" class="table1" cellspacing="0" cellpadding="4">
					<tr>
						<td width="20%" class="td1"><b>登录IP地址：</b></td>
						<td width="30%" class="td1">
							<asp:label ID="cip" runat="server"></asp:label>
						</td>
						<td width="20%" class="td1"><b>登录操作系统：</b></td>
						<td width="30%" class="td1">
							<asp:label ID="ms" runat="server" /></td>
					</tr>
					<tr>
						<td width="20%" class="td2"><b>登录所在地：</b></td>
						<td width="30%" class="td2">
							<asp:label ID="ie" runat="server" /></td>
						<td width="20%" class="td2"><b>登录浏览器：</b></td>
						<td width="30%" class="td2">
							<asp:label ID="vi" runat="server" /></td>
					</tr>
					<tr>
						<td width="20%" class="td1"><b>JavaScript：</b></td>
						<td width="30%" class="td1">
						    <asp:label ID="javas" runat="server" />
						</td>
						<td class="td1"><b>Cookies：</b></td>
						<td class="td1">
							<asp:label ID="cookies" runat="server" /></td>
					</tr>
				</table>
	  </fieldset>
    </div>
    <script type="text/javascript">
    // client time when loaded
    var ldc = new Date();
    // server time when loaded
    var lds = new Date(i10("<%=Convert.ToDateTime(nowdatetime).ToString("yyyy")%>"), i10("<%=Convert.ToDateTime(nowdatetime).ToString("MM")%>")-1, i10("<%=Convert.ToDateTime(nowdatetime).ToString("dd")%>"), i10("<%=Convert.ToDateTime(nowdatetime).ToString("HH")%>"), i10("<%=Convert.ToDateTime(nowdatetime).ToString("mm")%>"), i10("<%=Convert.ToDateTime(nowdatetime).ToString("ss")%>"));
    // start clock
    var clk = document.getElementById("clock");
    tick();
    function tick() {
    if (clk && clk.innerHTML) {
    // current client time
    var cc = new Date();
    // current server time
    var cs = new Date(cc.getTime() - ldc.getTime() + lds.getTime());
    // set time
    clk.innerHTML ='<%=Convert.ToDateTime(nowdatetime).ToString("yyyy-MM-dd")%>  '+ to2c(cs.getHours()) + ':' + to2c(cs.getMinutes()) + ':' + to2c(cs.getSeconds());
    // set next tick
    setTimeout(tick, 1000);
    }
    }
    function to2c(n) {
    return (n <10 ? '0' + n : '' + n);
    }
    function i10(s) {
    return parseInt(s, 10);
    }
    </script>
    </form>
</body>
</html>