<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AppendProductForm.aspx.cs"
    Inherits="RM.Web.Mall.AppendShop.AppendProductForm" %>

<!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 id="Head1" runat="server">
    <title>
        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("UserInfo_Form")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.source.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/TreeTable/jquery.treeTable.js" type="text/javascript"></script>
    <link href="/Themes/Scripts/TreeTable/css/jquery.treeTable.css" rel="stylesheet"
        type="text/css" />
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <script type="text/javascript">

        //初始化
        var $promptBg = $("#promptBg"); //正在加载模板
        var isLoad = false; //是否正在异步加载
        $(function () {
            $('#table2').hide();
            $('#table3').hide();
            $('#table4').hide();
            $('#ChapterDiv').hide();
            $('#table6').hide();
            $("#photo").hover(function () {
                $("#photo").css("width", "200px");
            }
            , function () {
                $("#photo").css("width", "50px");
            }
            );
            GetClickTableValue();
        })
        //点击切换面板
        var IsFixedTableLoad = 1;
        function panel(obj) {
            if (obj == 1) {
                $('#table1').show();
                $('#table2').hide();
                $('#table3').hide();
                $('#table4').hide();
                $('#ChapterDiv').hide();
                $('#table9').hide();
            } else if (obj == 2) {
                $('#table1').hide();
                $("#table2").show();
                $('#table3').hide();
                $('#table4').hide();
                $('#ChapterDiv').hide();
                $('#table9').hide();
            } else if (obj == 3) {
                $('#table1').hide();
                $("#table2").hide();
                $('#table3').show();
                $('#table4').hide();
                $('#ChapterDiv').hide();
                $('#table9').hide();
            } else if (obj == 4) {
                $('#table1').hide();
                $("#table2").hide();
                $('#table3').hide();
                $('#table4').show();
                $('#ChapterDiv').hide();
                $('#table9').hide();
            } else if (obj == 5) {
                $('#table1').hide();
                $("#table2").hide();
                $('#table3').hide();
                $('#table4').hide();
                $('#ChapterDiv').show();
                $('#table9').hide();
            } else if (obj == 6) {
                $('#table1').hide();
                $("#table2").hide();
                $('#table3').hide();
                $('#table4').hide();
                $('#ChapterDiv').hide();
                $('#table9').show();
            }
        }


        //获取表单值
        function CheckValid() {
            editor.sync();
            if (!CheckDataValid('#form1')) {
                return false;
            }
        }
        //设置文本框键盘按键事件（按键事件不对数据处理，因为keyDown获取的值永远是上一次keyUp的数据，这里在keyDown里面处理特殊操作）
        $("#AppendProduct_TeacherName").keydown(function (e) {
            var event = e || event; //兼容性处理
            if (event.keyCode == 27) {
                $promptBg.stop().hide(0, function () {
                    $promptBg.html("");
                });
                return;
            } else if (event.keyCode == 37 || event.keyCode == 39) return; //左右键
            else if (event.keyCode == 13) {//回车键
                var $obj = $(".activePrompt");
                if ($obj.length < 1) return false;
                $("#AppendProduct_TeacherID").val($obj.attr("data"));
                $("#AppendProduct_TeacherName").val($obj.text());
                $promptBg.stop().hide(0, function () {
                    $promptBg.html("");
                });
                return false;
            }
            if ($("#loadIcon").length < 1) {
                if (event.keyCode == 38) { //向上
                    if ($(".activePrompt").length < 1) {//最后一个
                        $(".promptLink").last().addClass("activePrompt");
                        return false;
                    }
                    $currObj = $(".activePrompt").parent();
                    if ($currObj.prev().length < 1) return false; //第一个
                    var $nextObj = $currObj.prev().children("a");
                    $(".activePrompt").removeClass("activePrompt");
                    $nextObj.addClass("activePrompt");
                    return false;
                }
                if (event.keyCode == 40) { //向下
                    if ($(".activePrompt").length < 1) {//第一个
                        $(".promptLink").eq(0).addClass("activePrompt");
                        return false;
                    }
                    $currObj = $(".activePrompt").parent();
                    if ($currObj.next().length < 1) return false; //最后一个
                    var $nextObj = $currObj.next().children("a");
                    $(".activePrompt").removeClass("activePrompt");
                    $nextObj.addClass("activePrompt");
                    return false;
                }
            }
        });
        //获取教师

        function textChange() {
            var teachername;
            if (isLoad) return;
            $("#promptBg").show(0);
            var inputvalue = $("#AppendProduct_TeacherName").val();
            teachername = inputvalue.lastIndexOf(",");
            if (teachername >= 0) {
                inputvalue = inputvalue.substring(parseInt(teachername) + 1);
            }


            isLoad = true;
            $.get("/Training/Courseware/SearchUserInfoTeacher.ashx", { key: inputvalue }, function (data) {
                isLoad = false;
                if (!data || parseInt(data) == -1) {
                    $promptBg.stop().hide(0);
                    return; //没有查询到数据或者异常
                }
                $("#promptBg").html(data);
                $(".promptLink").hover(function () {//绑定事件
                    $(this).addClass("activeLink");
                }, function () {
                    $(this).removeClass("activeLink");
                });
            });
        }
        function choiseExam(obj) {
            if ($("#AppendProduct_TeacherID").val().length <= 0) {
                $("#AppendProduct_TeacherID").val($(obj).attr("data"));
                $("#AppendProduct_TeacherName").val($(obj).text())
            } else {
                $("#AppendProduct_TeacherName").val($("#AppendProduct_TeacherName").val() + $(obj).text())
                $("#AppendProduct_TeacherID").val($("#AppendProduct_TeacherID").val() + ',' + $(obj).attr("data"));
            }
            $("#promptBg").hide(0);
            $("#promptBg").html("");

        }
    </script>
    <style>
        .Cowdiv { width: 760px; left: 100px; height: 400px; position: absolute; border: 1px solid #ccc; background-color: White; display: none; z-index: 99999; }
        .cowtab { width: 100%; }
        .Page { bottom: 0px; position: absolute; left: 180px; }
        .grid td { text-align: left; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="btnbartitle">
        <div>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_zdycpedit")%>
        </div>
    </div>
    <%--课程列表--%>
    <div id="Cowtab" class="Cowdiv">
        <div style="width: 200px; height: 350px; border: 1px solid #ccc; float: left;">
            <iframe class="iframe_left" name="target_left" scrolling="auto" frameborder="0" scrolling="yes"
                width="100%" height="100%"></iframe>
        </div>
        <div style="width: 555px; height: 350px; position: relative; border: 1px solid #ccc;
            float: left">
            <table class="grid cowtab">
                <thead>
                    <tr>
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Plan_select")%>
                        </td>
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Courseware_Name")%>
                        </td>
                    </tr>
                </thead>
                <tbody id="cwtbody">
                </tbody>
            </table>
        </div>
        <div style="position: absolute; bottom: 0px; padding-left: 300px;">
            <input type="button" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Ques_dete")%>'
                onclick="CowtabHide()" />
            <input type="button" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%>'
                onclick="CowtabHide()" />
        </div>
    </div>
    <!--试卷列表-->
    <div id="ExamTab" class="Cowdiv">
        <div style="width: 200px; height: 350px; border: 1px solid #ccc; float: left;">
            <iframe class="iframe_left" name="target_left" scrolling="auto" frameborder="0" scrolling="yes"
                width="100%" height="100%"></iframe>
        </div>
        <div style="width: 555px; height: 350px; position: relative; border: 1px solid #ccc;
            float: left">
            <table class="grid cowtab">
                <thead>
                    <tr>
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Plan_select")%>
                        </td>
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("MyExamPlan-sjm")%>
                        </td>
                        <td>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("MyExamPlan-km")%>
                        </td>
                    </tr>
                </thead>
                <tbody id="Exambody">
                </tbody>
            </table>
        </div>
        <div style="position: absolute; bottom: 0px; padding-left: 300px;">
            <input type="button" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Ques_dete")%>'
                onclick="CowtabHide()" />
            <input type="button" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%>'
                onclick="CowtabHide()" />
        </div>
    </div>
    <!--章节列表-->
    <div id="TypeDiv" class="Cowdiv div-body">
        <div class="div-body">
            <table class="example" id="dnd-example">
                <thead>
                    <tr>
                        <td style="padding-left: 20px;">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CertificateType_Class")%>
                        </td>
                        <td style="display: none;">
                        </td>
                        <td style="padding-left: 20px;">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("MyExamPlan-km")%>
                        </td>
                    </tr>
                </thead>
                <tbody id="chapList">
                    <%=TableTree_CoursewareType.ToString()%>
                </tbody>
            </table>
        </div>
        <div style="position: relative; bottom: 0px; padding-left: 300px;">
            <input type="button" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Ques_dete")%>'
                onclick="CowtabHide()" />
            <input type="button" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%>'
                onclick="CowtabHide()" /></div>
    </div>
    <div class="div-body">
        <%--获取附加信息值--%>
        <div class="frmtop">
            <table style="padding: 0px; margin: 0px;" cellpadding="0" cellspacing="0">
                <tr>
                    <td id="menutab" style="vertical-align: bottom;">
                        <div id="tab0" class="Tabsel" onclick="GetTabClick(this);panel(1)">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Jbxx")%></div>
                        <div id="tab1" class="Tabremovesel" onclick="GetTabClick(this);panel(2);">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_addcours")%></div>
                        <div id="tab2" style="display:none" class="Tabremovesel" onclick="GetTabClick(this);panel(3);">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_addexam")%></div>
                        <div id="tab3" style="display:none" class="Tabremovesel" onclick="GetTabClick(this);panel(4);">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_tjzdysp")%></div>
                        <div id="tab4" class="Tabremovesel" onclick="GetTabClick(this);panel(5);">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Addtheexercises")%></div>
                        <div id="tab5" class="Tabremovesel" onclick="GetTabClick(this);panel(6);">
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Role")%></div>
                    </td>
                </tr>
            </table>
        </div>
        <div class="div-frm" style="height: 460x;">
            <%--基本信息--%>
            <table id="table1" border="0" cellpadding="0" cellspacing="0" class="frm">
                <tr>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_productName")%>:
                    </th>
                    <td>
                        <input type="hidden" id="AppendProduct_ID" value=" " />
                        <input id="AppendProduct_Name" runat="server" type="text" class="txt" datacol="yes"
                            err="产品名" checkexpession="NotNull" style="width: 200px" />
                    </td>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_keshi")%>:
                    </th>
                    <td>
                        <input id="AppendProduct_ClassCount" runat="server" type="text" class="txt" datacol="yes"
                            err="课时" checkexpession="NotNull" style="width: 200px" />
                    </td>
                </tr>
                <tr>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Type")%>:
                    </th>
                    <td>
                        <select runat="server" id="AppendProduct_Type" class="select" style="width: 206px">
                        </select>
                    </td>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_zhuanye")%>:
                    </th>
                    <td>
                        <select runat="server" id="AppendProduct_Specialty" datacol="yes" err="专业" class="select"
                            style="width: 206px">
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_productprice")%>:
                    </th>
                    <td>
                        <input id="AppendProduct_Price" runat="server" type="text" class="txt" datacol="yes"
                            err="产品价格" checkexpession="NumOrNull" style="width: 200px" />
                    </td>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_productunit")%>:
                    </th>
                    <td>
                        <select id="AppendProduct_Unit" runat="server" class="select" style="width: 206px;">
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Courseware_wxxzlx")%>:
                    </th>
                    <td>
                        <select style="width: 200px" class="select" id="AppendProduct_Recommended" runat="server">
                        </select>
                    </td>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Courseware_OldPrice")%>:
                    </th>
                    <td>
                        <input id="Base_AppendProduct_OldPrice" maxlength="35" runat="server" type="text"
                            class="txt" datacol="yes" err="课件原价" checkexpession="Null" value="0" style="width: 100px" />
                    </td>
                </tr>
                <%--         <tr>
                <th>
                    所在城市:
                </th>
                <td>
                    <input id="AppendProduct_City" runat="server" type="text" class="txt" datacol="yes"
                        err="所在城市" checkexpession="NotNull" style="width: 200px" />
                </td>
                  <th>
                    是否配送:
                </th>
                <td>
                    <select id="AppendProduct_Dispatching" runat="server" style="width: 206px">
                        <option value="0" selected="selected">需要</option>
                         <option value="1">不需要</option>
                    </select>
                </td>
              
            </tr>--%>
                <tr>
                    <%--                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_gqdata")%>:
                    </th>
                    <td>
                        <input id="AppendProduct_EndTime" runat="server" onclick="WdatePicker()" type="text"
                            class="txt" datacol="yes" err="过期时间" checkexpession="NotNull" style="width: 200px" />
                    </td>--%>
                    <th>
                        自定义分组:
                    </th>
                    <td>
                        <input type="text" id="Base_AppendProduct_CustomGroup" runat="server" value="" />
                    </td>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Courseware_CsTeacher")%>:
                    </th>
                    <td colspan="3">
                        <div style="position: relative;">
                            <input id="AppendProduct_TeacherName" runat="server" type="text" class="txt" datacol="yes"
                                err="授课老师" style="width: 200px; z-index: 0;" autocomplete="off" onkeyup="textChange()" />
                            <input type="hidden" value="" runat="server" id="AppendProduct_TeacherID" />(<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_shuruteachName")%><span
                                style="color: Red; padding-left: 5px;"><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Remind_tx")%>.<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_duoteacher")%></span>)
                            <div id="promptBg" style="display: none; cursor: pointer; position: absolute; width: 228px;
                                background-color: White;">
                                <div id="loadIcon" style="text-align: center; line-height: 18px;">
                                    <img src="../../Themes/Images/loading1.gif" alt="" />
                                    <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Loading")%>
                                </div>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("prodFrom_stlj")%>:
                    </th>
                    <td colspan="3">
                        <input type="text" style="width: 600px;" id="MoiveUrl" runat="server" value="" />
                    </td>
                </tr>
                <tr>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_productdatil")%>:
                    </th>
                    <td colspan="3">
                        <script src="/Themes/Scripts/kindeditor/kindeditor-min.js" type="text/javascript"></script>
                        <script type="text/javascript">
                            var editor;
                            KindEditor.ready(function (K) {
                                editor = K.create('#AppendProduct_Discription', {
                                    allowFileManager: true,
                                    allowUpload: true,
                                    uploadJson: '/WeiXin/UploadImage.ashx',
                                    minHeight: 160
                                });
                            });
                        </script>
                        <textarea id="AppendProduct_Discription" name="AppendProduct_Discription" style="width: 670px;
                            height: 60px;" runat="server"></textarea>
                    </td>
                </tr>
                <tr>
                    <th>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("User_Photo")%>
                    </th>
                    <td colspan="3" style="border: 1px #ccc solid;">
                        <asp:FileUpload ID="FileUpload1" runat="server" Style="width: 252px;" />
                        <img src="<%=src %>" width="50" style="position: absolute; top: 30px; left: 0;" id="photo" />
                        <input type="hidden" id="picW" value="354" runat="server" />
                        <input type="hidden" id="picHi" value="412" runat="server" />
                    </td>
                </tr>
            </table>
            <%--附加信息--%>
            <div id="table2">
                <div class="btnbartitle">
                    <div>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_addcours")%>
                    </div>
                </div>
                <div class="div-body" style="height: 345px;">
                    <tr>
                        <th>
                            <font color="red">*</font>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Plan_pxkechegn")%>:
                        </th>
                        <td>
                            <input type="botton" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Plan_selcours")%>'
                                class="button" style="height: 25px;" onclick="CowtabShow(0);" />
                            <div id="cslist" style="display: none; border: 1px solid #ccc; border-top: 0; z-index: 0;
                                width: 250px;">
                                <table id="table5" class="example" style="background-color: White; width: 250px;">
                                    <thead>
                                        <tr>
                                            <td style="width: 20px; height: 16px; line-height: 16px;">
                                                &nbsp;
                                            </td>
                                            <td style="width: 250px; height: 16px; line-height: 16px;">
                                                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Courseware_Name")%>
                                            </td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    </tbody>
                                </table>
                            </div>
                        </td>
                    </tr>
                </div>
            </div>
            <%--添加试卷--%>
            <div id="table3">
                <div class="btnbartitle">
                    <div>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_addexam")%>
                    </div>
                </div>
                <div class="div-body" style="height: 345px;">
                    <th>
                        <font color="red">*</font>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_testexam")%>:
                    </th>
                    <div style="position: relative;">
                        <input id="QuesNaire" type="text" autocomplete="off" class="txt" style="width: 316px"
                            onkeyup="GetQA();" onchange="ChangValue();" />
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ExamPlan_shurutishi")%>
                        <br />
                        <input type="botton" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_testexam")%>'
                            class="button" style="height: 25px;" onclick="CowtabShow(1);" />
                        <div id="qatishi" style="display: none; cursor: pointer; position: absolute; width: 316px;
                            background-color: White;">
                            <img src="../../Themes/Images/loading1.gif" />
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Loading")%>
                        </div>
                    </div>
                    <div id="qalist" style="display: none; border: 1px solid #ccc; border-top: 0; z-index: 0;
                        width: 560px;">
                        <table id="table6" class="example" style="background-color: White;">
                            <thead>
                                <tr>
                                    <td style="width: 20px; height: 16px; line-height: 16px;">
                                        &nbsp;
                                    </td>
                                    <td style="width: 250px; height: 16px; line-height: 16px;">
                                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("MyExamPlan-sjm")%>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <%--添加自定义商品--%>
            <div id="table4">
                <div class="btnbartitle">
                    <div>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_tjzdysp")%>
                    </div>
                </div>
                <div class="div-body" style="height: 345px;">
                    <th>
                        <font color="red">*</font>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_zdyshangpingName")%>:
                    </th>
                    <div style="position: relative;">
                        <input id="ShopTxt" type="text" autocomplete="off" class="txt" style="width: 316px"
                            onkeyup="GetShop();" onchange="ChangValue();" />
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_productsoso")%>
                        <div id="shoptishi" style="display: none; cursor: pointer; position: absolute; width: 316px;
                            background-color: White;">
                            <img src="../../Themes/Images/loading1.gif" />
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Loading")%>
                        </div>
                    </div>
                    <div id="ShopList" style="display: none; border: 1px solid #ccc; border-top: 0; z-index: 0;
                        width: 560px;">
                        <table id="table7" class="example" style="background-color: White;">
                            <thead>
                                <tr>
                                    <td style="width: 20px; height: 16px; line-height: 16px;">
                                        &nbsp;
                                    </td>
                                    <td style="width: 250px; height: 16px; line-height: 16px;">
                                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_shangpingName")%>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <%--添加章节练习--%>
            <div id="ChapterDiv">
                <div class="btnbartitle">
                    <div>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Addtheexercises")%>
                    </div>
                </div>
                <div class="div-body" style="height: 345px;">
                    <th>
                        <font color="red">*</font>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_zjlx")%>:
                    </th>
                    <input type="botton" value='<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterPlan_Form_xzzj")%>'
                        class="button" style="height: 25px;" onclick="GetChapShow();" />
                    <div id="chapshowlist" style="display: none; border: 1px solid #ccc; border-top: 0;
                        z-index: 0; width: 560px;">
                        <table id="table8" class="example" style="background-color: White;">
                            <thead>
                                <tr>
                                    <td style="width: 20px; height: 16px; line-height: 16px;">
                                        &nbsp;
                                    </td>
                                    <td style="width: 250px; height: 16px; line-height: 16px;">
                                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ChapterIndex_zjlx")%>
                                    </td>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <%--角色--%>
            <div id="table9" style=" display:none;">
                <div class="btnbartitle">
                    <div>
                        <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mall_tjzdysp")%>
                        <span style=" color:Red">
                        注：使用此功能，当学员购买该产品后，学员信息会自动添加为勾选的选项。此功能运用系统框架，勿在此页面勾选 用户列表 外部学员！
                        </span>
                    </div>
                </div>
                <div class="div-body" style="height: 345px;">
                    <tr>
                        <th>
                            <font color="red">*</font>
                            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("user_group")%>:
                        </th>
                        <td>
                            <script src="/Themes/Scripts/GetuserControl.js" type="text/javascript"></script>
                        </td>
                    </tr>
                </div>
            </div>
        </div>
        <div class="frmbottom">
            <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return CheckValid();"
                OnClick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/disk.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Save")%></span></asp:LinkButton>
            <a class="l-btn" href="javascript:void(0)" onclick="OpenClose();"><span class="l-btn-left">
                <img src="/Themes/Images/cancel.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%></span></a>
        </div>
    </div>
    </form>
</body>
</html>
<script src="AppenProductForm.js" type="text/javascript"></script>
<script type="text/javascript">
   <%=liststr %>
</script>
