<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Menu.aspx.cs" Inherits="RM.Web.WeiXin.Menu" %>

<!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><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_wxgzptcdsz")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <link href="Css/WeiXinMenu.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="masking">
    </div>
    <div class="btnbartitle">
       <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_wxgzptcdsz")%> 
    </div>
    <div id="hiddenMask">
        <div id="menuLogin" class="menuLoginWeixin">
            <h3 class="menuLoginTitle">
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_qnpzwxgzptkfzzhxx")%></h3>
            <ul class="loginWeixinContainer">
                <form id="form1" runat="server">
                    <li><span class="inputPromptTxt">AppId：</span><input id="menuLogin_AppId" type="text"
                        value="" runat="server" /></li>
                    <li><span class="inputPromptTxt">AppSecret：</span><input id="menuLogin_AppSecret"
                        type="text" value="" runat="server" />
                    </li>
                </form>
                <li class="text-rightLi"><a id="menuLogin_Submit" href="javascript:;" class="oprater_link">
                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_bcdfwq")%> </a> </li>
            </ul>
            <ul class="loginPrompt">
                <li>1、 <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_xycw")%> <span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_fwh")%> </span>，<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_dwxht")%> <span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_gjgn")%></span>&gt;<span
                    class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_kfms")%></span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_xlhqxx")%></li>
                <li>2、<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Custom_List_dycpzzhhmwxzcdl")%></li>
                <li>3、<span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_bjpzzh")%></span> <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_msxsjkygbbmb")%></li>
            </ul>
        </div>
        <div id="helpBar" class="helpBarContainer">
            <ul class="helperContent">
                <li>1、<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_gjwxjkdydyjcdzsxyszlgezmyj")%></li>
                <li>2、<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_rgszlejcdzyjcdbd")%></li>
                <li>3、<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_anniuleixing")%>&gt;&gt;<span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_wylj")%>：</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_zdjganzhtzdzddwy")%><span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_zdjganzhtzdzddwy")%>：</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_zzgjzddmljxhk")%></li>
                <li>4、<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_anniuleixing")%>&gt;&gt;<span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_fwqsj")%>：</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_zzgjzddmljxhk")%></li>
                <li>5、</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_ywwxjktgdsjsjcxgbd")%></li>
            </ul>
        </div>
    </div>
    <div id="menuEditor" class="div-body" style="padding: 10px;">
        <form id="form_Menu" action="SetMenu.ashx" method="post">
        <input type="hidden" id="dotype" name="dotype" value="CreateMenu" />
        <input id="tokenStr" name="token" type="hidden" value='<%=token %>' class="txtToken"
            readonly="readonly" />
        <div class="menuOprater">
            <a href="javascript:;" class="oprater_link oprater_linkSpecial" id="anewSetWeiXin"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_cxpzzh")%></a>
            <a href="javascript:;" class="oprater_link oprater_linkSpecial" id="help"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("RandomQue_help")%></a>
            <a id="btnGetMenu" class="oprater_link" href="javascript:;"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_hqdqcd")%></a><a id="btnDeleteMenu"
                class="oprater_link" href="javascript:;"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_delmenu")%></a><a class="oprater_link opraterSpecial"
                    id="submitMenu" href="javascript:;"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_UpdatSever")%></a>
        </div>
        <div class="helpTxt">
            <strong id="menuState" style="color: Red"></strong>
        </div>
        <div class="menuConfig">
            <table>
                <thead>
                    <tr>
                        <th>
                        </th>
                        <th>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_diyilie")%>
                        </th>
                        <th>
                           <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_dierlie")%> 
                        </th>
                        <th>
                           <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_disanlie")%> 
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr id="subMenuRow_5">
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_yjcdan")%> 
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[0].key" id="menu_button0_key" />
                            <input type="hidden" name="menu.button[0].type" id="menu_button0_type" value="click" />
                            <input type="hidden" name="menu.button[0].url" id="menu_button0_url" />
                            <input type="text" name="menu.button[0].name" id="menu_button0_name" class="txtButton"
                                data-i="5" data-j="0" data-root="0" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[1].key" id="menu_button1_key" />
                            <input type="hidden" name="menu.button[1].type" id="menu_button1_type" value="click" />
                            <input type="hidden" name="menu.button[1].url" id="menu_button1_url" />
                            <input type="text" name="menu.button[1].name" id="menu_button1_name" class="txtButton"
                                data-i="5" data-j="1" data-root="1" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[2].key" id="menu_button2_key" />
                            <input type="hidden" name="menu.button[2].type" id="menu_button2_type" value="click" />
                            <input type="hidden" name="menu.button[2].url" id="menu_button2_url" />
                            <input type="text" name="menu.button[2].name" id="menu_button2_name" class="txtButton"
                                data-i="5" data-j="2" data-root="2" />
                        </td>
                    </tr>
                    <tr id="rootMenuRow">
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_erjimenu")%> No.1
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[0].sub_button[0].key" id="menu_button0_sub_button0_key" />
                            <input type="hidden" name="menu.button[0].sub_button[0].type" id="menu_button0_sub_button0_type"
                                value="click" />
                            <input type="hidden" name="menu.button[0].sub_button[0].url" id="menu_button0_sub_button0_url" />
                            <input type="text" name="menu.button[0].sub_button[0].name" id="menu_button0_sub_button0_name"
                                class="txtButton" data-i="0" data-j="0" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[1].sub_button[0].key" id="menu_button1_sub_button0_key" />
                            <input type="hidden" name="menu.button[1].sub_button[0].type" id="menu_button1_sub_button0_type"
                                value="click" />
                            <input type="hidden" name="menu.button[1].sub_button[0].url" id="menu_button1_sub_button0_url" />
                            <input type="text" name="menu.button[1].sub_button[0].name" id="menu_button1_sub_button0_name"
                                class="txtButton" data-i="0" data-j="1" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[2].sub_button[0].key" id="menu_button2_sub_button0_key" />
                            <input type="hidden" name="menu.button[2].sub_button[0].type" id="menu_button2_sub_button0_type"
                                value="click" />
                            <input type="hidden" name="menu.button[2].sub_button[0].url" id="menu_button2_sub_button0_url" />
                            <input type="text" name="menu.button[2].sub_button[0].name" id="menu_button2_sub_button0_name"
                                class="txtButton" data-i="0" data-j="2" />
                        </td>
                    </tr>
                    <tr id="rootMenuRow">
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_erjimenu")%> No.2
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[0].sub_button[1].key" id="menu_button0_sub_button1_key" />
                            <input type="hidden" name="menu.button[0].sub_button[1].type" id="menu_button0_sub_button1_type"
                                value="click" />
                            <input type="hidden" name="menu.button[0].sub_button[1].url" id="menu_button0_sub_button1_url" />
                            <input type="text" name="menu.button[0].sub_button[1].name" id="menu_button0_sub_button1_name"
                                class="txtButton" data-i="1" data-j="0" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[1].sub_button[1].key" id="menu_button1_sub_button1_key" />
                            <input type="hidden" name="menu.button[1].sub_button[1].type" id="menu_button1_sub_button1_type"
                                value="click" />
                            <input type="hidden" name="menu.button[1].sub_button[1].url" id="menu_button1_sub_button1_url" />
                            <input type="text" name="menu.button[1].sub_button[1].name" id="menu_button1_sub_button1_name"
                                class="txtButton" data-i="1" data-j="1" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[2].sub_button[1].key" id="menu_button2_sub_button1_key" />
                            <input type="hidden" name="menu.button[2].sub_button[1].type" id="menu_button2_sub_button1_type"
                                value="click" />
                            <input type="hidden" name="menu.button[2].sub_button[1].url" id="menu_button2_sub_button1_url" />
                            <input type="text" name="menu.button[2].sub_button[1].name" id="menu_button2_sub_button1_name"
                                class="txtButton" data-i="1" data-j="2" />
                        </td>
                    </tr>
                    <tr id="rootMenuRow">
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_erjimenu")%> No.3
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[0].sub_button[2].key" id="menu_button0_sub_button2_key" />
                            <input type="hidden" name="menu.button[0].sub_button[2].type" id="menu_button0_sub_button2_type"
                                value="click" />
                            <input type="hidden" name="menu.button[0].sub_button[2].url" id="menu_button0_sub_button2_url" />
                            <input type="text" name="menu.button[0].sub_button[2].name" id="menu_button0_sub_button2_name"
                                class="txtButton" data-i="2" data-j="0" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[1].sub_button[2].key" id="menu_button1_sub_button2_key" />
                            <input type="hidden" name="menu.button[1].sub_button[2].type" id="menu_button1_sub_button2_type"
                                value="click" />
                            <input type="hidden" name="menu.button[1].sub_button[2].url" id="menu_button1_sub_button2_url" />
                            <input type="text" name="menu.button[1].sub_button[2].name" id="menu_button1_sub_button2_name"
                                class="txtButton" data-i="2" data-j="1" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[2].sub_button[2].key" id="menu_button2_sub_button2_key" />
                            <input type="hidden" name="menu.button[2].sub_button[2].type" id="menu_button2_sub_button2_type"
                                value="click" />
                            <input type="hidden" name="menu.button[2].sub_button[2].url" id="menu_button2_sub_button2_url" />
                            <input type="text" name="menu.button[2].sub_button[2].name" id="menu_button2_sub_button2_name"
                                class="txtButton" data-i="2" data-j="2" />
                        </td>
                    </tr>
                    <tr id="rootMenuRow">
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_erjimenu")%> No.4
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[0].sub_button[3].key" id="menu_button0_sub_button3_key" />
                            <input type="hidden" name="menu.button[0].sub_button[3].type" id="menu_button0_sub_button3_type"
                                value="click" />
                            <input type="hidden" name="menu.button[0].sub_button[3].url" id="menu_button0_sub_button3_url" />
                            <input type="text" name="menu.button[0].sub_button[3].name" id="menu_button0_sub_button3_name"
                                class="txtButton" data-i="3" data-j="0" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[1].sub_button[3].key" id="menu_button1_sub_button3_key" />
                            <input type="hidden" name="menu.button[1].sub_button[3].type" id="menu_button1_sub_button3_type"
                                value="click" />
                            <input type="hidden" name="menu.button[1].sub_button[3].url" id="menu_button1_sub_button3_url" />
                            <input type="text" name="menu.button[1].sub_button[3].name" id="menu_button1_sub_button3_name"
                                class="txtButton" data-i="3" data-j="1" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[2].sub_button[3].key" id="menu_button2_sub_button3_key" />
                            <input type="hidden" name="menu.button[2].sub_button[3].type" id="menu_button2_sub_button3_type"
                                value="click" />
                            <input type="hidden" name="menu.button[2].sub_button[3].url" id="menu_button2_sub_button3_url" />
                            <input type="text" name="menu.button[2].sub_button[3].name" id="menu_button2_sub_button3_name"
                                class="txtButton" data-i="3" data-j="2" />
                        </td>
                    </tr>
                    <tr id="rootMenuRow">
                        <td>
                          <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_erjimenu")%> No.5
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[0].sub_button[4].key" id="menu_button0_sub_button4_key" />
                            <input type="hidden" name="menu.button[0].sub_button[4].type" id="menu_button0_sub_button4_type"
                                value="click" />
                            <input type="hidden" name="menu.button[0].sub_button[4].url" id="menu_button0_sub_button4_url" />
                            <input type="text" name="menu.button[0].sub_button[4].name" id="menu_button0_sub_button4_name"
                                class="txtButton" data-i="4" data-j="0" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[1].sub_button[4].key" id="menu_button1_sub_button4_key" />
                            <input type="hidden" name="menu.button[1].sub_button[4].type" id="menu_button1_sub_button4_type"
                                value="click" />
                            <input type="hidden" name="menu.button[1].sub_button[4].url" id="menu_button1_sub_button4_url" />
                            <input type="text" name="menu.button[1].sub_button[4].name" id="menu_button1_sub_button4_name"
                                class="txtButton" data-i="4" data-j="1" />
                        </td>
                        <td>
                            <input type="hidden" name="menu.button[2].sub_button[4].key" id="menu_button2_sub_button4_key" />
                            <input type="hidden" name="menu.button[2].sub_button[4].type" id="menu_button2_sub_button4_type"
                                value="click" />
                            <input type="hidden" name="menu.button[2].sub_button[4].url" id="menu_button2_sub_button4_url" />
                            <input type="text" name="menu.button[2].sub_button[4].name" id="menu_button2_sub_button4_name"
                                class="txtButton" data-i="4" data-j="2" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="hoverConfig" id="buttonDetails">
            <h3>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_anniupeizhi")%> </h3>
            <ul class="hcf_Congainer">
                <li><span class="inputPromptTxt"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_Form_name")%> ：</span><input type="text" id="buttonDetails_name"
                    disabled="disabled" /></li>
                <li><span class="inputPromptTxt"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_anniuleixing")%> ：</span>
                    <select id="buttonDetails_type" class="dllButtonDetails">
                        <option value="click" selected="selected"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_fwqsj")%> </option>
                        <option value="view"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_wylj")%> </option>
                    </select></li>
                <li id="buttonDetails_key_area"><span class="inputPromptTxt"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_Form_biaoji")%> ：</span>
                    <select id="buttonDetails_key" class="dllButtonDetails">
                        <option value="publicClass"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Learn_zxgkk")%> </option>
                        <option value="onlineLearn"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Learn_zaixianxx")%> </option>
                    </select>
                <li id="buttonDetails_url_area"><span class="inputPromptTxt"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_anniulianjie")%> ：</span><input id='buttonDetails_url'
                    value="http://" />
                </li>
                <li id="buttonDetails_internet_area"><span class="inputPromptTxt"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamStatisticsList_xtmr")%> ：</span>
                    <%=optionsList.ToString() %>
                </li>
            </ul>
            <div>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_rghyxjcdqhl")%> <span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_anniuleixing")%> </span> <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_and")%><span class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Button_Form_biaoji")%></span>、<span
                    class="keywords"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HistoryData_anniulianjie")%></span>
            </div>
        </div>
        </form>
    </div>
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/jquery.form.js" type="text/javascript"></script>
    <script src="/WeiXin/senparc.menu.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            senparc.menu.init();
            senparc.menu.setToken();
        });
    </script>
</body>
</html>
