<%@ Page Language="C#"  MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Codebehind="KS.CosFaceType.aspx.cs" Inherits="Kesion.NET.WebSite.Course.Admin_Course_KS_CsFaceType" %>

<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.BLL" %>

<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" Runat="Server">

 <asp:Panel ID="ListPanel" runat="server" Width="100%">
 <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 class="curr"><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">         
     <div class="myTitle">
         <span class="fr"><asp:LinkButton ID="addclassbutton" runat="server" CssClass="mr20 button button_on" OnClick="BtnVerify_Click">添加</asp:LinkButton></span>
         面授班型</div>
   
    <KS:ksgv id="List" runat="server" AutoGenerateColumns="False" EmptyDataText="没有任何班型!" PagerType="CustomNumeric" Width="99%"    CssClass="CTable" GridLines="None" OnRowDataBound="List_RowDataBound" OnRowCommand="List_RowCommand" OnRowCreated="List_RowCreated">
        <Columns>
        <asp:TemplateField HeaderText="&lt;input type='checkbox' name='chkall' id='chkall' onClick='CheckAll(this.form);'/&gt;">
                <itemstyle horizontalalign="Center" width="30px" />
                <itemtemplate>
                <input type="checkbox"  name="ids" id="ids" value="<%#Eval("ID") %>" />
                </itemtemplate>
            </asp:TemplateField>

             <asp:TemplateField HeaderText="ID">
                   <itemstyle  horizontalalign="Center" width="10px" />
                <itemtemplate>
            <%# Eval("ID") %>
                </itemtemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="班型名称">
                <itemtemplate>
            <%# Eval("Title") %>
                </itemtemplate>
            </asp:TemplateField>

               <asp:TemplateField HeaderText="排序">
            <itemstyle  horizontalalign="Center" width="100px" />
                <itemtemplate> 
                <%# Eval("Orderid") %>
                </itemtemplate>
            </asp:TemplateField>
                        
             <asp:TemplateField HeaderText="添加时间">
            <itemstyle  horizontalalign="Center" width="135px" />
                <itemtemplate> 
                <%# Eval("adddate") %>
                </itemtemplate>
            </asp:TemplateField>

            
            <asp:TemplateField HeaderText="编辑">
                <itemstyle horizontalalign="Center" Width="100"/>
             <itemtemplate>
             <asp:LinkButton runat="server"  CssClass="edit" id="LinkButton1" commandargument=<%# Eval("ID") %> commandname="modify">编辑</asp:LinkButton>        
           
            </itemtemplate>
            </asp:TemplateField>
   <asp:TemplateField HeaderText="删除">
                <itemstyle horizontalalign="Center" Width="100"/>
             <itemtemplate>
              <asp:LinkButton runat="server"  CssClass="delete" id="delet" commandargument=<%# Eval("ID") %> commandname="del">删除</asp:LinkButton>         
            </itemtemplate>
            </asp:TemplateField>

        </Columns>
        <HeaderStyle CssClass="CTitle" />
        <EmptyDataRowStyle CssClass="emptycss" />
    </KS:ksgv>
       <div class="listedit">
      	  &nbsp;&nbsp;&nbsp;&nbsp;
         <asp:LinkButton ID="delclassbutton" runat="server" CssClass="button" OnClientClick="return(GetIDS('del'));" OnClick="delclassbutton_Click" ><b></b>删除</asp:LinkButton>
      </div>
     <KS:Page ID="Page1" runat="server" />            
</asp:Panel>
</div>
<asp:Panel ID="AddPanel" runat="server" Width="100%">
  	<!--<KS:TopNav ID="TopNav1" runat="server" Text="添加班型" />-->
    <div class="content-area mt20">
         <div class="myTitle">添加班型</div>   
         <table width="100%" border="0" cellpadding="1" cellspacing="1" class="CTable no-borderTable"> 
             <tr>
                <td align="right"  height="30" >班型名称：</td>
                <td ><asp:TextBox ID="TxtName" CssClass="textbox" runat="server"></asp:TextBox></td>
             </tr>
             <tr>
                <td align="right" >设置顺序：</td>
                <td><asp:TextBox ID="TxtTename" CssClass="textbox" runat="server"></asp:TextBox></td>
             </tr>   
          </table>
    </div>   
    <KS:Foot ID="Foot1" runat="server" OnSubmit="Foot1_Submit" />
     
</asp:Panel>
   
  

</asp:Content>
