<%@ page language="C#" autoeventwireup="true" inherits="admin_ordinary_innerlinklist, 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>
<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_InnerLink";
	PageContent.Url = "innerlinklist.aspx?ord=" + Para("ord") + "&pn=@pagenumber@";
	PageContent.SQL=" select I_ID,I_Target,I_Name as _showhtml_name,I_URL,I_Title,I_Order,I_Type from Sys_InnerLink ";
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\"##Const.AddButton('innerlinkitem.aspx?ord=" + Para("ord") + "')## ##Const.DeleteButton()##	##Const.SearchButton('关键词','I_Name')## \")@@","<tr id='trhead'>@content@</tr>","<tr id='tr_@i_id@'>@content@</tr>");
	
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Const.RowToggleItem('@I_ID@')@@");
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
  PageContent.AddList("@@Const.PageOrderField('innerlinklist.aspx?ord=','I_ID','"+Para("ord")+"','ID')@@","<td>@I_ID@</td>");
  PageContent.AddList("@@Const.PageOrderField('innerlinklist.aspx?ord=','I_Name','"+Para("ord")+"','关键词名称')@@","<td>@_showhtml_name@</td>");
	PageContent.AddList("@@Const.PageOrderField('innerlinklist.aspx?ord=','I_URL','"+Para("ord")+"','目标链接')@@","<td><a href='@I_URL@' target='_blank'>@I_URL@</a></td>");
	PageContent.AddList("@@Const.PageOrderField('innerlinklist.aspx?ord=','I_Title','"+Para("ord")+"','链接描述')@@","<td>@I_Title@</td>");
	PageContent.AddList("@@Const.PageOrderField('innerlinklist.aspx?ord=','I_Type','"+Para("ord")+"','替换类型')@@","<td>@@Csharp.GetSelectValue('@I_Type@','0,自然|1,必须替换')@@</td>");
	PageContent.AddList("@@Const.PageOrderField('innerlinklist.aspx?ord=','I_Order','"+Para("ord")+"','优先级别')@@","<td>@I_Order@</td>");
	PageContent.AddList("@@Const.PageOrderField('innerlinklist.aspx?ord=','I_Target','"+Para("ord")+"','面向对象')@@","<td>@@Csharp.GetSelectValue('@I_Target@','0,用户|1,搜索引擎')@@</td>");
	
	PageContent.AddList("<td>&nbsp;</td>", "<td><a target='main' href='innerlinkitem.aspx?id=@I_ID@' class='edit'>编辑</a></td>");
	
%>
<uc1:pageContent ID="PageContent" runat="server" />
</body>
</html>   
