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

<!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" />
    <script src="js/bask.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input type="hidden" id="linkHtml" name="linkHtml" value="" />
  <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_6"></label><span>帖子管理</span></td>
<td></td>
</tr>

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

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;&nbsp;&nbsp;<span><a href="">全部贴子(1)</a> | <a href="FListADM.aspx?d=a" target="_blank">添加新资源</a> </span>
<span class="right">
</span>
</td>
</tr>
<tr><td>&nbsp;&nbsp;
类别：<asp:DropDownList ID="kid" runat="server" DataValueField="id" DataTextField="name"></asp:DropDownList>

</td>
</tr>
<tr><td>&nbsp;&nbsp;
名称：  <asp:TextBox ID="name" runat="server" Width="200px"></asp:TextBox>
ircmd:<asp:TextBox ID="ircmd" runat="server" Width="50px"></asp:TextBox>
</td>
</tr>
<tr><td>&nbsp;&nbsp;
url： <asp:TextBox ID="url" runat="server" Width="300px"></asp:TextBox>
Odx： <asp:TextBox ID="odx" runat="server" Width="50px"></asp:TextBox>ID:
<asp:TextBox ID="id" runat="server" Width="20px" Enabled="false"></asp:TextBox>
</td>
</tr>
<tr><td>


<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" Visible="false" />&nbsp;&nbsp;
<asp:Button ID="Button3" runat="server" Text=" 保 存 " CssClass="button1" onclick="Button3_Click"  Visible="false"/>&nbsp;&nbsp;
</td>
</tr>
</table>

</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>Url</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("kid") %></td>
<td><a href="/dl/flist.aspx?id=<%#Eval("id") %>" target="_blank"> <%#Eval("name") %></a> </td>
<td></td>
<td><%#Eval("atime","{0:yyyy-M-d}") %></td>
<td><%#Eval("utime","{0:yyyy-M-d}") %></td>
<td>
<a href="FListADM.aspx?d=m&id=<%# Eval("id") %>" target="_blank" Class="button">修改</a> &nbsp;&nbsp;
<asp:LinkButton ID="lbtn1" runat="server"  CommandArgument='<%# Eval("id") %>' OnCommand="lbtn_mod" CssClass="button" Visible="false">修改</asp:LinkButton> &nbsp;&nbsp;
<asp:LinkButton ID="lbtn2" runat="server"  CommandArgument='<%# Eval("id") %>' OnCommand="lbtn_del"  OnClientClick="return del();" CssClass="button1">删除</asp:LinkButton>   &nbsp;&nbsp;
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr>
<td class="bg page" colspan="10"> 
 <em><%=PgEm %></em>
    <%= PgNo %>
    <kbd>
        <input name="custompage" onkeydown="if(event.keyCode==13) {OnSub(this.value); return false;}" type="text" size="5"/>       
    </kbd>
</td>
</tr>
<tr class="bg"><td colspan="10"></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 %>