<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="True" Inherits="Kesion.NET.WebSite.Admin_SMSList" Title="Untitled Page" Codebehind="KS.SMSList.aspx.cs" %>
<%@ Import Namespace="Kesion.Publics" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" Runat="Server">
       <!--<KS:TopNav ID="TopNav2" runat="server" Text="短信模板配置" />-->
    <div class="content-area mt20 pageBlank">
     
     <asp:Panel runat="server" ID="PanelUser" Visible="true">
           
           <KS:KSGV ID="modeuser" OnRowDataBound="modellist_RowDataBound" runat="server" Width="99%" CssClass="CTable" AutoGenerateColumns="False" EmptyDataText="暂无账号通API!" GridLines="None" PagerType="CustomNumeric">
            <Columns>
            <asp:BoundField HeaderText="ID" DataField="ID">
                <ItemStyle HorizontalAlign="Center" Width="40px" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="是否启用">
                <ItemStyle HorizontalAlign="Center" Width="60px"  />
                <ItemTemplate>
                 <asp:HiddenField ID="HidEnable" Value='<%# Eval("enable") %>' runat="server" />
                 <asp:CheckBox ID="CkbEnable" runat="server" />
                 </ItemTemplate>
            </asp:TemplateField>   
            <asp:TemplateField HeaderText="模块名称">
                <ItemStyle HorizontalAlign="Left" Width="250px"/>
                <ItemTemplate>
               <strong><%#Eval("name") %></strong>
               <div style="color:#888"><strong>标签：</strong><%# Eval("tag") %>
               </div>
                 </ItemTemplate>
            </asp:TemplateField> 
            <asp:TemplateField HeaderText="绑定模板">
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                  <asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TemplateId" Text='<%#Eval("templateid") %>' runat="server"></asp:TextBox>
                 </ItemTemplate>
            </asp:TemplateField>  

            <asp:TemplateField HeaderText="短信内容">
                <ItemStyle HorizontalAlign="Center" />
                <ItemTemplate>
                  <asp:TextBox CssClass="textbox" TextMode="MultiLine" Width="420px" height="40px" ID="TxtContent" Text='<%#Eval("content") %>' runat="server"></asp:TextBox>
                 </ItemTemplate>
            </asp:TemplateField>  
            <asp:TemplateField HeaderText="每天最多发送数量">
                <ItemStyle HorizontalAlign="Center" Width="60px"  />
                <ItemTemplate>
                  <asp:TextBox CssClass="textbox" style="text-align:center" Width="50px" ID="TxtDayPostMax" Text='<%#Eval("daypostmax") %>' runat="server"></asp:TextBox>
                 条
                 </ItemTemplate>
            </asp:TemplateField>   
            </Columns>
           
            <PagerStyle CssClass="Page" HorizontalAlign="Right" />
            <HeaderStyle CssClass="CTitle" />
            <EmptyDataRowStyle CssClass="emptycss" />
      </KS:KSGV>
         </asp:Panel>
        <%if (defaultif == "阿里云")
            {%>
        <script>
            $(document).ready(function () {
                $("textarea").each(function () {
                    var s = $(this).val();
                
                    for (var i = 0; i <= 10; i++) {
                        if (s.indexOf("{$") != -1) {
                         
                                //长度超过20字符，需要拆分
                        //    s = s.replace("{$code}", "{$kscode}");
                                s = s.replace("{$", "${");
                            
                        }
                        else {
                            break;
                        }
                    }
                    $(this).val(s);
                });
                $(".alitemp").show();
            });
        </script>

        <%}
                                     else
                                     { %>
         <script>
             $(document).ready(function () {
                 $("textarea").each(function () {
                     var s = $(this).val();

                     for (var i = 0; i <= 10; i++) {
                         if (s.indexOf("${") != -1) {
                             if (s.indexOf("${kscode}") != -1) {
                                 //长度超过20字符，需要拆分
                           //      s = s.replace("${kscode}", "{$code}");
                             }
                             else {
                                 s = s.replace("${", "{$");
                             }
                         }
                         else {
                             break;
                         }
                     }
                     $(this).val(s);
                 });
                 $(".alitemp").hide();
             });
        </script>

        <%} %>
       <asp:Panel runat="server" ID="PanelMall" Visible="false">
			 <script>
                function showShopSms() {
                    var checkrad = jQuery("#<%=this.RdbShopNewOrderSms.ClientID %> :radio[checked]").val();
                       if (checkrad == 0) {
                           jQuery("#ShowShopSms").hide();
                       } else {
                           jQuery("#ShowShopSms").show();
                       }
                }
                function showUserSms() {
                    var checkrad = jQuery("#<%=this.RdbShopUserNewOrderSms.ClientID %> :radio[checked]").val();
                  
                      if (checkrad == 0) {
                          jQuery("#ShowUserSms").hide();
                      } else {
                          jQuery("#ShowUserSms").show();
                      }
                }
                function showBusinessSms() {
                    var checkrad = jQuery("#<%=this.RdbShopBusinessNewOrderSms.ClientID %> :radio[checked]").val();
                     if (checkrad == 0) {
                         jQuery("#ShowBusinessSms").hide();
                     } else {
                         jQuery("#ShowBusinessSms").show();
                     }
                }
                jQuery(document).ready(function () {
                    showShopSms();
                    showUserSms();
                    showBusinessSms();
                });
             </script>
		  	 <div class="myTitle">手机短信模板</div>
             <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="CTable no-borderTable"> 
                 <tr>
                    <td class="lefttd" align="right" style="width: 198px">
                    	<strong>新订单手机短信提醒：</strong><br />可用标签详见下面的标签说明
                    </td>
                    <td class="righttd">
                         <div class="message">
                            <strong>1、给管理员发送提醒：</strong>
                            <table width="100%">
                                <tr>
                                    <td class="lefttd" align="right" style="width: 198px"><strong>是否启用：</strong></td>
                                    <td><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="3">仅成功付款的订单才提醒</asp:ListItem>
                                     </asp:RadioButtonList></td>
                                </tr>
                                 <tbody id="ShowShopSms">
                                     <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 textarea" ID="TxtShopSmsNewOrder" TextMode="multiLine" runat="server" Width="425px" Height="80px"></asp:TextBox>
                                                    <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtShopSmsNewOrder.ClientID %>');"> </a>
                                                   <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtShopSmsNewOrder.ClientID %>');"></a> 
                                           <br />
                                            <span class="alitemp">
                                                绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox1" Text='' runat="server"></asp:TextBox>
                                                </span>
                                        </td>
                                     </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="message">
                             <strong>2、给消费者发送提醒：</strong>
                             <table width="100%">
                                 <tr>
                                    <td class="lefttd" align="right" style="width: 198px"><strong>是否启用：</strong></td>
                                    <td><asp:RadioButtonList ID="RdbShopUserNewOrderSms" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
                                      <asp:ListItem Value="0">不启用</asp:ListItem>
                                      <asp:ListItem Value="1">启用</asp:ListItem>
                                     </asp:RadioButtonList></td>
                                 </tr>
                                 <tr id="ShowUserSms">
                                    <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 textarea" ID="TxtUserSmsNewOrder" TextMode="multiLine" runat="server" Width="425px" Height="80px"></asp:TextBox>
                                                <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtUserSmsNewOrder.ClientID %>');"> </a>
                                               <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtUserSmsNewOrder.ClientID %>');"></a>  
                                        <br />
                                           <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox2" Text='' runat="server"></asp:TextBox></span>
                                    </td>
                                 </tr>
                            </table>
                        </div>
                         <div class="message">
                        	 <strong>3、给商家发送提醒：</strong>
                             <table width="100%">
                                <tr>
                                    <td class="lefttd" align="right" style="width: 198px"><strong>是否启用：</strong></td>
                                    <td><asp:RadioButtonList ID="RdbShopBusinessNewOrderSms" 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="3">仅成功付款的订单才提醒</asp:ListItem>
                                     </asp:RadioButtonList></td>
                                </tr>
                                 <tr id="ShowBusinessSms">
                                        <td class="lefttd" align="right" style="width: 198px">
                                        <strong>提醒的短信内容：</strong><br />
                                        <div class="tips">标签：商家名称{$Business} 订单号{$OrderID}  金额{$NoUseCouponMoney}  下单时间{$InputTime}  订单状态{$OrderStatus}  
                                        </div></td>
                                        <td class="righttd">
                                         &nbsp;<asp:TextBox  CssClass="textbox textarea" ID="TxtBusinessSmsNewOrder" TextMode="multiLine" runat="server" Width="425px" Height="80px"></asp:TextBox>
                                                    <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=TxtBusinessSmsNewOrder %>');"> </a>
                                                   <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=TxtBusinessSmsNewOrder %>');"></a>  
                                             <br />
                                               <span class="alitemp">
                                                绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox3" Text='' runat="server"></asp:TextBox></span>
                                        </td>
                                     </tr>
                            </table>
                         </div>
                    </td>
                 </tr>
                 <tr>
                    <td class="lefttd" align="right" style="width: 198px">
                    <strong>支付成功手机短信内容：</strong><br />可用标签详见下面的标签说明
                    </td>
                    <td class="righttd">

                        <table width="100%" class="sTable">
                            <tr>
                            <td><div class="message">
                                <strong>1、一次性付款</strong><br />
                                  <table border="0">
                                        <tr>
                                          <td>普通订单发送</td>
                                          <td><asp:TextBox  CssClass="textbox textarea" ID="TxtShopSmsReceiveBank" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                                <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsReceiveBank.ClientID %>');"> </a>
                               <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsReceiveBank.ClientID %>');"></a>  
                                           <br />
                                                 <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox4" Text='' runat="server"></asp:TextBox></span>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td>团购订单<br />验证码发送</td>
                                          <td><asp:TextBox  CssClass="textbox textarea" ID="TxtSMSGroupBuyPayOK" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                                          <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSMSGroupBuyPayOK.ClientID %>');"> </a>
                                           <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSMSGroupBuyPayOK.ClientID %>');"></a>  
                                              <br />
                                                 <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox5" Text='' runat="server"></asp:TextBox></span>
                                            <br />
                                              <div class="tips">
                                              Tips:主要用于发送确认码与商家核对确认消费。确认码标签为：{$VerifyCode}。不需要手机发送确认码请留空。
                                           </td></div>
                                        </tr>
                                    </table>
                            </td>
                           </tr>
                           <tr>
                            <td>
                                <strong>2、仅付订金</strong><br />
                                <table border="0" class="sTable">
                                        <tr>
                                          <td>普通订单发送</td>
                                          <td><asp:TextBox  CssClass="textbox textarea" ID="TxtSmsReceiveFrontMoney" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                                           <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsReceiveFrontMoney.ClientID %>');"> </a>
                                           <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsReceiveFrontMoney.ClientID %>');"></a>  
                                             <br />
                                                 <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox6" Text='' runat="server"></asp:TextBox></span>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td>团购订单<br />验证码发送</td>
                                          <td><asp:TextBox  CssClass="textbox textarea" ID="TxtSMSGroupBuyPayFrontMoneyOK" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                                           <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSMSGroupBuyPayFrontMoneyOK.ClientID %>');"> </a>
                                           <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSMSGroupBuyPayFrontMoneyOK.ClientID %>');"></a>  
                                             <br />
                                                 <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox7" Text='' runat="server"></asp:TextBox></span>
                                              <br />
                                              <div class="tips">
                                              Tips:主要用于发送确认码与商家核对确认消费。确认码标签为：{$VerifyCode}。不需要手机发送确认码请留空。
                                           </div></td>
                                        </tr>
                                    </table>
                               
                            </td>
                            </tr>
                        </table>

                       

                    </td>
                 </tr>
                  <tr>
                    <td class="lefttd" align="right" style="width: 198px">
                    <strong>退换货处理成功手机短信内容：</strong><br />可用标签详见下面的标签说明
                    </td>
                    <td class="righttd">
                          <div class="message">
                              <strong>1、退货退款处理成功：</strong><br />
                     &nbsp;<asp:TextBox  CssClass="textbox textarea" ID="TxtSmsRefund" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                                           <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsRefund.ClientID %>');"> </a>
                                           <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsRefund.ClientID %>');"></a>  
                              <br />
                                 <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox8" Text='' runat="server"></asp:TextBox></span>
                        </div>
                         <div class="message">
                              <strong>2、换货处理成功：</strong><br />
                     &nbsp;<asp:TextBox  CssClass="textbox textarea" ID="TxtSmsChanage" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                                           <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsChanage.ClientID %>');"> </a>
                                           <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsChanage.ClientID %>');"></a>  
                              <br />
                                <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox9" Text='' runat="server"></asp:TextBox></span>
                        </div>
                    </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="TxtShopSmsInvoice" 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>  
                       <br />
                           <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox10" Text='' runat="server"></asp:TextBox></span>
                    </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="TxtShopSmsShipping" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                       <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtShopSmsShipping.ClientID %>');"> </a>
                       <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtShopSmsShipping.ClientID %>');"></a>  
                        <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox11" Text='' runat="server"></asp:TextBox></span>

                    </td>
                 </tr>
                 <tr>
                    <td class="lefttd" align="right" style="width: 198px">
                    <strong>订单作废时手机短信内容：</strong><br />
可用标签详见下面的标签说明,作废原因标签：{$VoidBecause}
                    </td>
                    <td class="righttd">
                     &nbsp;<asp:TextBox  CssClass="textbox textarea" ID="TxtSmsOrdercancel" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                       <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsOrdercancel.ClientID %>');"> </a>
                       <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsOrdercancel.ClientID %>');"></a>  
                       <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox12" Text='' runat="server"></asp:TextBox></span>
                    </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="TxtShopSmsPayTips" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                       <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.TxtSmsPayTips.ClientID %>');"> </a>
                       <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.TxtSmsPayTips.ClientID %>');"></a>  
                      <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox13" Text='' runat="server"></asp:TextBox></span>
                    </td>
                 </tr>
                  <tr>
                    <td class="lefttd" align="right" style="width: 198px">
                    <strong>标签含义：</strong>
                    </td>
                    <td class="righttd">
                     ${OrderID} --订单ID号<br />
                     ${ProductList} --商品清单<br />
${ContactMan} --收货人姓名<br />
${UserName} --订单所属用户名<br />
${InputTime} --订单提交时间（格式：<%=DateTime.Now.ToString() %>)<br />
${Date} --订单提交日期（格式：<%=DateTime.Now.ToShortDateString() %>)<br />
${Time} --订单提交时间（格式：<%=DateTime.Now.ToShortTimeString() %>)<br />
${SiteName} --网站名称<br />
                    </td>
                 </tr>
            </table>
        </div> 
               
       </asp:Panel>
        <asp:Panel runat="server" ID="PanelCourse" Visible="false">
            <script>
                function showSms() {
                    var checkrad = jQuery("#<%=this.RdbCourseNewOrderSms.ClientID %> :radio[checked]").val();
                    if (checkrad == 0) {
                        jQuery("#ShowSms").hide();
                    } else {
                        jQuery("#ShowSms").show();
                    }
                }
                jQuery(document).ready(function () {
                    showSms();
                });
            </script>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="CTable no-borderTable">
                    <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>新订单手机短信提醒管理员：</strong>
                        </td>
                        <td class="righttd">
                            <asp:RadioButtonList ID="RdbCourseNewOrderSms" 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="3">仅提醒会员成功付款的订单</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="TxtCourseNewOrderMobile" 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>
                                    <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox14" Text='' runat="server"></asp:TextBox></span>
                            </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>
                                <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox15" Text='' runat="server"></asp:TextBox></span>
                        </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>
                                <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox16" Text='' runat="server"></asp:TextBox></span>
                        </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>
                                <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox17" Text='' runat="server"></asp:TextBox></span>
                        </td>
                    </tr>

                      <tr>
                        <td class="lefttd" align="right" style="width: 198px">
                            <strong>退款后手机短信内容：</strong><br />
                            可用标签${ReturnTime}，${InputTime}，${OrderID}
                    <br />
                            
                        </td>
                        <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox textarea" ID="txtReturn" TextMode="multiLine" runat="server" Width="425px" Height="50px"></asp:TextBox>
                            <a class="textarea_min" href="javascript:zoomtextarea(-2,'<%=this.txtReturn.ClientID %>');"></a>
                            <a class="textarea_max" href="javascript:zoomtextarea(2,'<%=this.txtReturn.ClientID %>');"></a>
                                <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="txtReturnTemplateid" runat="server"></asp:TextBox></span>
                        </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>
                                <br />   <span class="alitemp">
                                            绑定模板：<asp:TextBox CssClass="textbox" Width="100px" height="20px" ID="TextBox18" Text='' runat="server"></asp:TextBox></span>
                        </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>

        </asp:Panel>



             
             <asp:Panel ID="Panel2" runat="server" Height="30px" CssClass="main-button">
                 
                    <KS:Foot ID="Foot1" runat="server" OnSubmit="Foot1_Submit" />
             </asp:Panel>

     </div>	
    
</asp:Content>

