<%@ Page Language="C#" AutoEventWireup="true" CodeFile="center.aspx.cs" Inherits="center" %>

<!DOCTYPE html>
<html>
<head>

   <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>50CMS后台框架</title>
    <link rel="shortcut icon" href="favicon.ico">
     <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">
    <link href="css/plugins/footable/footable.core.css" rel="stylesheet" />
    
</head>

<body class="gray-bg">
<form id="form1" runat="server" class="form-horizontal">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>
                            系统信息管理</h5>
                        
                       
                        <div class="ibox-tools"> 
                             <a href="center.aspx" class="btn btn-primary btn-xs"><i class="fa fa-refresh"> &nbsp;&nbsp; 刷 新</i></a>
                            <a href="#" id="Add" class="btn btn-primary btn-xs"><i class="fa fa-plus"></i>&nbsp;&nbsp; 修改系统设置</a>

                      </div>
                    </div>
                    <div class="ibox-content">

   <table class="footable table table-stripped toggle-arrow-tiny" >
 
      <tr>
        <td width="15%" align="right">网站名称：</td>
        <td width="85%">
          <%=sysset.WebName.ToString()%>
        </td>
      </tr>
      <tr>
        <td align="right">办公电话：</td>
        <td>
          <%=sysset.WebTel.ToString()%>
        </td>
      </tr>

      <tr>
        <td align="right">管理员信箱：</td>
        <td>
          <%=sysset.WebEmail.ToString()%>
        </td>
      </tr>
     
      <tr>
        <td align="right">网站备案号：</td>
        <td>
          <%=sysset.WebCrod.ToString()%>
        </td>
      </tr>
      <tr>
        <th colspan="2" align="left">服务器信息</th>
      </tr>
      <tr>
        <td align="right">服务器名称：</td>
        <td>
          <%=Server.MachineName%>
        </td>
      </tr>
      <tr>
        <td align="right">服务器IP：</td>
        <td>
          <%=Request.ServerVariables["LOCAL_ADDR"] %>
        </td>
      </tr>
      <tr>
        <td align="right">NET框架版本：</td>
        <td>
          <%=Environment.Version.ToString()%>
        </td>
      </tr>
      <tr>
        <td align="right">操作系统：</td>
        <td>
          <%=Environment.OSVersion.ToString()%>
        </td>
      </tr>
      <tr>
        <td align="right">IIS环境：</td>
        <td>
          <%=Request.ServerVariables["SERVER_SOFTWARE"]%>
        </td>
      </tr>
      <tr>
        <td align="right">服务器端口：</td>
        <td>
          <%=Request.ServerVariables["SERVER_PORT"]%>
        </td>
      </tr>
      <tr>
        <td align="right">虚拟目录绝对路径：</td>
        <td>
          <%=Request.ServerVariables["APPL_PHYSICAL_PATH"]%>
        </td>
      </tr>
      <tr>
        <td align="right">HTTPS支持：</td>
        <td>
          <%=Request.ServerVariables["HTTPS"]%>
        </td>
      </tr>
      <tr>
        <td align="right">seesion总数：</td>
        <td>
          <%=Session.Keys.Count.ToString()%>
        </td>
      </tr>
    </table>

         
                   </div>
                </div>
            </div>
        </div>
    </div>
    </form>



      <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>

      <!-- 自定js -->
  
    <script src="js/plugins/footable/footable.all.min.js" type="text/javascript"></script>
    <script src="Js/content.js"></script>
    <script type="text/javascript" src="js/layer/layer.js"></script>

    <script type="text/javascript">
        $(document).ready(function () { $(".footable").footable(); });
    </script>
    <script type="text/javascript">
 

        $(function () {
            $("#Add").click(function () {

                layer.open({
                    type: 2,
                    title: '修改系统设置',
                    shadeClose: true,
                    shade: 0.8,
                    area: ['90%', '90%'],
                    content: 'Manage/SysConfig.aspx',  //iframe的url
                    end: function () {

                        location.reload();

                    }
                });

            });

        });

     

    </script>
 
</body>
</html>
