EasyShop/Product_Master.Master.cs

(开头部分) 25KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Mall.siteAdmin.Goods;
using MyModels;
using System.Data;
using conn;
using Common;
using ExeSql;
using MyModels.Db;
using TB_MC_Product = MyModels.TB_MC_Product;

namespace EasyShop
{
    public partial class Product_Master : Base_MasterPage
    {
        string Url_Pid;
        public string strUserName = "";
        public string strLoginReg = "";
        public string strHotSearch = "";
        protected string ShowLeftProMenuList, Show_ChildProduct_Info_Str, Five_And_Ten_Str;
        object IsXuNi,IsNewProPage;
        protected void Page_Load(object sender, EventArgs e)
        {
            IsXuNi = (Request.QueryString["IsXuNi"] != null ? Request.QueryString["IsXuNi"] : "");
            IsNewProPage = (Request.QueryString["ShowNew"] != null ? Request.QueryString["ShowNew"] : "");
            ShowLeftProMenuList=GetLeftProMenuList();
            if (!string.IsNullOrWhiteSpace(Url_Pid) || !string.IsNullOrWhiteSpace(IsXuNi.ToString()) || !string.IsNullOrWhiteSpace(IsNewProPage.ToString()))
            {
                Show_ChildProduct_Info_Str = Show_ChildProduct_Info();
            }
            else
            {
                Five_And_Ten_Str = Five_And_Ten();
            }
            Load_Two_TongGou();
            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>";
            }
            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();
                Load_HotSales();
            }
        }
        public string GetHotSearch()//获取热门搜索
        {
            string dem = "";
            TB_MC_Product tmp = new TB_MC_Product();
            DataSet ds = tmp.GetHotSearchInfo(5);
后面还有 492 行代码,购买后查看完整代码

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

AI 解读 AI

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

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