<%@ page language="C#" autoeventwireup="true" inherits="admin_getcontent_class, 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">
<link href="/admin/common/client.css" rel="stylesheet" type="text/css" />
<title>栏目页</title>
<style>
#divcls {
width:498px;
}
</style>
<script type="text/javascript" src="selectdata.js" charset="utf-8"></script>
<script type="text/javascript">

</script>
</head>
<body style="width:495px" scroll="no" class="mg3">
<div id="divcls">
导航：<a href="class.aspx?pid=0&tp=<%=Para("tp")%>&nid=<%=Para("nid")%>">栏目内容管理</a> &gt;<%=WebCode.UserClass.GetInstance().GetPathString(Para("pid"),"<a href='class.aspx?pid=@id@&nid="+Para("nid")+"&tp="+Para("tp")+"' target='_self'>@name@</a>")%> 
<hr size="1" />
栏目：<%=GetClass()%>
<hr  size="1" />
<%
	PageContent.Table ="User_Content";
	PageContent.PageSize=10;
	PageContent.Url = "class.aspx?pid=" + Para("pid") + "&tp="+Para("tp")+"&nid="+Para("nid")+"&ord=" + Para("ord") + "&pn=@pagenumber@";
	
	string s_type="";
	if(Para("tp")!="5")
		s_type=" and C_Type="+Para("tp");
	
	PageContent.SQL="select C_ID,C_Url,C_Title,C_Click,C_Update,C_status,C_cid,C_Type from User_Content  where not c_id in ("+Para("nid")+") "+s_type+" and C_cid="+Para("pid")+"   ";
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\" \")@@","<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('class.aspx?pid=" + Para("pid") + "&nid="+Para("nid")+"&tp="+Para("tp")+"&ord=','C_Title','" + Para("ord") + "','标题')@@", "<td><a target='_blank' id='ahr@c_ID@' href='@c_url@'>@C_Title@</a></td>");
  PageContent.AddList("@@Const.PageOrderField('class.aspx?pid=" + Para("pid") + "&nid="+Para("nid")+"&tp="+Para("tp")+"&ord=','C_Click','" + Para("ord") + "','查看次数')@@","<td>@C_Click@</td>");
	
%>
<uc1:pageContent ID="PageContent" runat="server" />
</div>
</body>
</html>   



