DTcms.Web.Plugin.Link/DTcms.Web.Plugin.Link.admin/index.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using DTcms.Common;
using DTcms.Web.Plugin.Link.BLL;
using DTcms.Web.Plugin.Link.Model;
using DTcms.Web.UI;
using System;
using System.Text;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
namespace DTcms.Web.Plugin.Link.admin
{
public class index : ManagePage
{
protected int totalCount;
protected int page;
protected int pageSize;
protected string keywords = string.Empty;
protected HtmlForm form1;
protected LinkButton lbtnSave;
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_link", DTEnums.ActionEnum.View.ToString());
this.RptBind("id>0" + this.CombSqlTxt(this.keywords), "sort_id asc,add_time desc");
}
}
private void RptBind(string _strWhere, string _orderby)
{
this.page = DTRequest.GetQueryInt("page", 1);
this.txtKeywords.Text = this.keywords;
DTcms.Web.Plugin.Link.BLL.link bll = new DTcms.Web.Plugin.Link.BLL.link();
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[]
{
后面还有 166 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。