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

<!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 runat="server">
    <title></title>
    <link href="Stylesheet/Main.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="main_body" runat="server" id="pnlSystemBulletin" visible="false">
        <div class="divbox2">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tbbox">
                <tr>
                    <th align="left" style="text-align: left;">
                        <img src="Images/icon_1.gif" width="16" height="14" align="absmiddle" />
                        系统公告
                    </th>
                </tr>
                <tr>
                    <td align="left" height="16" style="background-color:White;">
                        <marquee scrollamount="1" scrolldelay="1" direction="left" width="100%" onmouseover="this.stop()"
                            onmouseout="this.start()"><asp:Literal ID="litSystemBulletin" runat="server"></asp:Literal></marquee>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="main_body" runat="server" id="pnlSystemVersion">
        <div class="divbox2">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tbbox">
                <tr>
                    <th align="left" style="text-align: left;">
                        <img src="Images/icon_1.gif" width="16" height="14" align="absmiddle" />
                        系统在线升级</th>
                </tr>
                <tr>
                    <td align="left" height="16">系统当前版本：<asp:Literal ID="litVersion" runat="server"></asp:Literal></td>
                </tr>
                <tr>
                  <td align="left" height="16">系统最新版本：<asp:Literal ID="litNewVersion" runat="server"></asp:Literal></td>
                </tr>
                <tr>
                  <td align="left">检查结果：<asp:Label
                      ID="lblResult" runat="server" Font-Bold="true" ForeColor="red"></asp:Label>&nbsp;<asp:LinkButton ID="lbtnUpdate" runat="server" CssClass="btn_bg" Font-Bold="True" ForeColor="Red" OnClick="lbtnUpdate_Click" Visible="false">立即在线升级</asp:LinkButton><asp:LinkButton ID="lbtnUpdateCheck" runat="server" CssClass="btn_bg" Font-Bold="True" ForeColor="Red" OnClick="lbtnUpdateCheck_Click" Visible="false">立即在线检查</asp:LinkButton></td>
                </tr>
            </table>
        </div>
    </div>
    <div class="main_body">
        <div class="divbox2">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tbbox">
                <tr>
                    <th align="left" style="text-align: left;">
                        <img src="Images/icon_1.gif" width="16" height="14" align="absmiddle" />
                        系统说明
                    </th>
                </tr>
                <tr>
                    <td align="left">
                        系统名称：盛世企业网站管理系统
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        系统版本：SnSee <asp:Literal ID="litVersion2" runat="server"></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        ASP.NET版本：2.x/3.x
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        版权所有：盛世明业
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        相关链接：<a href="http://www.snsee.com" target="_blank">盛世明业官方网站</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://bbs.snsee.com" target="_blank">讨论区</a></td>
              </tr>
            </table>
        </div>
    </div>
    <div class="main_body">
        <div class="divbox2">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tbbox">
                <tr>
                    <th width="12%" colspan="2" align="left" style="text-align: left;">
                        <img src="Images/icon_1.gif" width="16" height="14" align="absmiddle" />
                        服务器信息
                    </th>
                </tr>
                <tr>
                    <td width="50%" align="left">
                        登陆用户：<%=AdminName%>
                    </td>
                    <td width="50%" align="left">
                        登陆IP：<%=Request.UserHostAddress %>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        登陆有效时间：<%=ManageTime%>分钟
                    </td>
                    <td align="left">
                        现在地间：<%=DateTime.Now%>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        站点域名：<%=Request.Url.Host%>
                    </td>
                    <td align="left">
                        文件路径：<%=Request.PhysicalApplicationPath%>
                    </td>
                </tr>
                <tr>
                </tr>
                    <tr>
                        <td align="left">
                            操作系统：<%=Environment.OSVersion%>
                        </td>
                        <td align="left">
                            Web Server：<%=Request.ServerVariables[41]%>
                        </td>
                    </tr>
                    <td align="left">
                        ASP.NET：<%=string.Concat(new object[] { Environment.Version.Major, ".", Environment.Version.Minor, Environment.Version.Build, ".", Environment.Version.Revision })%>
                    </td>
                    <td align="left">
                        FSO组件：<%=IsObjInstalled("Scripting.FileSystemObject") ? "√" : "×"%>
                    </td>
            </table>
        </div>
    </div>
    <div class="main_body" runat="server" id="boxPageExplain">
        <div class="divbox2">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tbbox">
                <tr>
                    <th align="left" style="text-align: left;">
                        <img src="Images/icon_1.gif" width="16" height="14" align="absmiddle" />
                        使用说明
                    </th>
                </tr>
                <tr>
                    <td align="left">
                        欢迎您使用本系统。
                        
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="ht"></div>
    </form>
</body>
</html>
