<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Admin.Yun.KS_YunLiveRoom" Codebehind="KS.YunLiveRoom.aspx.cs" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.BLL" %>
<%@ Import Namespace="Kesion.Course" %>
<%@ Import Namespace="Kesion.APPCode" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" runat="server">

    <asp:Panel ID="ListPanel" runat="server" Width="100%">
        <div id="manage_top" class="menu_top_fixed">
        
            <div class="quickSelect">
                <asp:DropDownList ID="DrpClassID" runat="server" onchange="location.href='?classid='+this.value;">
                    <asp:ListItem Value="0">--按分类查看--</asp:ListItem>
                </asp:DropDownList>
            </div>

            <ul>
                <li id='p1'>
                    <asp:LinkButton ID="addclassbutton" runat="server" OnClick="addclassbutton_Click" ><b></b>创建直播</asp:LinkButton></li>               
              
                <div class="clear"></div>
            </ul>
        </div>
        <style>
            .categorynav {
                line-height: 25px;
                width: 97%;
                margin: 0 auto;
                margin-bottom: 10px;
                border: 1px solid #DEEFFA;
                background-color: #F7FBFE;
                padding: 5px 0px 5px 10px;
                height: 100%;
                overflow: hidden;
            }

            ul, li {
                padding: 0px;
                margin: 0px;
            }

            .categorynav li {
                width: 160px;
                float: left;
            }
        </style>
        <div class="menu_top_fixed_height"></div>  

           <div class="content-area">   
                 <div class="tabs_header">
            <ul class="tabs">
                <li <%=KSCMS.S("Type")==""?" class='active'":string.Empty %>><a href="KS.YunLiveRoom.Aspx"><span>所有面授</span></a></li>
                <li <%=KSCMS.S("Type")=="1"?" class='active'":string.Empty %>><a href="KS.YunLiveRoom.Aspx?Type=1"><span>未审核</span></a></li>
                <li <%=KSCMS.S("Type")=="2"?" class='active'":string.Empty %>><a href="KS.YunLiveRoom.Aspx?Type=2"><span>已审核</span></a></li>

            </ul>

            <KS:KSGV ID="ProListView" runat="server" AutoGenerateColumns="False" DataKeyNames="FieldID" GridLines="None"
            PagerType="CustomNumeric" OnRowCreated="ProListView_RowCreated" OnRowDataBound="ProListView_RowDataBound" OnRowCommand="ProListView_RowCommand"  Width="99%" EnableTheming="True" CssClass="CTable" EmptyDataText="没有记录!">
            <Columns>
            
               <asp:TemplateField HeaderText="&lt;input type='checkbox' name='chkall' id='chkall' onClick='CheckAll(this.form);'/&gt;">
                <itemstyle horizontalalign="Center" width="50px" />
                <itemtemplate>
                    <input type="checkbox"  name="ids" id="ids" value="<%#Eval("id") %>" />
                </itemtemplate>
              </asp:TemplateField>
          
              <asp:TemplateField HeaderText="标题">
                     <itemstyle horizontalalign="Center" width="50px" />
                <itemtemplate>
                   <%#Eval("title") %>
                </itemtemplate>
              </asp:TemplateField>
         
                
               <asp:TemplateField HeaderText="时间">
                <itemstyle horizontalalign="Center" width="150px" />
                <itemtemplate>
                  <%#Eval("adddate") %>                    
                </itemtemplate>
              </asp:TemplateField>

              

            </Columns>
            <HeaderStyle CssClass="CTitle" />
            <EmptyDataRowStyle CssClass="emptycss" />
        </KS:KSGV>
         <KS:Page ID="Page1" runat="server" />
           </div>
         </asp:Panel>
    <asp:Panel ID="Addlive" runat="server" Width="100%" Visible="false">

<div class="content-area">   
       <table width="99%" align="center" border="0" cellpadding="1" cellspacing="1" class="CTable">
    <tr>
                <td class="lefttd" height="30" align="right" style="width: 198px"><strong>标题：</strong></td>
                <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="TxtTitle" runat="server"></asp:TextBox>
                  
                </td>
            </tr>
               <tr>
                <td align="right" class="lefttd" height="30" style="width: 198px">
                    <strong><span style="background-color: #f0f9fe">类型</span>：</strong></td>
                <td class="righttd">
                    
                        <asp:DropDownList ID="LiveType" runat="server"  >

                        </asp:DropDownList>
                    </td>
            </tr>
            <tr>
                <td class="lefttd" height="30" align="right" style="width: 198px"><strong>APPID：</strong></td>
                <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="appid" runat="server"></asp:TextBox>
                  
                </td>
            </tr>
               <tr>
                <td class="lefttd" height="30" align="right" style="width: 198px"><strong>sercetkey：</strong></td>
                <td class="righttd">&nbsp;<asp:TextBox CssClass="textbox" ID="sercetkey" runat="server"></asp:TextBox>
                  
                </td>
            </tr>
            <tr>
                <td align="right" class="lefttd" height="30" style="width: 198px">
                    <strong>状态：</strong>
                </td>
                <td class="righttd">
                    <asp:RadioButtonList ID="RdbStatus" runat="server" RepeatDirection="horizontal">
                        <asp:ListItem Value="1" Selected="true">正常</asp:ListItem>
                        <asp:ListItem Value="0">停用</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            </table>
        <br />
        <KS:Foot ID="Foot1" runat="server" OnSubmit="Foot1_Submit"/>
        <script type="text/javascript">
            showtips('<span class="state"><strong>说明：</strong><br /></span>所有直播间由后台统一管理!');
        </script>
    </div>
  </asp:Panel>


</asp:Content>
