<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ModuleLeft.aspx.cs" Inherits="System_SystemFrame_ModuleLeft" %>
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="templet/Default/silverStyle.css" />
<script type="text/javascript" src="js/AmysqlFun.js"></script>
<script type="text/javascript" src="js/AmysqlLeft.js"></script>
<script type="text/javascript" src="js/AmysqlLeftNavigation.js"></script>
<style>
html { overflow:hidden;height:100%;margin:0px;}
body
{
overflow:hidden;height:100%;margin:0px;

scrollbar-arrow-color: #f4ae21;  /*图6,三角箭头的颜色*/
scrollbar-face-color: #339999;  /*图5,立体滚动条的颜色*/
scrollbar-3dlight-color: #2FB4B4;  /*图1,立体滚动条亮边的颜色*/
scrollbar-highlight-color: #339999;  /*图2,滚动条空白部分的颜色*/
scrollbar-shadow-color: #339999;  /*图3,立体滚动条阴影的颜色*/
scrollbar-darkshadow-color: #2FB4B4;  /*图4,立体滚动条强阴影的颜色*/
scrollbar-track-color: #339999;  /*图7,立体滚动条背景颜色*/
scrollbar-base-color:#339999;  /*滚动条的基本颜色*/

}

a
{
     color:White;
     font-family:微软雅黑,幼圆,宋体;
}


#module_list
{
    text-align:center;
}

#module_list li
{
    list-style:none;
    font-size:11pt;
}
#module_list li img
{
    border:0px;
    width:64px;
}

#sys_btn_bar {
    font-size:10pt;
}
</style>

<script type='text/javascript'>
    var AmysqlLNO = new AmysqlLN(); //左侧菜单 by yr
    var AmysqlLeftList = new AmysqlLeftListObject();
    window.onload = function () {

        // 窗口重新加载时执行
        if (parent.AmysqlMainObject.AmysqlLoadComplete) {
            parent._AmysqlTagLoad = false;
            parent.AmysqlMainObject.AmysqlLeftRun();
            parent.AmysqlMainObject.AmysqlExtendInitialConfigRun(); // 重新初始化
        }
        else if (parent._AmysqlLeftLoad && parent._AmysqlTagLoad) 	// 首次加载完成运行
        {
            parent._AmysqlTagLoad = false;
            parent.AmysqlMainObject.AmysqlRun();
        }

    }
    //禁止F5刷新
    document.onkeydown = function (ev) {
        var oEvent = ev || event;
        if (oEvent.keyCode == 116) {
            if (!/firefox/i.test(window.navigator.userAgent)) oEvent.keyCode = 0;
            oEvent.cancelBubble = true;
            return false;
        }
    };
</script>
</head>
<body id="left" style='overflow:hidden'>
    <div id="left_navigation" style='display:none'></div>
    <div style='text-align:center;margin:auto;width:100%;border:solid 0px red;'>
    <div id = "sys_btn_bar" style="width:100%;border:solid 0px red;text-align:center;margin-bottom:15px;margin-top:4px">
        <!--<a href="javascript:top.OpenWindow('Activate', 'System_ChangePassword', '修改密码', '../../System/SystemFrame/ChangePassword.aspx');">修改密码</a>-->
        <a href="javascript:parent.log_out()" style="margin-left:0px;">退出系统</a>
    </div>

    <%
        string frame_height = "70%";
      if (Request["category"] != null && !Request["category"].Equals(""))
      { %>
    <a href="<%=xview["prev_page"]%>"><img src="images/back.png" style='border:0px;width:64px'/></a>
    <%}
      else
      {
          frame_height = "90%";%>
    <%} %>

    </div>
    <div id="div_module_list" style='text-align:center;overflow:auto;height:<%=frame_height%>'>
    <ul id="module_list">
        <%=xview["module_list"]%>
    </ul>
    </div>
<!--LOGIN-->
<!--<div id="left_logo"></div>-->
<div id="AmysqlLeftList"></div>
<!--定时刷新防止Session超时-->
<iframe src="RefreshSession.aspx" frameborder="0" scrolling="No" style="display:none"></iframe>
</body>
</html>