Web/Admin/Reviews/List.aspx.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.IO;
using System.Text;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Common;
namespace Web.Admin.Reviews
{
public partial class List : Web.UI.ManagePage
{
public int pcount; //总条数
public int page; //当前页
public int pagesize; //设置每页显示的大小
public int kindId;
public int parentId;
public string keywords = "";
public string property = "";
protected void Page_Load(object sender, EventArgs e)
{
this.pagesize = webset.ContentPageNum;
if (!int.TryParse(Request.Params["kindId"] as string, out this.kindId))
{
this.kindId = -1;
}
if (!int.TryParse(Request.Params["parentId"] as string, out this.parentId))
{
this.parentId = 0;
}
if (!string.IsNullOrEmpty(Request.Params["keywords"]))
{
this.keywords = Request.Params["keywords"].Trim();
}
if (!string.IsNullOrEmpty(Request.Params["property"]))
{
this.property = Request.Params["property"].Trim();
}
if (!Page.IsPostBack)
{
chkLoginLevel("viewReviews");
TreeBind();
RptBind("Id>0" + CombPlSqlTxt(this.kindId, this.parentId, this.keywords, this.property), "AddTime desc");
}
}
#region 查找归类标题
protected string ViewKind(int _kindId)
{
switch (_kindId)
{
case (int)Channel.Article:
return "资讯模块";
break;
case (int)Channel.Pictures:
后面还有 167 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。