
<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master"  AutoEventWireup="true" Title="成绩排名" Inherits="Admin_Exam_KS_SJweiXing"  Codebehind="KS.SJweiXin.aspx.cs" %>

<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.Publics" %>
<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>
           <li id='p1'><asp:LinkButton ID="LinkButton2" runat="server" OnClick="addclassbutton_Click"><b></b>添加</asp:LinkButton></li>
           <li id='p3'><asp:LinkButton ID="LinkButton4" runat="server" OnClick="delclassbutton_Click"><b></b>删除</asp:LinkButton></li></ul>
        </div>  
        <div class="menu_top_fixed_height"></div>  
 <div class="content-area"> 
 	<div class="myTitle">公从号账号管理</div>      
    <KS:ksgv id="List" cssclass="CTable" runat="server" AutoGenerateColumns="False" EmptyDataText="没有添加任何试卷类别!" PagerType="CustomNumeric" Width="99%" GridLines="None" OnRowDataBound="List_RowDataBound" OnRowCommand="List_RowCommand" OnRowCreated="List_RowCreated">
        <Columns>
         <asp:TemplateField HeaderText="选择">
                <itemstyle horizontalalign="Center" width="50px" />
                <itemtemplate>
                <input type="checkbox"  name="ids" id="ids" value="<%#Eval("id") %>" />
                </itemtemplate>
            </asp:TemplateField>
         
            <asp:BoundField HeaderText="名称" DataField="Name"  >
                <itemstyle width="80px" Height="30px" horizontalalign="Center" />
            </asp:BoundField>
            <asp:BoundField HeaderText="应用id" DataField="appid">
                <itemstyle width="120px" verticalalign="Middle"  horizontalalign="Center"/>
            </asp:BoundField>
            <asp:BoundField HeaderText="应用key" DataField="appkey">
                <itemstyle width="120px" verticalalign="Middle"  horizontalalign="Center"/>
            </asp:BoundField>
           <asp:BoundField HeaderText="是否默认" DataField="IsDefault">
                <itemstyle width="120px" verticalalign="Middle"  horizontalalign="Center"/>
            </asp:BoundField>
            <asp:TemplateField HeaderText="编辑">
              <itemstyle width="30px" horizontalalign="Center"/>
              <itemtemplate>
             <asp:LinkButton ID="LinkButton1" CssClass="edit" ToolTip="编辑" runat="server" commandargument=<%#Eval("id") %> commandname="modify"></asp:LinkButton>
              </itemtemplate>
             </asp:TemplateField>
            <asp:TemplateField HeaderText="删除">
                <itemstyle width="30px" horizontalalign="Center" />
             <itemtemplate>
             <asp:LinkButton runat="server" CssClass="delete" ToolTip="删除" id="delete" commandargument=<%#Eval("id") %> commandname="del"></asp:LinkButton>
            </itemtemplate>
            </asp:TemplateField>
        </Columns>
        <HeaderStyle CssClass="CTitle" />
        <EmptyDataRowStyle CssClass="emptycss" />
       
    </KS:ksgv>
 <KS:Page ID="Page1" runat="server" />
       <asp:Panel ID="Panel1" runat="server" Height="30px" Width="100%">
                <br />
        <script type="text/javascript">
            showtips('<span class="state"><strong>操作说明：</strong><br /></span>一旦建立，建议尽量少改动。最好不要删除操作以免微信无法关联。');
		</script>

            </asp:Panel>
</asp:Panel>


     <asp:Panel ID="AddPanel" runat="server"  Width="100%" Visible="false">
    <KS:TopNav ID="TopNav1" runat="server" Text="添加公众号" />
<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"><b>应用/公众号名称：</b></td>
            <td class="righttd">
                &nbsp;<asp:TextBox CssClass="textbox" ID="TypeName" runat="server" Width="203px"></asp:TextBox>
            
                   如bakd@qq.com</td>
        </tr>
                 <tr>
            <td class="lefttd" height="30" align="right" style="width: 198px"><b>APPID：</b></td>
            <td class="righttd">
                &nbsp;<asp:TextBox CssClass="textbox" ID="APP_id" runat="server" Width="203px"></asp:TextBox>
            
                   如APPID</td>
        </tr>
         <tr>
            <td class="lefttd" height="30" align="right" style="width: 198px"><b>APPKEY：</b></td>
            <td class="righttd">
                &nbsp;<asp:TextBox CssClass="textbox" ID="APP_key" runat="server" Width="203px"></asp:TextBox>
            
                   APPKEY</td>
        </tr>
        <tr>
            <td align="right" class="lefttd" height="30" style="width: 198px">
                <strong>是否默认：</strong></td>
            <td class="righttd">
                <asp:RadioButtonList ID="IsDefault" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">是</asp:ListItem>
                    <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                </asp:RadioButtonList></td>
        </tr>       
       
      </table>
      <br />
        <KS:Foot ID="Foot1" runat="server" OnSubmit="Foot1_Submit" />
      </div>
    </asp:Panel>
    </div>
   

  </asp:Content>