<%@ page language="C#" autoeventwireup="true" inherits="admin_search_favouritelist, localhost_deploy" %>
<%@ Register Src="../../common/pageContent.ascx" TagName="pageContent" TagPrefix="uc1" %>
<!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="/admin/common/client.css" rel="stylesheet" type="text/css" />

</head>
<body class="mg3">

<form >
<select  name="class" id="class">
		<option value="">全部</option>
		<%=ts.TranslateAll("@@Csharp.GetOptionByConst('##Const.InformationType()##')@@")%>
		</select>
		<input type="submit" class="button" value="过滤" />
</form>		

<%
	PageContent.ImagePageBar=true;
  PageContent.Table="sys_Favourite";
	PageContent.Url = "favouritelist.aspx?ord=" + Para("ord") + "&pn=@pagenumber@";
	PageContent.SQL="select F_ID,F_Type,F_Name,F_Href,F_Time,F_Class from sys_Favourite where "+GetWhere();
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\" ##Const.DeleteButton()## \")@@  ","<tr id='trhead'>@content@</tr>","<tr id='tr_@F_id@'>@content@</tr>");
	
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Const.RowToggleItem('@F_ID@')@@");
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
	//PageContent.AddList("@@Const.PageOrderField('favouritelist.aspx?ord=','F_ID','" + Para("ord") + "','ID')@@","<td>@F_id@</td>");
  PageContent.AddList("@@Const.PageOrderField('favouritelist.aspx?ord=','F_Name','" + Para("ord") + "','网页标题')@@", "<td><a target='_blank' href='@F_Href@'>@F_Name@</a></td>");
  PageContent.AddList("@@Const.PageOrderField('favouritelist.aspx?ord=','F_Type','" + Para("ord") + "','采集类型')@@","<td>@@Csharp.GetSelectValue('@F_Type@','##Const.CollectionType()##')@@</td>");
  PageContent.AddList("@@Const.PageOrderField('favouritelist.aspx?ord=','F_Class','" + Para("ord") + "','分类')@@","<td>@@Csharp.GetSelectValue('@F_Class@','##Const.InformationType()##')@@</td>");
  PageContent.AddList("@@Const.PageOrderField('favouritelist.aspx?ord=','F_Time','" + Para("ord") + "','更新时间')@@","<td>@F_Time@</td>");
  
%>
<uc1:pageContent ID="PageContent" runat="server" />
<script type="text/javascript" >
$('class').value="<%=Para("class")%>";
</script>
</body>
</html>   
