LK.Shop.Web/Manager/Ads/OrtherAds.aspx.cs

(开头部分) 6KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LK.Shop.Web.PageBase;
using LK.Shop.Model;
using LK.Shop.BLL;
using LK.Shop.Common;
using System.Data;

namespace LK.Shop.Web.Manager.Ads
{
    public partial class OrtherAds : ManagerPageBase
    {
        LK.Shop.BLL.GoodsCategory categoryBll = new BLL.GoodsCategory();
        LK.Shop.Model.GoodsCategory categoryModel = new Model.GoodsCategory();
        LK.Shop.Model.GoodsCategory categoryEditModel = new Model.GoodsCategory();
        LK.Shop.BLL.ChannelInfo channelBll = new BLL.ChannelInfo();

        LK.Shop.BLL.IndexAds adsBll = new BLL.IndexAds();
        LK.Shop.Model.IndexAds adsModel = new Model.IndexAds();
        private string vNavInfo = "当前位置:";
        private string vAct = "";
        private int vID = 0;
        private int vEditID = 0;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["Types"] != null && Request.QueryString["Types"].Trim() != "")
            {
                vAct = Request.QueryString["Types"].Trim();
            }
            else
            {
                vAct = "1";
            }
            if (!IsPostBack)
            {

                switch (vAct)
                {
                    case "5":
                        if (base.managerPrivilege.IndexOf("30") < 0)
                        {
                            Response.Redirect("../NoPri.aspx");
                            Response.End();
                        }
                        this.navInfoID.InnerText = vNavInfo + "首页顶部广告";
                        break;
                    case "6":
                        if (base.managerPrivilege.IndexOf("31") < 0)
                        {
                            Response.Redirect("../NoPri.aspx");
                            Response.End();
                        }
                        this.navInfoID.InnerText = vNavInfo + "首页中部广告";
                        break;
                    case "7":
后面还有 122 行代码,购买后查看完整代码

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

AI 解读

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

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