<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Category.aspx.cs" Inherits="FlashV1.Bask.Category" %>

<!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 runat="server">
    <title></title>
 <link href="Style/right.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1%"></td>
<td width="97%"></td>  
<td width="1%"></td>
</tr>

<tr><td></td><td>&nbsp;</td><td></td></tr>
<tr>
<td></td>
<td class="title"><label class="ico32_9"></label><span> 类别管理</span></td>
<td></td>
</tr>


<tr>
<td></td>
<td>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td  class="menu_top">
<div class="menu_top_1" ><label>类别管理</label><span>&nbsp;&nbsp;&nbsp;<a href="?id=" >返回上一级版块</a> </span><label class="menu_top_2_1"></label><span class="right"><a>power by kling</a></span> </div>
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">名称：</span><asp:TextBox ID="name" runat="server" Width="300px"></asp:TextBox> 
</td>
</tr>
<tr>
<td class="menu_midd">
   
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">keys：</span><asp:TextBox ID="keys" runat="server" Width="600px"></asp:TextBox>    
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">desc：</span><asp:TextBox ID="des" runat="server" Width="600px"></asp:TextBox>    
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">ID&排序：</span><asp:TextBox ID="id" runat="server" Width="30px" Enabled="false"></asp:TextBox>
<asp:TextBox ID="odx" runat="server" Width="80px" Text="0"></asp:TextBox>    
</td>
</tr>
<tr><td class="menu_midd">
<span class="menu_block" style="width:90px"></span>   
 <asp:Button ID="Button1" runat="server" Text=" 添 加 " CssClass="button1" onclick="Button1_Click" />&nbsp;&nbsp;
 <asp:Button ID="Button2" runat="server" Text=" 保 存 " CssClass="button1" onclick="Button2_Click" />&nbsp;&nbsp;

</td></tr>
<tr><td class="menu_foot"></td></tr>
</table>


</td>
<td></td>
</tr>

<tr><td></td><td>&nbsp;</td><td></td></tr>

<tr><td></td><td>

<table  class="data" width="100%" border="0" cellpadding="0" cellspacing="0">
<thead>
<tr>
<td><label>ID</label>&nbsp;<span class="right"><a ></a></span></td>
<td><label>名称</label></td>
<td><label>描述</label></td>
<td><label>排序</label></td>
<td><label>操作</label></td>
</tr>
</thead>
<asp:Repeater ID="rplist" runat="server">
<ItemTemplate>
<tr  class="<%#  Container.ItemIndex%2==0?"bg":"" %>">
<td><%# Eval("id")%></td>
<td><%#Eval("name") %></td>
<td><%#Eval("des") %></td>
<td><%#Eval("odx") %></td>
<td>
<asp:LinkButton ID="lbtn1" runat="server"  CommandArgument='<%# Eval("id") %>' OnCommand="lbtn_mod" CssClass="button">修改</asp:LinkButton> &nbsp;&nbsp;
<asp:LinkButton ID="lbtn2" runat="server"  CommandArgument='<%# Eval("id") %>' OnCommand="lbtn_del"  OnClientClick="return del();" CssClass="button1">删除</asp:LinkButton>   
</td>
</tr>
</ItemTemplate>
</asp:Repeater>

<tr class="bg"><td colspan="10">&nbsp;</td></tr>
</table>

</td><td></td></tr>

<tr><td></td><td>&nbsp;</td><td></td></tr>
</table>

    </form>
<%Response.WriteFile("_foot.inc"); %>
</body>
</html>
<%=JsStr %>