<%@ page language="C#" autoeventwireup="true" inherits="admin_search_relationkeyslist, 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" />
<script type="text/javascript" >
</script>
</head>
<body class="mg3">
<%
	PageContent.ImagePageBar=true;
  PageContent.Table="Sys_RelationKeys";
	PageContent.Url = "relationkeyslist.aspx?ord=" + Para("ord") + "&pn=@pagenumber@";
	PageContent.SQL="select R_Type,R_ID,R_Keys as _showhtml_key,R_Relation as _showhtml_relation from Sys_RelationKeys ";
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\"##Const.AddButton('relationkeysitem.aspx?ord=" + Para("ord") + "')## ##Const.DeleteButton()##	 ##Const.SearchButton('关键词','R_Keys')## \")@@","<tr id='trhead'>@content@</tr>","<tr id='tr_@R_ID@'>@content@</tr>");
	PageContent.Action="";//本页处理
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Const.RowToggleItem('@R_ID@')@@");
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
  PageContent.AddList("@@Const.PageOrderField('relationkeyslist.aspx?ord=','R_Keys','" + Para("ord") + "','关键词')@@", "<td>@@Csharp.GetSearchKey('@_showhtml_key@','/search.aspx?man=1&tp=5&wd=@key@')@@</td>");
  PageContent.AddList("@@Const.PageOrderField('relationkeyslist.aspx?ord=','R_Relation','" + Para("ord") + "','相关词')@@", "<td>@_showhtml_relation@</td>");
  
  PageContent.AddList("@@Const.PageOrderField('relationkeyslist.aspx?ord=','R_Type','"+Para("ord")+"','相关类型')@@","<td>@@Csharp.GetSelectValue('@R_Type@','0,单向相关|1,互为相关')@@</td>");
	
  PageContent.AddList("<td></td>","<td><a target='main' href='relationkeysitem.aspx?id=@R_ID@' class='edit'>编辑</a></td>");
%>
<uc1:pageContent ID="PageContent" runat="server" />
</body>
</html>   

