<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Course.Admin.Course.KS_FeePackagesPub" Codebehind="KS.FeePackagesPub.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" runat="server">
          <div id="manage_top" class="menu_top_fixed">
       <ul>
	<li id="p9"><a href="KS.FeePackagesItem.aspx?id=<%=id %>"><b></b>返 回</a></li>
       </ul>
	    </div>
		 <div class="menu_top_fixed_height"></div>  
 <div class="content-area">          
     <asp:Panel ID="Panel2" runat="server" Width="100%" >
        <table width="99%" align="center" border="0" cellpadding="1" cellspacing="1" class="CTable"> 
          <tr>
           <td colspan="2" >批量生成营销卡号</td>
          </tr>
            <tr>
            <td class="lefttd" height="30" align="right" style="width: 198px"><strong>营销卡号：</strong></td>
            <td class="righttd">
             <asp:TextBox ID="TxtCouponPrefix" CssClass="textbox" runat="server" style="text-align:center;" Width="60px"  ReadOnly="true" ></asp:TextBox>+ 
                <asp:TextBox ID="TxtCouponNumber" CssClass="textbox" runat="server" style="text-align:center;" Width="56px" Text="10"></asp:TextBox> 位
                 <asp:CheckBox ID="scCheck" runat="server" Text="启用顺序生成" onclick="sccard()"/>   
               <span id="showsccard" style="display:none">从  <asp:TextBox ID="Tbegin" CssClass="textbox" runat="server" style="text-align:center;" Width="56px" Text="1"></asp:TextBox>-- <asp:TextBox ID="Tend" CssClass="textbox" runat="server" style="text-align:center;" Width="56px" Text="100"></asp:TextBox></span>
   
                <span class="tips">建议设为10--15位</span>
            </td>
          </tr>
            
             <tr>
            <td class="lefttd" height="30" align="right" style="width: 198px"><strong>营销卡号密码的位数：</strong></td>
            <td class="righttd">
             <asp:TextBox ID="TextBox1" CssClass="textbox" runat="server" style="text-align:center;" Width="56px"  Text="6"></asp:TextBox>
                <span class="tips">建议设为6--10位</span>
            </td>
          </tr>
          <tr>
            <td class="lefttd" height="30" align="right" style="width: 198px"><strong>生成数量：</strong></td>
            <td class="righttd">
             <asp:TextBox ID="TxtNum" CssClass="textbox" runat="server" style="text-align:center;" Width="40px" Text="100"></asp:TextBox> 张
            </td>
          </tr>
          <tr>
           <td class="lefttd" colspan="2" style="text-align:center">
           <asp:Button ID="Button3" runat="server" CssClass="button" Text="确定批量生成营销卡号" OnClick="Button3_Click"/>
           </td>
          </tr>
         </table>
        <script type="text/javascript">
            showtips('<span class="state"><strong>操作说明：</strong><br /></span>1.当营销卡类型为线下发放时,必须先生成营销卡号<br />2.您可以将生成的营销卡号发放给用户使用<br />3.用户得到营销卡号后,可以在会员中心启用,每张营销卡号只能用一次<br />');
		</script>
         <script>
             function sccard() {
                 jQuery("#showsccard").toggle();
             }


         </script>
    </asp:Panel>
 </div>   

</asp:Content>
