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

<!DOCTYPE html>

<html>
<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 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>

</td>
</tr>
<tr><td>
类别：<asp:DropDownList ID="kid" runat="server" DataValueField="id" DataTextField="name"></asp:DropDownList>
名称：  <asp:TextBox ID="name" runat="server" Width="200px"></asp:TextBox>
<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>

<tr><td>
ID:<asp:TextBox ID="id" runat="server" Width="80px"></asp:TextBox>
url：<asp:TextBox ID="url" runat="server" Width="200px"></asp:TextBox>

</td>
</tr>

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

<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><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("kid") %></td>
<td><a href="/dl/flist.aspx?id=<%#Eval("id") %>" target="_blank"> <%#Eval("name") %></a> </td>
<td><%#Eval("dtime","{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 %>