Backup/Discuz.Web/plugin/Spread/App_Code/CreditStrategy.cs

(开头部分) 6KB

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

using System;
using Discuz.Forum;

using System.Data;
using Discuz.Plugin.Spread.Config;
using Discuz.Web.Admin;

namespace Discuz.Plugin.Spread.Admin
{
#if NET1
	public class CreditStrategy : AdminPage
#else
    public partial class CreditStrategy : AdminPage
#endif
    {

#if NET1
		#region 控件声明
		protected System.Web.UI.HtmlControls.HtmlForm Form1;
		protected System.Web.UI.WebControls.Literal Literal1;
		protected Discuz.Control.TextBox txtTransferUrl;
		protected System.Web.UI.WebControls.Literal extcredits1name;
		protected Discuz.Control.TextBox extcredits1;
		protected System.Web.UI.WebControls.Literal extcredits2name;
		protected Discuz.Control.TextBox extcredits2;
		protected System.Web.UI.WebControls.Literal extcredits3name;
		protected Discuz.Control.TextBox extcredits3;
		protected System.Web.UI.WebControls.Literal extcredits4name;
		protected Discuz.Control.TextBox extcredits4;
		protected System.Web.UI.WebControls.Literal extcredits5name;
		protected Discuz.Control.TextBox extcredits5;
		protected System.Web.UI.WebControls.Literal extcredits6name;
		protected Discuz.Control.TextBox extcredits6;
		protected System.Web.UI.WebControls.Literal extcredits7name;
		protected Discuz.Control.TextBox extcredits7;
		protected System.Web.UI.WebControls.Literal extcredits8name;
		protected Discuz.Control.TextBox extcredits8;
		protected Discuz.Control.Button SaveInfo;
		protected Discuz.Control.Button DeleteSet;
		#endregion
#endif
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                LoadScoreInf();
            }
        }

        public void LoadScoreInf()
        {
            #region 加载积分策略信息

            Literal1.Text = "转向地址和推广积分策略";
            txtTransferUrl.Text = Spread.Config.SpreadConfigs.GetConfig().TransferUrl;

            string credits = Spread.Config.SpreadConfigs.GetConfig().SpreadCredits;
            if ((credits != "") && (credits != "0"))
            {
                string[] creditinf = credits.Split(',');
后面还有 147 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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