Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            TopicClassId = Utils.GetInt(Request.QueryString["TypeId"]);
            TopicAreasId = Utils.GetInt(Request.QueryString["AreaId"]);

            if (TopicClassId <= 0 && TopicAreasId <= 0)
            {
                return;
            }

            UserPublicCenter.SupplierInfo.Supplier site = (UserPublicCenter.SupplierInfo.Supplier) this.Master;
            if (site != null)
            {
                site.MenuIndex = 4;
            }
        }
Exemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            ArticleId = Utils.InputText(Request.QueryString["Id"]);

            if (string.IsNullOrEmpty(ArticleId))
            {
                return;
            }

            //zxb 20100907 加入JiaThis代码
            AddJavaScriptInclude("http://www.jiathis.com/code/jiathis_r.js?move=0", true, false);

            UserPublicCenter.SupplierInfo.Supplier site = (UserPublicCenter.SupplierInfo.Supplier) this.Master;
            if (site != null)
            {
                site.MenuIndex = 2;
            }
        }