<%@ page language="C#" autoeventwireup="true" inherits="admin_search_searchinfolist, 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">
<%
	PageContent.ImagePageBar=true;
  PageContent.Table="Sys_SearchInfo";
	PageContent.Url = "searchinfolist.aspx?ord=" + Para("ord") + "&pn=@pagenumber@";
	PageContent.SQL=" select S_ID,S_CID,S_Count,C_Title from Sys_SearchInfo,user_content where C_ID=S_CID  ";
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\" ##Const.AddButton('searchinfoitem.aspx?ord=" + Para("ord") + "')## ##Const.DeleteButton()## ##Const.SearchButton('内容标题','C_Title')##	\")@@","<tr id='trhead'>@content@</tr>","<tr id='tr_@s_id@'>@content@</tr>");
	//PageContent.Action="";//本页处理
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Const.RowToggleItem('@S_ID@')@@");
	
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
	
	PageContent.AddList("@@Const.PageOrderField('searchinfolist.aspx?ord=','S_CID','"+Para("ord")+"','信息ID')@@","<td>@S_CID@</td>");
	PageContent.AddList("@@Const.PageOrderField('searchinfolist.aspx?ord=','C_Title','" + Para("ord") + "','内容标题')@@", "<td>@C_Title@</td>");
  PageContent.AddList("@@Const.PageOrderField('searchinfolist.aspx?ord=','S_Count','" + Para("ord") + "','信息数量')@@", "<td>@S_Count@</td>");
	
	PageContent.AddList("<td> </td>","<td><a target='main' href='searchinfoitem.aspx?id=@S_id@' class='edit'>编辑</a></td>");
	
%>
<uc1:pageContent ID="PageContent" runat="server" />
<script type="text/javascript" >

</script>
</body>
</html>   
