<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="True" Inherits="Kesion.NET.WebSite.Course.Admin_Course_KSCsConfig" CodeBehind="KS.CosConfig.aspx.cs" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.BLL" %>
<%@ Import Namespace="Kesion.Cache" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" runat="Server">
  	<div id="manage_top" class="menu_top_fixed">
         <ul class="titleTab">
              <%if (KSSecurity.CheckMenuPower("Course/KS.CosConfig.aspx0", true))
                  { %>
          <li><a href="KS.CosConfig.aspx">系统设置</a></li>
             <%}
               if (KSSecurity.CheckMenuPower("Course/KS.CosConfig.aspx1",true)){ %>
          <div onmouseover="jQuery('#topcd').show();" onmouseout="jQuery('#topcd').hide();" class="liwrap">
                   <li><a href="KS.CosCategory.aspx?type=0">分类设置</a></li>
                   <div id="topcd" class="topcd" style="display:none">
                      <a href="KS.CosCategory.aspx?type=0">网授分类</a>
                      <a href="KS.CosCategory.aspx?type=1">面授分类</a>
                   </div>
           </div>
            <%}
                if (KSSecurity.CheckMenuPower("Course/KS.CosConfig.aspx2", true))
                { %>
          <li><a href="KS.CosLiveConfig.aspx">直播道具</a></li>
             <%}
                 if (KSSecurity.CheckMenuPower("Course/KS.CosConfig.aspx3", true))
                 { %>
          <li><a href="KS.CosFaceType.aspx">面授班型</a></li>
              <%}
                  if (KSSecurity.CheckMenuPower("Course/KS.CosConfig.aspx4", true))
                  { %>
          <div onmouseover="jQuery('#topvideo').show();" onmouseout="jQuery('#topvideo').hide();" class="liwrap">
                   <li><a href="KS.CosAPIConfg.aspx">视频接口</a></li>
                   <div id="topvideo" class="topcd" style="display:none">
                      <a href="KS.CosAPIConfg.aspx">点播接口</a>
                      <a href="KS.CosLiveAPIConfig.aspx">直播接口</a>
                   </div>
             </div>
              <%} %>
          
           <li><a href="KS.CosVideoAdvertiseManage.aspx">设置视频广告</a></li>
       </ul>
 	</div>  
	<div class="menu_top_fixed_height"></div> 


    <div class="content-area footBlank">
        <!--<div class="myTitle">课程频道设置</div>-->
        <div class="tab-page" id="SystemCoursePanel">
            <script>                
                function showSms() {
                    var checkrad = jQuery("#<%=this.RdbShopNewOrderSms.ClientID %> :radio[checked]").val();
                    if (checkrad == 0) {
                        jQuery("#ShowSms").hide();
                    } else {
                        jQuery("#ShowSms").show();
                    }
                }       
                function showEmail() {
                    var checkrad = jQuery("#<%=this.RdbShopNewOrderEmailTF.ClientID %> :radio[checked]").val();
                 if (checkrad == 0) {
                     jQuery("#ShowEmail").hide();
                 } else {
                     jQuery("#ShowEmail").show();
                 }
             }
                jQuery(document).ready(function () {
                    $(".titleTab li").eq(0).addClass("curr");
                     show();
                     showday();
                     showSms();
                     showEmail();
                     showHtmlFlag();
                     SetRun();
                     SetOrderHours();
             });
             function show(){
                 var checkrad = jQuery("#<%=this.RbBack.ClientID %> :radio[checked]").val();
                      // alert(checkrad);
                      if(checkrad==1){
                          jQuery("#EffectiveDate").css("display", "");
                      }
                      else 
                      {
                          jQuery("#EffectiveDate").css("display", "none");
                      }
                  }     
                  function showday()
                  {
                      //有效期天数
                      var checkrad = jQuery("#<%=this.RbEffectiveDate.ClientID %> :radio[checked]").val();
                      if(checkrad==1){
                          $("#EffectiveDay").show();
                      }
                      else 
                      {
                          $("#EffectiveDay").hide();
                      }
                  }
                  function showHtmlFlag(){
                      var v=$("#<%=this.CreateHtmlFlag.ClientID%> :radio[checked]").val()
                      if (v == "0") {
                          $("#showAutoFsoOption").hide();
                      } else if (v == "1"){
                          $("#showAutoFsoOption").show();
                      }else {
                          $("#showAutoFsoOption").show();
                      }
                }
                //跑马灯
                function SetRun() {
                    var a = jQuery("#<%=this.RbIsRun.ClientID %> :radio[checked]").val();
                    if (a == "0") {
                        $("#VodRunContent").hide();
                    }
                    else {
                        $("#VodRunContent").show();
                    }

                }
                //设置订单未支付几个小时失效
                function SetOrderHours() {
                    var a = jQuery("#<%=this.RdbIsOrderStatus.ClientID %> :radio[checked]").val();
                    if (a == "0") {
                        $("#OrderIsStatus").hide();
                    }
                    else {
                        $("#OrderIsStatus").show();
                    }

                }
            </script>
            <script type="text/javascript">
                var tabPane1 = new WebFXTabPane(document.getElementById("SystemCoursePanel"), 1)
            </script>

            <div class="tab-page" id="tab0">
                <h2 class="tab">基本参数</h2>
                <script type="text/javascript">
                    tabPane1.addTabPage(document.getElementById("tab0"));
                </script>

                <table id="tbs" width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                    <tr>
                        <td class="lefttd" height="30" align="right" style="width: 258px"><b>课程频道状态：</b></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="CourseStatus" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                <asp:ListItem Value="1" Selected>正常</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                   
                    <% if (BaseFun.CheckModulePower("school"))
                       {%>
                    <tr style="display: none">
                        <td class="lefttd" height="30" align="right" style="width: 258px"><b>多网校开启：</b></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbIsMEdu" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                <asp:ListItem Value="1" Selected>开启</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <%}%>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <strong>课程频道名称：</strong></td>
                        <td class="righttd">
                            <asp:TextBox CssClass="textbox" ID="TxtCourseName" runat="server"></asp:TextBox>
                            <span class="tips">如课程频道、在线课程。</span></td>
                    </tr>



                    <tr style="display: none">
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <strong>邀请注册赠送积分：</strong></td>
                        <td class="righttd">
                            <asp:TextBox ID="TextBox14" Width="50px" CssClass="textbox" runat="server"></asp:TextBox>分积分（设置为0时不赠送）
                        </td>
                    </tr>
                    <tr style="display: none">
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <strong>网校授权码：</strong></td>
                        <td class="righttd">
                            <asp:TextBox ID="EduCode" CssClass="textbox" runat="server"></asp:TextBox><span class="tips">请填写25位网校授权码</span>
                        </td>
                    </tr>

                    <tr style="display: none">
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <strong>前台发布是否需要审核：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="CoursePubVefify" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="1">需要后台审核后,方可发布</asp:ListItem>
                                <asp:ListItem Value="0">不需要审核,直接发布</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <strong>是否启用课程多选分类：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="MoreCourseClass" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="1">启用</asp:ListItem>
                                <asp:ListItem Value="0">不启用</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <strong>课程返现设置：</strong></td>
                        <td class="righttd">
                            
                            <asp:RadioButtonList ID="RbBack" runat="server" RepeatDirection="horizontal" onclick="show()" RepeatLayout="Flow">
                               <asp:ListItem Value="1">启用</asp:ListItem>
                                <asp:ListItem Value="0">不启用</asp:ListItem>
                            </asp:RadioButtonList>

                            <div id="EffectiveDate">
                          
                            <asp:RadioButtonList ID="RbEffectiveDate" runat="server" RepeatDirection="horizontal" onclick="showday()">
                              <asp:ListItem Value="1">启用有效期</asp:ListItem>
                                <asp:ListItem Value="0">不启用有效期</asp:ListItem>
                            </asp:RadioButtonList>
                            <span class="tips">如果不启用的话，是直接存入余额，否则，启用的话存入返现明细表</span>
                            <div id="EffectiveDay">有效期天数：<asp:TextBox ID="TxtDay" runat="server" CssClass="textbox" Width="56px"></asp:TextBox>
                            <span class="tips">天（建议1-30天）,如果设置为0是不限制</span></div>
                                </div>

                        </td>
                    </tr>
                  
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>评价是否要审核：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbCourseCmtVerify" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">是</asp:ListItem>
                                <asp:ListItem Value="1">否</asp:ListItem>

                            </asp:RadioButtonList></td>
                    </tr>

                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>学员广播是否要审核：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbUserTalkVerify" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">是</asp:ListItem>
                                <asp:ListItem Value="1">否</asp:ListItem>

                            </asp:RadioButtonList></td>
                    </tr>

                    
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <strong>课程订单开头设置：</strong></td>
                        <td class="righttd">
                            <asp:TextBox CssClass="textbox" ID="textOrder" runat="server">KS</asp:TextBox>
                            <span class="tips">如KS</span></td>
                    </tr>
                     <tr >
                        <td class="lefttd" height="30" align="right" style="width: 258px"><b>免费课程是否可以评价：</b></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RadioCourseFree" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                <asp:ListItem Value="1" Selected>开启</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="lefttd" height="30" align="right" style="width: 258px"><b>订单支付页面是否显示开发票信息：</b></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbOrderShowInvoice" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                <asp:ListItem Value="1" Selected="True">开启</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>订单是否允许学员申请退款：</strong></td>
                        <td class="righttd">
                            付款成功后<asp:TextBox ID="receivedDay" Width="50px" CssClass="textbox" runat="server" Text="0"></asp:TextBox>天内允许无条件申请退款,设置为”0”则表示不启用申请退款
                            <br /><span class="tips">(VIP/用户组免费，学习卡，后台开通等类型不能申请退款）</span>
                        </td>
                    </tr>
                      <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>是否启用订单未支付失效：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbIsOrderStatus" runat="server" RepeatDirection="horizontal" onclick="SetOrderHours()">
                                <asp:ListItem Value="0" Selected>关闭</asp:ListItem>
                                <asp:ListItem Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList>
                            <span class="tips">一旦启用的话，将会在规定时间自动删除失效的订单</span>
                        </td>
                    </tr>
                    <tr id="OrderIsStatus" style="display: none">
                        <td class="lefttd" height="30" align="right" style="width: 102px"><b>失效：</b></td>
                        <td class="righttd">
                            <asp:TextBox ID="TxtOrderHours" CssClass="textbox" runat="server" Width="80px"  Text="1"></asp:TextBox>小时后
                            
                            <font color="red">(未支付的订单将就会自动失效。)</font>
                        </td>
                    </tr>

                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>课程税率：</strong></td>
                        <td class="righttd">
                            <asp:TextBox ID="CourseTax" Width="50px" CssClass="textbox" runat="server" Text="0"></asp:TextBox>%
                            <span class="tips">范围(0.00~100.00)</span>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>观看视频必须登入：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RadioPlay" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">不启用</asp:ListItem>
                                <asp:ListItem Value="1">启用</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">
                        <strong>学习记录默认保存间隔时间：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox13" runat="server" Style="width: 60px"></asp:TextBox>分钟
                        <font class="tips">观看视频播放期间间隔（n）分钟保存一次(建议输入30-200之间)，设置为"0"表示不启用学习记录保存,学员将无法查看学习记录。</font>
                    </td>
                </tr>
                    <tr >
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>列表页面<%if (Kesion.Course.Course.IsMoreEdu())
                                      { %>
                机构或者<%} %>教师是否显示：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbIsListShowSchool" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0" Selected>否</asp:ListItem>
                                <asp:ListItem Value="1">是</asp:ListItem>
                            </asp:RadioButtonList>
                            <span class="tips">如果点击是的话，在列表就会体现<%if (Kesion.Course.Course.IsMoreEdu())
                                                                { %>机构或者<%} %>教师发布的课程<%if (Kesion.Course.Course.IsMoreEdu())
                                                                                       { %>，还有机构发布的教师<%} %>。</span>
                        </td>
                    </tr>


                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>直播课程是否显示道具信息：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbIsDaoJI" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0">否</asp:ListItem>
                                <asp:ListItem Value="1" Selected>是</asp:ListItem>
                            </asp:RadioButtonList>
                            <span class="tips">如果点击是的话，前台直播页面中将会显示道具信息，否则相反。</span>
                        </td>
                    </tr>


                    <tr style="display: none">
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>是否开启免费课程模板：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="IsFreeModle" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0" Selected>关闭</asp:ListItem>
                                <asp:ListItem Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList>
                            <span class="tips"></span>
                        </td>
                    </tr>

                    <tr style="display: none">
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>已审核的信息是否允许修改：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="CourseVerifyModify" runat="server">
                                <asp:ListItem Value="0">不允许修改<font color=red>(建议)</font></asp:ListItem>
                                <asp:ListItem Value="1">允许修改,修改后自动转为待审</asp:ListItem>
                                <asp:ListItem Value="2">允许修改且仍为已审核状态</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr style="display: none">
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>是否开启三级课时：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RadioButtonList5" RepeatDirection="horizontal" runat="server">
                                <asp:ListItem Value="0" Selected>关闭</asp:ListItem>
                                <asp:ListItem Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr style="display: none">
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>是否开启进入免费课程扣积分：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RadioButtonList6" RepeatDirection="horizontal" runat="server">
                                <asp:ListItem Value="0" Selected>关闭</asp:ListItem>
                                <asp:ListItem Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>是否开启试卷共享：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RadioButtonList7" runat="server" RepeatDirection="horizontal">
                                <asp:ListItem Value="0" Selected>开启</asp:ListItem>
                                <asp:ListItem Value="1">关闭</asp:ListItem>
                            </asp:RadioButtonList>
                            <span class="tips">开启后,机构和教师可添加总平台试卷</span>
                        </td>
                    </tr>
                       <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>是否开启点播视频的跑马灯设置：</strong></td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RbIsRun" runat="server" RepeatDirection="horizontal" onclick="SetRun()">
                                <asp:ListItem Value="0" Selected>关闭</asp:ListItem>
                                <asp:ListItem Value="1">开启</asp:ListItem>
                            </asp:RadioButtonList>
                            <span class="tips">开启后,前台播放页就会出来跑马灯(防录屏)</span>
                        </td>
                    </tr>
                  <tr id="VodRunContent" style="display:none">
                <td class="lefttd" height="30" align="right" style="width: 102px"><b>跑马灯的内容：</b></td>
                <td class="righttd">
                    <asp:TextBox ID="TxtRunContent" CssClass="textbox" runat="server"   Width="650px" TextMode="MultiLine" Height="150px"></asp:TextBox>
                    <br /><font color="red">(如果改内容不填写的话,将直接读取当前学员的用户名的,反之，将读取该内容的,该内容不能有特殊符号，也不支持换行。)</font>
                </td>
            </tr>
       
                </table>
            </div>
            <div class="tab-page" style="display:none" id="tab2">
                <h2 class="tab" style="display:none">短信模版</h2>
                <script type="text/javascript">
                 //  tabPane1.addTabPage(document.getElementById("tab2"));
                </script>
                <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable">
                    <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>新订单手机短信提醒管理员：</strong>
                        </td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbShopNewOrderSms" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                                <asp:ListItem Value="0">不启用</asp:ListItem>
                                <asp:ListItem Value="1">有新订单就提醒</asp:ListItem>
                                <asp:ListItem Value="2">新订单和会员成功付款提醒</asp:ListItem>
                                <asp:ListItem Value="2">仅提醒会员成功付款的订单</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tbody id="ShowSms">
                        <tr>
                            <td class="lefttd" align="right" style="width: 198px">
                                <strong>新订单手机短信提醒接收的手机：</strong>
                            </td>
                            <td class="righttd">&nbsp;<asp:TextBox ID="TxtShopNewOrderMobile" runat="server" CssClass="textbox" Width="200px" />
                                <span class="tips">多个手机号请用英文逗号隔开。</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="lefttd" align="right" style="width: 198px">
                                <strong>新订单手机短信接收提示内容：</strong><br />
                                <div class="tips">
                                    标签：订单号{$OrderID}  金额{$NoUseCouponMoney}  下单时间{$InputTime}  订单状态{$OrderStatus}  
                                </div>
                            </td>
                            <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="TxtSmsNewOrder" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                            </td>
                        </tr>
                    </tbody>

                    <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>支付成功手机短信内容：</strong><br />
                            <div class="tip1">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 可用标签详见下面的标签说明<br />
                                订单发送内容
                            </div>
                        </td>
                        <td class="righttd">
                            <asp:TextBox CssClass="textbox" ID="TxtSmsReceiveBank" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>手机短信提醒付款的内容：</strong><br />

                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="TxtSmsPayTips" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>发出货物后手机短信内容：</strong><br />
                            可用标签详见下面的标签说明
                    <br />
                            快递公司标签：{$Express} 快递单标签：{$ExpressNo}
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox textarea" ID="TxtSmsShipping" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsShipping.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsShipping.ClientID %>');"></a>
                        </td>
                    </tr>
                    <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>开发票后手机短信内容：</strong><br />
                            可用标签详见下面的标签说明
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox textarea" ID="TxtSmsInvoice" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsInvoice.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsInvoice.ClientID %>');"></a>
                        </td>
                    </tr>
                    <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>
                                <br />
                                标签含义：</strong>
                        </td>
                        <td class="righttd">{$OrderID} --定单ID号<br />
                            {$ProductList} --课程清单<br />
                            {$UserName} --订单所属用户名<br />
                            {$InputTime} --订单提交时间<br />
                            {$SiteName} --网站名称<br />
                        </td>
                    </tr>
                </table>
            </div>

            <div class="tab-page" id="tab4">
                <h2 class="tab">邮件模板</h2>
                <script type="text/javascript">
                    tabPane1.addTabPage( document.getElementById( "tab4" ) );
                </script>
                <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">

                    <tr>
                        <td class="lefttd" align="right" style="width: 258px">
                            <strong>新订单邮件信息提醒：</strong>
                        </td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbShopNewOrderEmailTF" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                                <asp:ListItem Value="0">不启用</asp:ListItem>
                                <asp:ListItem Value="1">有新订单就提醒</asp:ListItem>
                                <asp:ListItem Value="2">新订单和会员成功付款提醒</asp:ListItem>
                                <asp:ListItem Value="2">仅提醒会员成功付款的订单</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tbody id="ShowEmail">
                        <tr>
                            <td class="lefttd" align="right" style="width: 258px">
                                <strong>新订单接收提醒的邮箱：</strong>
                            </td>
                            <td class="righttd">&nbsp;<asp:TextBox ID="TxtShopNewOrderReceiveEmail" runat="server" CssClass="textbox" Width="200px" />
                            </td>
                        </tr>
                        <tr>

                            <td class="lefttd" align="right" style="width: 258px">
                                <strong>新订单接收提醒的邮件内容：</strong><br />
                                <font class="tips">支持HTML代码，可用标签详见下面的标签说明</font>
                            </td>
                            <td class="righttd">
                                <asp:TextBox CssClass="textbox" ID="TxtNewOrderTemplate" TextMode="multiLine" runat="server" Width="425px" Height="50px" Style="margin-top: 11px"></asp:TextBox>
                            </td>
                        </tr>
                    </tbody>
                    <tr style="display: none">
                        <td class="lefttd" align="right" style="width: 258px">
                            <strong>确认订单时站内短信/Email通知内容：</strong><br />
                            <font class="tips">支持HTML代码，可用标签详见下面的标签说明</font>
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="TxtConfirmTemplate" TextMode="multiLine" runat="server" Width="425px" Height="70px"></asp:TextBox>
                        </td>
                    </tr>


                    <tr>
                        <td class="lefttd" align="right" style="width: 258px">
                            <strong>支付成功后站内短信/Email通知内容：</strong><br />
                            <font class="tips">支持HTML代码，可用标签详见下面的标签说明</font>
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="TxtReceiveBankTemplate" TextMode="multiLine" runat="server" Width="425px" Height="70px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="lefttd" align="right" style="width: 258px">
                            <strong>提醒付款的站内短信/Email通知内容：</strong><br />
                            <font class="tips">支持HTML代码，可用标签详见下面的标签说明</font>
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="TxtPayTipsTemplate" TextMode="multiLine" runat="server" Width="425px" Height="70px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="lefttd" align="right" style="width: 258px">
                            <strong>发出货物后站内短信/Email通知内容：</strong><br />
                            <font class="tips">支持HTML代码，可用标签详见下面的标签说明</font>
                            <br />
                            <font class="tips">快递公司标签：{$Express} 快递单标签：{$ExpressNo}</font>
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox textarea" ID="TxtShippingTemplate" TextMode="multiLine" runat="server" Width="425px" Height="70px"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtShippingTemplate.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtShippingTemplate.ClientID %>');"></a>
                        </td>
                    </tr>
                    <tr>
                        <td class="lefttd" align="right" style="width: 258px">
                            <strong>开发票后站内短信/Email通知内容：</strong><br />
                            <font class="tips">支持HTML代码，可用标签详见下面的标签说明</font>
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox textarea" ID="TxtInvoiceTemplate" TextMode="multiLine" runat="server" Width="425px" Height="70px"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtInvoiceTemplate.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtInvoiceTemplate.ClientID %>');"></a>
                        </td>
                    </tr>
                </table>
            </div>
             
        <div class="tab-page" id="tab8">
            <h2 class="tab">SEO选项</h2>
            <script type="text/javascript">
                    tabPane1.addTabPage(document.getElementById("tab8"));
            </script>

            <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                <tr>
                    <td height="30" align="right" class="lefttd" style="width: 258px">
                        <b>网授课程频道标题：</b><br />
                    </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox15" runat="server" Columns="50" Rows="3" TextMode="MultiLine"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                    </td>
                </tr>

                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px"><strong>网授课程频道META关键词：
                    </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox16" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                        <div class="tips">针对搜索引擎设置的网页关键词,多个关键词请用,号分隔。</div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px">
                        <div>
                            <strong>网授课程频道META网页描述：</strong>
                        </div>
                     </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox17" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                        <div class="tips">针对搜索引擎设置的网页描述,多个描述请用,号分隔。</div>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" class="lefttd" style="width: 258px">
                        <b>直播课程频道标题：</b><br />
                    </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox19" runat="server" Columns="50" Rows="3" TextMode="MultiLine"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                    </td>
                </tr>

                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px"><strong>直播课程频道META关键词：
                    </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox20" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                         <div class="tips">针对搜索引擎设置的网页关键词,多个关键词请用,号分隔。</div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px">
                        <div>
                            <strong>直播课程频道META网页描述：</strong>
                        </div>
                       </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox21" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                         <div class="tips">针对搜索引擎设置的网页描述,多个描述请用,号分隔。</div>
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" class="lefttd" style="width: 258px">
                        <b>面授课程频道标题：</b><br />
                    </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox22" runat="server" Columns="50" Rows="3" TextMode="MultiLine"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                    </td>
                </tr>

                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px"><strong>面授课程频道META关键词：
                    </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox23" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                         <div class="tips">针对搜索引擎设置的网页关键词,多个关键词请用,号分隔。</div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px">
                        <div>
                            <strong>面授课程频道META网页描述：</strong>
                        </div>
                       </td>
                    <td class="righttd">&nbsp;<asp:TextBox ID="TextBox24" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                         <div class="tips">针对搜索引擎设置的网页描述,多个描述请用,号分隔。</div>
                    </td>
                </tr>
            </table>

        </div>

            <div class="tab-page" id="tab1" style="display:none;" >
                <h2 class="tab" style="display:none;" >SEO选项</h2>
                <script type="text/javascript">
                    tabPane1.addTabPage(document.getElementById("tab1"));
                </script>
                <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                    <tr>
                        <td height="30" align="right" class="lefttd" style="width: 258px">
                            <b>课程频道标题：</b><br />
                            <font color="#ff0000">网页标题通常是搜索引擎关注的重点,</font></td>
                        <td class="righttd">&nbsp;<asp:TextBox ID="TxtCourseSeoTitle" runat="server" Columns="50" Rows="3" TextMode="MultiLine"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoTitle.ClientID %>');"></a>
                        </td>
                    </tr>

                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 258px"><strong>课程频道META关键词：
                        </strong>
                            <br />
                            <font color="#ff0000">
                                     针对搜索引擎设置的网页关键词,多个关键词请用,号分隔
                                     </font>
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox ID="TxtCourseSeoKeywords" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoKeywords.ClientID %>');"></a>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 258px">
                            <div>
                                <strong>课程频道META网页描述：</strong>
                            </div>
                            <font color="#ff0000">针对搜索引擎设置的网页描述,多个描述请用,号分隔&nbsp;</font></td>
                        <td class="righttd">&nbsp;<asp:TextBox ID="TxtCourseSeoDescript" runat="server" TextMode="MultiLine" Columns="50" Rows="5"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(5,'<%=this.TxtCourseSeoDescript.ClientID %>');"></a>
                        </td>
                    </tr>
                </table>

            </div>

            <div class="tab-page" id="tab5">
                <h2 class="tab">上传选项</h2>
                <script type="text/javascript">
                    tabPane1.addTabPage(document.getElementById("tab5"));
                </script>
                <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                    <tr class="ctr">
                        <td align="right" class="lefttd" style="width:258px;">
                            <strong>允许上传的最大文件：</strong></td>
                        <td class="righttd">
                            <asp:TextBox CssClass="textbox" ID="AllowUpfilesSize" runat="server" Width="54px">1024</asp:TextBox>
                            KB&nbsp; <span style="color: #ff0000">提示：1 KB = 1024 Byte，1 MB = 1024 KB
                                 <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="AllowUpfilesSize"
                                     ErrorMessage="请输入数字" ValidationExpression="\d*"></asp:RegularExpressionValidator></span></td>
                    </tr>
                    <tr class="ctr">
                        <td align="right" class="lefttd" style="width:258px;">
                            <strong>允许上传的文件类型：</strong><br />
                            <font color="#ff0000">多种文件类型之间以"|"分隔</font>
                        </td>
                        <td class="righttd">
                            <table border="0" cellpadding="0" cellspacing="0" width="90%">
                                <tr>
                                    <td align="right" style="width: 80px; height: 45px">视频格式：</td>
                                    <td class="righttd">
                                        <asp:TextBox CssClass="textbox" ID="AllowUpMediaType" Width="330px" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td align="right" style="width: 80px; height: 45px">图片类型：</td>
                                    <td class="righttd">
                                        <asp:TextBox CssClass="textbox" ID="AllowUpOtherType" Width="260px" runat="server"></asp:TextBox><span class="tips">图片最大上传为2MB</span></td>
                                </tr>
                            </table>
                        </td>
                    </tr>

             </table>
            </div>
            
        </div>

        <div class="tab-page" id="tab6" style="display: none">
            <h2 class="tab" style="display:none">视频设置</h2>
            <script type="text/javascript">
                tabPane1.addTabPage(document.getElementById("tab6"));
            </script>
            <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">


                <tr class="ctr">

                    <td align="right" class="lefttd" style="width:258px;">
                        <strong>初始图片地址：</strong></td>
                    <td class="righttd">
                        <asp:TextBox ID="TextBox1" CssClass="textbox" runat="server"></asp:TextBox>
                        &nbsp;<input type="button" class="button" onclick="SelectFiles('<%=this.TextBox1.ClientID %>    ',0);" value="选择图片" />
                        <div class="mt20"><%=Kesion.APPCode.UploadAPI.EchoUpload("coursePic",this.TextBox1.ClientID) %></div>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>前置广告：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox4" runat="server"></asp:TextBox>
                        <font class="tips">前置广告，swf/图片/视频，多个用竖线隔开，图片和视频要加链接地址</font>
                        <font>pause6.1_1.swf|pause6.1_2.swf</font>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>前置广告链接地址：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox5" runat="server"></asp:TextBox>
                        <font class="tips">前置广告的链接地址，多个用竖线隔开，没有的留空</font>
                        <font> |  </font>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>视频开始前播放swf/图片时间：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox6" runat="server"></asp:TextBox>
                        <font class="tips">视频开始前播放swf/图片时的时间，多个用竖线隔开</font>
                        <font>10|20</font>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>暂停时播放的广告：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox2" runat="server"></asp:TextBox>
                        <font class="tips">暂停时播放的广告，swf,多个用竖线隔开，图片要加链接地址，没有的时候留空就行</font>
                        <font>pause6.1_1.swf|pause6.1_2.swf</font>
                    </td>
                </tr>
                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>暂停时图片链接地址：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox3" runat="server"></asp:TextBox>
                        <font class="tips">暂停时播放的图片,多个用竖线隔开，没有的时候留空就行</font>
                        <font>pause6.1_1.swf|pause6.1_2.swf</font>
                    </td>
                </tr>


                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>缓冲广告：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox7" runat="server"></asp:TextBox>
                        <font class="tips">缓冲广告，只能放一个，swf格式</font>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>滚动广告文字：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox11" runat="server"></asp:TextBox>
                        <font class="tips">输入屏幕滚动广告文字</font>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>滚动广告文字链接：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox12" runat="server"></asp:TextBox>
                        <font class="tips">输入屏幕滚动广告文字链接地址</font>
                    </td>
                </tr>
                

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>默认音量：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox8" runat="server" Style="width: 60px"></asp:TextBox>
                        <font class="tips">默认音量，0-100之间</font>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>视频默认：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox9" runat="server" Style="width: 60px"></asp:TextBox>
                        <font class="tips">视频默认0是暂停，1是播放</font>
                    </td>
                </tr>

                <tr class="ctr">
                    <td align="right" class="lefttd" style="width:258px;">

                        <strong>视频结束后的动作：</strong>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox10" runat="server" Style="width: 60px"></asp:TextBox>
                        <font class="tips">1是循环播放，2是暂停播放并且不调用广告，3是调用视频推荐列表的插件，4是清除视频流并调用js功能和1差不多，5是暂停播放并且调用暂停广告</font>
                    </td>
                </tr>

            </table>
        </div>

        <div class="tab-page" id="tab7"  style="display: none">
            <h2 class="tab">生成HTML</h2>
            <script type="text/javascript">
                tabPane1.addTabPage(document.getElementById("tab7"));
            </script>
            <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                <tr>
                    <td height='30' align='right' class='lefttd' style="width: 258px"><strong>生成选项：</strong><br />
                        <font color="#ff0000">一旦设定不建议更改，否则可能要花费一些时间来更新信息URL链接。</font></td>
                    <td height='28' class="righttd">
                        <asp:RadioButtonList ID="CreateHtmlFlag" runat="server" onclick="showHtmlFlag()">
                            <asp:ListItem Value="0" Selected>不启用生成静态HTML功能</asp:ListItem>
                            <asp:ListItem Value="1">启用内容页生成静态HTML功能</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
               <tbody  id="showAutoFsoOption">
                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px">
                        <strong>点播、直播生成总路径：</strong>
                    </td>
                    <td class="righttd" height="28">
                        <asp:TextBox CssClass="textbox" ID="TxtCourseCreatePath" runat="server" Text="" Width="283px"></asp:TextBox> <span class="tips">必须与＂/＂结束,如“html/course/”。</span>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px">
                        <strong>面授课程生成总路径：</strong>
                    </td>
                    <td class="righttd" height="28">
                        <asp:TextBox CssClass="textbox" ID="TxtFaceCourseCreatePath" runat="server" Text="" Width="283px"></asp:TextBox> <span class="tips">必须与＂/＂结束,如“html/face/”。</span>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 258px">
                        <strong>教师内容页生成总路径：</strong>
                    </td>
                    <td class="righttd" height="28">
                        <asp:TextBox CssClass="textbox" ID="TxtTeacherCreatePath" runat="server" Text="" Width="283px"></asp:TextBox> <span class="tips">必须与＂/＂结束,如“html/teacher/”。</span>
                </tr>
              </tbody>


               

            </table>
        </div>

        <div class="tab-page" id="tab3"  style="display: none">
            <h2 class="tab">订单模板 </h2>
            <script type="text/javascript">
                tabPane1.addTabPage( document.getElementById( "tab3" ) );
            </script>
            <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                <tr>
                    <td class="lefttd" align="right" style="width: 258px">
                        <strong>订单详情模板：</strong><br />
                        <font class="tips">支持HTML代码,用于发站站内短消息及发送站外邮件时显示</font>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox textarea" ID="TxtOrderDetailTemplate" Style="width: 780px; height: 300px" TextMode="multiLine" runat="server" Width="425px" Height="70px"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtOrderDetailTemplate.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtOrderDetailTemplate.ClientID %>');"></a>
                    </td>
                </tr>
                <tr>
                    <td class="lefttd" align="right" style="width: 258px">
                        <strong>订单打印模板：</strong><br />
                        <font class="tips">支持HTML代码,用于打印订单时的模板</font>
                    </td>
                    <td class="righttd">
                        <asp:TextBox CssClass="textbox textarea" ID="TxtOrderPrintTemplate" Style="width: 780px; height: 300px" TextMode="multiLine" runat="server" Width="425px" Height="70px"></asp:TextBox>
                        <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtOrderPrintTemplate.ClientID %>');"></a>
                        <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtOrderPrintTemplate.ClientID %>');"></a>

                    </td>
                </tr>
                <tr>
                    <td class="lefttd" align="right" style="width: 258px">
                        <strong>标签含义：</strong>
                    </td>
                    <td class="righttd">
                        <div style="height: 200px; overflow: auto">
                            {$OrderID} --订单ID号<br />
                            {$ContactMan} --收货人姓名<br />
                            {$Address} --收货地址<br />
                            {$ShowDeliverAddress} --显示自提或是发货地址<br />
                            {$ZipCode} --邮政编码<br />
                            {$Tel} --收货人电话<br />
                            {$Mobile} --收货人手机<br />
                            {$Email} --收货人Email<br />
                            {$UserName} --订单所属用户名<br />
                            {$InputTime} --订单提交时间<br />
                            {$OrderStatus} --订单状态<br />
                            {$PayTime} --支付时间<br />
                            {$PayTimeShort} --支付时间（仅显示日期）<br />
                            {$PaymentName} --支付平台名称<br />
                            {$TotalNum} --共买了几件商品<br />
                            {$IsInvoice} --是否需要发票<br />
                            {$Invoice} --发票信息<br />
                            {$Remark} --订单备注<br />
                            {$PaymentType} --付款方式<br />
                            {$Deliverytype} --送货方式<br />
                            {$DeliveryDate} --发货日期<br />
                            {$DeliveryTime} --送货时间<br />
                            {$GoodsMoney} --商品金额<br />
                            {$PayDiscountMoney} --支付方式可优惠<br />
                            {$Freight} -- 运费<br />
                            {$NoUseCouponMoney} --订单金额<br />
                            {$OrderTotalMoney} --实付金额<br />
                            {$MoneyReceipt} --已付款<br />
                            {$Arrears} --尚欠款<br />
                        </div>
                    </td>
                </tr>
            </table>
        </div>

        <div class="tab-page" id="tab9">
            <h2 class="tab">自设内容</h2>
            <script type="text/javascript">
                    tabPane1.addTabPage(document.getElementById("tab9"));
                    function setFileFileds(num) {
                        for (var i = 1, str = ""; i <= 20; i++) {
                            jQuery("#define" + i).css("display", "none");
                        }
                        for (var i = 1, str = ""; i <= num; i++) {
                            jQuery("#define" + i).css("display", "");
                        }
                    }
            </script>

            <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" class="CTable no-borderTable">
                <tr>
                    <td height='30' align='right' width='210' class='lefttd'><strong>自设内容数：</strong></td>
                    <td height='28' class="righttd">&nbsp;<select name="CourseDefine_Num" id="CourseDefine_Num" onchange="setFileFileds(this.value)"><option value="1" selected>1</option>
                        <option value="2">2</option>
                        <option value="3">3</option>
                        <option value="4">4</option>
                        <option value="5">5</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                        <option value="13">13</option>
                        <option value="14">14</option>
                        <option value="15">15</option>
                        <option value="16">16</option>
                        <option value="17">17</option>
                        <option value="18">18</option>
                        <option value="19">19</option>
                        <option value="20">20</option>
                    </select>
                    </td>
                </tr>

                <%for (int i = 1; i <= 20; i++)
               {
                %>
                <tbody id="define<%=i %>" style="display: none">
                    <tr>
                        <td height='30' align='right' width='210' class='lefttd'><strong>自设内容<%=i %>：</strong><br>
                            <font color="blue">在分类模板页插入{$GetCourseDefineContent<%=i %>} 调用</font>
                        </td>
                        <td class="righttd">&nbsp;<textarea class="textbox" cols="10" name='CourseDefineContent<%=i %>' style='width: 500px; height: 100px'><% try
                         {
                             KSCMS.W(param[i - 1].ToString());
                         }
                         catch{}%></textarea>
                        </td>
                    </tr>
                </tbody>
                <%} %>
            </table>

        </div>

    </div>
    <KS:Foot runat="server" CancelButtonVisible="false" ID="Foot1" OnSubmit="Foot1_Submit" />

    </div>

</asp:Content>
