<%@ page language="C#" autoeventwireup="true" inherits="admin_manage_urlrewritelist, 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_UrlRewriter";
	PageContent.Action="";//本页处理
	PageContent.Url = "urlrewritelist.aspx?ord=" + Para("ord") + "&pn=@pagenumber@";
	PageContent.SQL="select U_Id,U_Name,U_Pattern,U_Target,U_Cache,U_Class,U_Table,U_Order from Sys_UrlRewriter";
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\"##Const.AddButton('urlrewriteitem.aspx?ord=" + Para("ord") + "')## ##Const.DeleteButton()##	##Const.SearchButton('重定向说明','U_Name')##\")@@","<tr id='trhead'>@content@</tr>","<tr id='tr_@U_Id@'>@content@</tr>");
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Csharp.GetBooleanValue('@U_Class@','!0','<td>&nbsp;</td>','##Const.RowToggleItem(\"@U_Id@\")##')@@");
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
	PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Id','" + Para("ord") + "','ID')@@","<td>@U_id@</td>");
  PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Name','" + Para("ord") + "','重定向说明')@@", "<td>@U_Name@</td>");
	PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Pattern','"+Para("ord")+"','正则表达式')@@","<td>@U_Pattern@</td>");
	PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Target','"+Para("ord")+"','目标位置')@@","<td>@U_Target@</td>");
	PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Cache','"+Para("ord")+"','缓存位置')@@","<td>@U_Cache@</td>");
	PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Table','"+Para("ord")+"','对应的表')@@","<td>@U_Table@</td>");
	PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Order','"+Para("ord")+"','排序')@@","<td>@U_Order@</td>");
	//PageContent.AddList("@@Const.PageOrderField('urlrewritelist.aspx?ord=','U_Class','"+Para("ord")+"','重定向类型')@@","<td>@@Csharp.GetSelectValue('@U_Class@','目录系统级,内容系统级,自定义')@@</td>");
	PageContent.AddList("<td> </td>","<td><a target='main' href='urlrewriteitem.aspx?id=@U_Id@' class='edit'>编辑</a></td>");
%>
<uc1:pageContent ID="PageContent" runat="server" />
</body>
</html>   
