EasyShop/ProductTeam.aspx.cs

(开头部分) 5KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyModels;
using System.Data;
using conn;
using Common;
using ExeSql;


namespace EasyShop
{
    public partial class ProductTeam : Base_Page
    {
        public string strUserName = "";
        public string strLoginReg = "";
        public string strHotSearch = "";
        public string strLeftMenu = "";
        public string strShowTitle = string.Empty;
        public string strBanner = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {
            Load_Data();
            string gid = Common.GetMes.GetRequestQuery(Request, "tp");
            strShowTitle = "每日团购";
            if (!string.IsNullOrEmpty(gid))
            {
                strShowTitle = "秒杀专区";
            }
            strLeftMenu = GetLeftMenuList();
            strUserName = Page.User.Identity.Name;
            if (!string.IsNullOrEmpty(strUserName))
            {
                strLoginReg = "<span class=\"c_r\"><a href=\"/MyMember/Member_Center.aspx\">" + strUserName + "</a></span>&nbsp;&nbsp;你好,欢迎来到<span class=\"c_r\">易游</span>";//376991187 
            }
            else
            {
                strLoginReg = "<span class=\"c_r\">游客</span>&nbsp;&nbsp;你好,欢迎来到<span class=\"c_r\">易游</span><span>[<a href=\"login.aspx\">登录</a>]&nbsp;[<a href=\"register.aspx\">免费注册</a>]</span>";// 
            }
            if (!IsPostBack)
            {
                strHotSearch = GetHotSearch();
                Get_Ad_Right();
            }
            if (!IsPostBack)
            {
                web_otherInfo_Ext woe = new web_otherInfo_Ext();
                DataSet ds = woe.GetList(" and Type=3");
                for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                {
                    string linkurl = ds.Tables[0].Rows[i]["LinkUrl"].ToString();
                    string pic=ds.Tables[0].Rows[i]["Picture"].ToString();
                    if (!string.IsNullOrEmpty(linkurl))
                    {
                        linkurl = "http://"+linkurl.Replace("http://", "");
                    }
                    else
后面还有 93 行代码,购买后查看完整代码

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

AI 解读 AI

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

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