<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="channel.aspx.cs" Inherits="Kcms.UI.admin.channel" %>
<%@ Register assembly="PageNavigator" namespace="KcNavigator" tagprefix="Kc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="skins/work-style.css" rel="stylesheet" type="text/css" />
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form2" runat="server">
<div class="container">
 <div class="path clearfix"><div class="l"><h4><img src="skins/icon/searchsentre_summ.gif" align="absmiddle" />频道管理</h4></div><div class="r"><asp:Literal ID="litAdv" runat="server"></asp:Literal></div></div>
 <div class="mbox clearfix">
  <div class="left">
   <a href="channel.aspx" class="on">频道列表</a>
   <a href="channelEdit.aspx">频道设置</a>
  </div>
  <div class="right">
<script type="text/javascript">
    function CheckAll(form) {
        for (var i = 0; i < form.elements.length; i++) {
            var e = form.elements[i];
            if (e.name.indexOf('chkbox') != -1)
                e.checked = form.chkall.checked;
        }
    }
</script>
<table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr class="title">
  <td align="center" width="5%"><input id="chkall" onclick="CheckAll(form)" type="checkbox" title="全选/全不选"/></td>
  <td align="center">频道名称</td>
  <td align="center">排序</td>
  <td align="center">操作</td>
</tr>
    <asp:Repeater ID="rptList" runat="server" onitemcommand="rptList_ItemCommand">
    <ItemTemplate>
<tr onMouseOver="this.className='over'" onMouseOut="this.className=''">
    <asp:HiddenField ID="hidId" Value='<%#Eval("id") %>' runat="server" />
  <td align="center"><asp:CheckBox ID="chkbox" runat="server"/></td>
  <td><%#Eval("channelname") %></td>
  <td align="center"><asp:TextBox ID="txtSort" runat="server" Text='<%#Eval("sort") %>' Columns="3" onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled"></asp:TextBox></td>
  <td align="center">
            <asp:LinkButton ID="btnEdit" CommandName="edit" runat="server">设置</asp:LinkButton> 
            | 
            <asp:LinkButton ID="btnDel" CommandName="del" runat="server" OnClientClick="return confirm('确认删除？');">删除?</asp:LinkButton> 
  </td>
</tr>
    </ItemTemplate>
    </asp:Repeater>
</table>
<div class="handle"><asp:Button ID="Button1" runat="server" Text="排序所选" onclick="Button1_Click" /></div>
<Kc:PageNavigator ID="PageNavigator1" runat="server" CssClass="pager" onchangepageclick="PageNavigator1_ChangePageClick" />
  </div>
 </div>
</div>
</form>
</body>
</html>