<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="WebXabara_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="../InClude/StyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    <script src="/js/all.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body {
	    margin:10px 10px 10px 5px;
    }
    -->
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="divWidth">
        <div class="divLeft" style="width:70%;">
            <ul>
                <li class="titleBlue"><img src="../Images/serverSet.jpg" style="vertical-align:middle;" /> 常用操作</li>
                <li style="height:1px; background-color:#0598ca; font-size:0px;"></li>
                <li class="height5px"></li>
                <li class="title999">全局</li>
                <li class="height5px"></li>
                <li>
                    <table cellspacing="2" cellpadding="2" border="0">
                        <tr style="text-align:center;">
                            <td><a href="systemSet.aspx" target="mainFrame"><img src="../images/icon001.jpg" title="基本设置" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="interfaceSet.aspx" target="mainFrame"><img src="../images/icon002.jpg" title="接口设置" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="area.aspx" target="mainFrame"><img src="../images/icon003.jpg" title="区域设置" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="sitemap.aspx?id=baidu" target="mainFrame"><img src="../images/icon004.jpg" title="百度地图" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="sitemap.aspx?id=google" target="mainFrame"><img src="../images/icon005.jpg" title="谷歌地图" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../class/updateCache.aspx" target="mainFrame"><img src="../images/icon009.jpg" title="全站所有分类缓存" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="htm.aspx" target="mainFrame"><img src="../images/icon010.jpg" title="生成静态首页" /></a></td>
                        </tr>
                        <tr style="text-align:center;">
                            <td><a href="systemSet.aspx" target="mainFrame">基本设置</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="interfaceSet.aspx" target="mainFrame">接口设置</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="area.aspx" target="mainFrame">区域设置</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="sitemap.aspx?id=baidu" target="mainFrame">百度地图</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="sitemap.aspx?id=google" target="mainFrame">谷歌地图</a></td>                            
                            <td style="width:20px;"></td>
                            <td><a href="../class/updateCache.aspx" target="mainFrame">分类缓存</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="htm.aspx" target="mainFrame">生成静态首页</a></td>
                        </tr>
                    </table>
                </li>
                <li class="height5px"></li>
                <li class="title999">用户</li>
                <li>
                    <table cellspacing="2" cellpadding="2" border="0">
                        <tr style="text-align:center;">
                            <td><a href="../user/?level=1" target="mainFrame"><img src="../images/icon101.jpg" title="用户管理" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/cer.aspx" target="mainFrame"><img src="../images/icon105.jpg" title="证件审核" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../user/exe.aspx?id=a" target="mainFrame"><img src="../images/icon102.jpg" title="用户日志" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../adminUser/userList.aspx" target="mainFrame"><img src="../images/icon103.jpg" title="管理员管理" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../adminUser/exe.aspx?id=a" target="mainFrame"><img src="../images/icon104.jpg" title="后台日志" /></a></td>
                        </tr>
                        <tr style="text-align:center;">
                            <td><a href="../user/?level=1" target="mainFrame">用户管理</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/cer.aspx" target="mainFrame">证件审核</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../user/exe.aspx?id=a" target="mainFrame">用户日志</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../adminUser/userList.aspx" target="mainFrame">管理员管理</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../adminUser/exe.aspx?id=a" target="mainFrame">后台日志</a></td>
                        </tr>
                    </table>
                </li>
                <li class="height5px"></li>
                <li class="title999">家教</li>
                <li>
                    <table cellspacing="2" cellpadding="2" border="0">
                        <tr style="text-align:center;">
                            <td><a href="../study/" target="mainFrame"><img src="../images/icon201.jpg" title="管理教员" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/onlineorder.aspx?ts=s" target="mainFrame"><img src="../images/icon203.jpg" title="教员预约" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/student.aspx" target="mainFrame"><img src="../images/icon202.jpg" title="管理学员" /></a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/onlineorder.aspx?ts=t" target="mainFrame"><img src="../images/icon204.jpg" title="学员预约" /></a></td>
                            <td style="width:20px;"></td>
                        </tr>
                        <tr style="text-align:center;">
                            <td><a href="../study/" target="mainFrame">管理教员</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/onlineorder.aspx?ts=s" target="mainFrame">教员预约</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/student.aspx" target="mainFrame">管理学员</a></td>
                            <td style="width:20px;"></td>
                            <td><a href="../study/onlineorder.aspx?ts=t" target="mainFrame">学员预约</a></td>
                        </tr>
                    </table>
                </li>
                <li style="height:20px;"></li>
                <li>
                    <table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
                        <tr>
                            <td valign="top" style="width:59%;">
                                <ul>
                                    <li class="titleBlue"><img src="../Images/program.jpg" style="vertical-align:middle;" /> 系统信息</li>
                                    <li style="height:1px; background-color:#0598ca; font-size:0px;"></li>
                                    <li class="height5px"></li>
                                    <li style="line-height:200%; padding:2px 0px 2px 5px;">操作系统：<asp:Label ID="ServerOSVer" runat="server"></asp:Label>&nbsp;(<asp:Label ID="ServerOS" runat="server"></asp:Label>)</li>
                                    <li style="line-height:200%; background-color:#e9f8fc; padding:2px 0px 2px 5px;">服务器IP：<asp:Label ID="serverIP" runat="server"></asp:Label></li>
                                    <li style="line-height:200%; padding:2px 0px 2px 5px;">虚拟目录绝对路径：<asp:Label ID="ServerPath" runat="server"></asp:Label></li>
                                    <li style="line-height:200%; background-color:#e9f8fc; padding:2px 0px 2px 5px;">服务器现在时间：<asp:Label ID="serverTime" runat="server"></asp:Label></li>
                                    <li style="line-height:200%; padding:2px 0px 2px 5px;">IIS版本：<asp:Label ID="ServerSoft" runat="server"></asp:Label></li>
                                    <li style="line-height:200%; background-color:#e9f8fc; padding:2px 0px 2px 5px;">.Net版本：<asp:Label ID="netVer" runat="server"></asp:Label></li>
                                    <li style="line-height:200%; padding:2px 0px 2px 5px;">数据库版本：<asp:Label ID="sqlVer" runat="server"></asp:Label></li>
                                </ul>
                            </td>
                            <td style="width:2%;"></td>
                            <td valign="top" style="width:39%;">
                                <ul>
                                    <li class="titleBlue"><img src="../Images/tj.jpg" style="vertical-align:middle;" /> 信息统计</li>
                                    <li style="height:1px; background-color:#0598ca; font-size:0px;"></li>
                                    <li class="height5px"></li>
                                    <asp:Literal ID="infoLJ" runat="server"></asp:Literal>
                                </ul>
                            </td>
                        </tr>
                    </table>
                </li>                
            </ul>
        </div>
        <div class="divRight" style="width:28%;">
            <ul>
                <li class="titleBlue"><img src="../Images/ver.jpg" style="vertical-align:middle;" /> 版本检查</li>
                <li style="height:1px; background-color:#0598ca; font-size:0px;"></li>
                <li class="height5px"></li>
                <li class="lineYellow">
                    <asp:Literal ID="ver" runat="server"></asp:Literal>
                </li>
                <li class="height5px"></li>
                <li><a href="http://www.zdianpu.com" target="_blank">访问官方网站获取最新版本</a></li>
                <li class="height5px"></li>
                <li><asp:HyperLink ID="buyLink" runat="server" Target="_blank"><img src="../Images/buySoft.jpg" /></asp:HyperLink></li>
                <li class="height5px"></li>
                <li class="titleBlue"><img src="../Images/adminLogin.jpg" style="vertical-align:middle;" /> 后台登录日志</li>
                <li style="height:1px; background-color:#0598ca; font-size:0px;"></li>
                <li class="height5px"></li>
                <asp:Repeater ID="adminLog" runat="server">
                    <ItemTemplate>               
                    <li style="font-weight:bold; padding:2px 0px 2px 5px;"><%# Eval(eval.AdminUser.UserName).ToString().Trim() %>&nbsp;[<%#Eval("userID").ToString().Trim()%>]</li>
                    <li style="padding:2px 0px 2px 5px;">登录时间：<%# Convert.ToDateTime(Eval("loginDate").ToString().Trim()).ToString("yyyy-MM-dd HH:mm:ss")%></li>
                    <li style="padding:2px 0px 2px 5px;">登录地点：<%# ip(Eval("loginIP").ToString().Trim())%></li>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                    <li style="font-weight:bold; background-color:#e9f8fc; padding:2px 0px 2px 5px;"><%# Eval(eval.AdminUser.UserName).ToString().Trim() %>&nbsp;[<%#Eval("userID").ToString().Trim()%>]</li>
                    <li style="background-color:#e9f8fc; padding:2px 0px 2px 5px;">登录时间：<%# Convert.ToDateTime(Eval("loginDate").ToString().Trim()).ToString("yyyy-MM-dd HH:mm:ss")%></li>
                    <li style="background-color:#e9f8fc; padding:2px 0px 2px 5px;">登录地点：<%# ip(Eval("loginIP").ToString().Trim())%></li>
                    </AlternatingItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
    </div>
    </form>
</body>
</html>