<%@ page language="C#" autoeventwireup="true" inherits="admin_adminclass, shazhiqiu_taoke_free" %>
<!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>
    <script language="javascript" type="text/javascript">
function Cbg(obj, objColor)
{
obj.style.backgroundColor=objColor
}
</script>
<link href="images/skin.css" rel="stylesheet" type="text/css" />
      <script src="fenye.js" type="text/javascript"></script> 

</head>
<body>
    <form id="form1" runat="server">
      <div class="divtext">
    <div class="righttitle"><img src="images/biaoti.png" /> 管理分类</div>
          <table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" style="margin-top:10px;" border="0">
    <tr>
<td class="tablexianbg">
        选择网站：<asp:DropDownList ID="classid0" runat="server" AutoPostBack="True" OnSelectedIndexChanged="classid0_SelectedIndexChanged">
             </asp:DropDownList>
        </td>
</tr>
</table>
<asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand" OnItemCreated="Repeater1_ItemCreated">
<HeaderTemplate>
<table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" border="0">
<tr>
<td align="center" style="width:80px;" class="tablexianbg"></td>
<td align="center"  class="tablexianbg">分类名</td>
<td align="center"  class="tablexianbg">网站</td>
<td align="center"  class="tablexianbg">分类类型</td>
<td align="center"  class="tablexianbg">keywords</td>
<td align="center"  class="tablexianbg">description</td>
<td align="center"  class="tablexianbg">排序号</td>
    <td align="center"  class="tablexianbg">修改</td>
<td align="center"  class="tablexianbg">删除</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr onmouseover="Cbg(this, 'F2F2F2')" onmouseout="Cbg(this, 'ffffff')">
<td align="center"><asp:Label ID="classpic" runat="server"></asp:Label><input id="classid" type="hidden" runat="server" value='<%# Eval("classid") %>' /><input id="classpic1" type="hidden" runat="server" value='<%# Eval("classpic") %>' /></td>
<td align="center"><input id="classname1" class="hui" value='<%# Eval("classname")%>'  style="text-align:center;" size="15" runat="server"/></td>
<td align="center"><input id="siteurl1" class="hui" value='<%# Eval("siteurl")%>'  style="text-align:center;" size="10" runat="server"/></td>
<td align="center"><input id="classfather1" class="hui" value='<%# Eval("classfather")%>' maxlength="5" size="5" style="text-align:center;" runat="server"/></td>
<td align="center"><input id="classkeywords1" class="hui" runat="server" value='<%# Eval("classkeywords")%>' maxlength="50" size="25" /></td>
<td align="center"><textarea id="classdescription1" class="hui" rows="2" cols="30" runat="server" value='<%# Eval("classdescription")%>'></textarea></td>
<td align="center"><input id="classorder1" class="hui" value='<%# Eval("classorder")%>' maxlength="5" size="3" style="text-align:center;" runat="server"/></td>
<td align="center"><asp:Button ID="edit" runat="server" CommandArgument='<%# Eval("classid")%>' CssClass="button" CommandName="editcmd" Text="修改" /></td>

<td align="center"><asp:Button ID="del" runat="server" CommandArgument='<%# Eval("classid")%>' CssClass="button" CommandName="delcmd" Text="删除" /></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>  
</FooterTemplate>
</asp:Repeater>
<table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" style="margin-top:10px;" border="0">
    <tr><td align="left">
    <asp:Label ID="fenye" runat="server"></asp:Label></td></tr>
<tr>
<td>
    <input id="Submit1" runat="server" class="button" onserverclick="Submit1_ServerClick"
        type="submit" value=" 修改" /></td>
</tr>
</table>
    </div>

    </form>
</body>
</html>
