EasyShop/Product.aspx.cs

(开头部分) 26KB

这里只显示每个文件的开头 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 Product3 : Base_Page
    {
        string Url_Pid;
        public string strUserName = "";
        public string strLoginReg = "";
        public string strHotSearch = "";
        public string strBanner = string.Empty;
        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();
                web_otherInfo_Ext woe = new web_otherInfo_Ext();
                DataSet ds = woe.GetList(" and Type=2");
                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();
后面还有 515 行代码,购买后查看完整代码

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

AI 解读 AI

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

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