<%@ page language="C#" autoeventwireup="true" inherits="admin_class_allclass, 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" src="contentlist.js" charset="utf-8"></script>
<!--#include file="keydensity.inc" -->
</head>
<body class="mg3" onload="LoadBody()">
<div style="height:25px;">
<span ><a href="search.aspx?ord=C_ID desc" >全部内容</a>&nbsp;</span>
</div>
<%
	PageContent.Table="User_Class";
	PageContent.Url = "allclass.aspx?pid=" + Para("pid") + "&ord=" + Para("ord") + "&pn=@pagenumber@";
	PageContent.SQL="select C_Density as _density_showhtml,C_Repeat,C_Url,c_id,C_Name,c_order,C_ParentID,(select count(*) from user_class a where a.c_parentid=b.c_id) as cnt from User_Class b  where 1=1  ";
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\" ##Const.AddButton('classitem.aspx?toclass=1&ord=" + Para("ord") + "')## ##Const.DeleteButton()## ##Const.SearchButton('分类名称','C_Name')##	<img id='imgall'  onclick='ShowAllDesity()' src='/admin/images/plusBox.gif' />关键词密度\")@@  ","<tr>@content@</tr>","<tr id='tr_@c_id@'>@content@</tr>");
	PageContent.Action="";//本页处理
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Const.RowToggleItem('@C_ID@')@@");
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
    PageContent.AddList("@@Const.PageOrderField('allclass.aspx?pid=" + Para("pid") + "&ord=','C_ParentID','" + Para("ord") + "','所在分类')@@", "<td>@CName@</td>");
	PageContent.AddList("@@Const.PageOrderField('allclass.aspx?pid=" + Para("pid") + "&ord=','C_ID','" + Para("ord") + "','ID')@@","<td>@c_id@</td>");
  PageContent.AddList("@@Const.PageOrderField('allclass.aspx?pid=" + Para("pid") + "&ord=','C_Name','" + Para("ord") + "','分类名称')@@", "<td><a  href='classitem.aspx?pid=@C_ParentID@&id=@c_id@'>@C_Name@</a></td>");
  PageContent.AddList("@@Const.PageOrderField('allclass.aspx?pid=" + Para("pid") + "&ord=','C_Url','" + Para("ord") + "','页面地址')@@","<td><a target='_blank' href='@C_Url@'>@C_Url@</a></td>");
	PageContent.AddList("@@Const.PageOrderField('allclass.aspx?pid=" + Para("pid") + "&ord=','c_order','"+Para("ord")+"','排序')@@","<td>@c_order@</td>");
	PageContent.AddList("<td>子分类数量</td>","<td>@cnt@</td>");
	PageContent.AddList("<td>关键词密度</td>","<td>@@Csharp.GetKeyDensity(\"@c_id@\",\"@_density_showhtml@\")@@</td>");
	PageContent.AddList("@@Const.PageOrderField('allclass.aspx?cid=" + Para("cid") + "&ord=','C_Repeat','" + Para("ord") + "','重复')@@", "<td>@@Csharp.GetSelectValue('@C_Repeat@',' ,重复')@@</td>");
%>
<uc1:pageContent ID="PageContent" runat="server" />

</body>
</html>   

