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

<!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_4"></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="/" target="_blank">预览</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">根据填入的内容生成一个静态页面，保存在/IRCmd/list/目录下！<b><a>如果你不清楚操作，可以不使用此项功能！</a></b></td></tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">Title：</span><asp:TextBox ID="title" runat="server" Width="300px"></asp:TextBox>    
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">keys：</span><asp:TextBox ID="keys" runat="server" Width="400px"></asp:TextBox>    
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">des：</span>
  <asp:TextBox ID="des" runat="server" Width="400px"></asp:TextBox> 
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">ids：</span>
  <asp:TextBox ID="ids" runat="server" Width="600px"></asp:TextBox> 
</td>
</tr>
<tr>
<td class="menu_midd">
<span class="menu_block" style="width:90px">filename：</span>
  <asp:TextBox ID="filename" runat="server" Width="100px"></asp:TextBox> 
  utime:<asp:TextBox ID="utime" runat="server" Width="100px" ></asp:TextBox>
  cre: <asp:TextBox ID="cre" runat="server" Width="20px" Text="0"></asp:TextBox>   
 id:<asp:TextBox ID="id" runat="server" Width="20px" ></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>keys</label></td>
<td><label>filename</label></td>
<td><label>cre</label></td>
<td><label>操作</label></td>

</tr>
</thead>
<asp:Repeater ID="rplist" runat="server">
<ItemTemplate> 
<tr  class="<%# k++%2==0?"bg":"" %>">
<td><%#Eval("id") %></td>
<td><a href="/ircmd/rcmd.aspx?id=<%# Eval("id") %>" target="_blank"><%# Eval("title") %></a></td>
<td><%#Eval("keys") %></td>
<td><%#Eval("filename") %></td>
<td><%#Eval("cre") %></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>  &nbsp;&nbsp;
<asp:LinkButton ID="LinkButton1" runat="server"  CommandArgument='<%# Eval("id") %>' OnCommand="lbtn_Gen" CssClass="button">生成静态页面</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 %>