<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Course.Admin.UserVIPCardPub" Codebehind="KS.UserVIPCardPub.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.UserVIPCardItem.aspx?vipcardid=<%=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="TxtUserPrefix" CssClass="textbox" runat="server" Text="v" style="text-align:center;" Width="80px"></asp:TextBox>+ 
                <asp:TextBox ID="TxtUserNumber" CssClass="textbox" runat="server" style="text-align:center;" Width="80px" Text="6"></asp:TextBox> 位
                 <asp:CheckBox ID="scCheck" runat="server" Text="启用顺序生成" onclick="sccard(this)"/>   
               <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="TxtUserPass" CssClass="textbox" runat="server" style="text-align:center;" Width="56px"  Text="6"></asp:TextBox>
                <span class="tips">建议设为6--10位</span>
            </td>
          </tr>
          <tr id="shownum">
            <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:HiddenField ID="HidVipCardID" runat="server" Value="0" />
           <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.学生拿到会员实体账号首次登录需要输入推荐人UserId.<br />');
		</script>
         <script>
             function sccard(obj) {
                 jQuery("#showsccard").toggle();
                 if (obj.checked) {
                     $("#shownum").hide();
                 } else {
                     $("#shownum").show();
                 }
             }
         </script>
    </asp:Panel>
 </div>   

</asp:Content>
