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

<%@ Register Src="~/M/Include/MScript.ascx" TagPrefix="uc1" TagName="MScript" %>
<%@ Register Src="~/M/Include/MFooter.ascx" TagPrefix="uc1" TagName="MFooter" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>移动端-面板</title>
    <uc1:MScript runat="server" ID="MScript" />
    <script type="text/javascript">
        //注销
        function log_out() {
            if (!confirm("确定要退出系统吗?")) return;
            $.ajax({
                type: "POST",
                url: "../../System/SystemFrame/LogOut.aspx",
                data: "",
                success: function (data) {
                    if (data == "success") {
                        window.location = "../Default.aspx";
                    }
                }
            });
        }
    </script>
</head>
<body>
    <!-- start header -->
    <div id="header">
        <div id="header-left">
            <a href="javascript:log_out()" class="button back"><img src="../img/back-button.png" width="15" height="16" alt="icon" /></a>
        </div>
        <div id="header-right">
        </div>
        <div class="clear"></div>
        <!-- start searchbox -->
        <div class="searchbox">
      	    <input type="text" id="txt_search" class="txtbox"/>
        </div>
        <!-- end searchbox -->
    </div>
    <!-- end header -->
    <!-- start page -->
    <div id="main_content" class="page">
        <!-- start profile box -->
        <!--
        <div class="profilebox" style="font-size:9pt">
            当前用户：<%=xview["nickname"]%>&nbsp;&nbsp;
            账套号：<%=xview["db_id"]%>
            <a href="#" class="logout">logout</a>
            <div class="clear"></div>
        </div>-->
        <!-- end profile box -->
        <!-- start menu -->
            <%=xview["module_html"] %>
        <!-- end menu -->
        <uc1:MFooter runat="server" ID="MFooter" />
    </div>
    <!-- end page -->
</body>
</html>

