DTcms.Web.Plugin.Feedback/DTcms.Web.Plugin.Feedback.admin/index.cs

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using DTcms.Common;
using DTcms.Web.Plugin.Feedback.BLL;
using DTcms.Web.UI;
using System;
using System.Text;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace DTcms.Web.Plugin.Feedback.admin
{
	public class index : ManagePage
	{
		protected int totalCount;

		protected int page;

		protected int pageSize;

		protected string keywords = string.Empty;

		protected HtmlForm form1;

		protected LinkButton lbtnUnLock;

		protected LinkButton lbtnDelete;

		protected TextBox txtKeywords;

		protected LinkButton lbtnSearch;

		protected Repeater rptList;

		protected TextBox txtPageNum;

		protected HtmlGenericControl PageContent;

		protected void Page_Load(object sender, EventArgs e)
		{
			this.keywords = DTRequest.GetQueryString("keywords");
			this.pageSize = this.GetPageSize(10);
			if (!this.Page.IsPostBack)
			{
				base.ChkAdminLevel("plugin_feedback", DTEnums.ActionEnum.View.ToString());
				this.RptBind("id>0" + this.CombSqlTxt(this.keywords), "is_lock desc,add_time desc");
			}
		}

		private void RptBind(string _strWhere, string _orderby)
		{
			if (!int.TryParse(base.Request.QueryString["page"], out this.page))
			{
				this.page = 1;
			}
			this.txtKeywords.Text = this.keywords;
			DTcms.Web.Plugin.Feedback.BLL.feedback bll = new DTcms.Web.Plugin.Feedback.BLL.feedback();
			this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _orderby, out this.totalCount);
			this.rptList.DataBind();
			this.txtPageNum.Text = this.pageSize.ToString();
			string pageUrl = Utils.CombUrlTxt("index.aspx", "keywords={0}&page={1}", new string[]
			{
后面还有 128 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。