Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as C# by lcosta ( 18 years ago )
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;


namespace dfgfgfd
{
    public partial class dfgdfgdf: BaseMasterPage
    {

        protected asdadas currentfffffff = null;
        protected string titleImg = "";

        public string lang
        {

            get
            {
                return SessionManager.Language;

            }


        }

        public string dfgdfg
        {
            get
            {
                //UIHelper.EvaluateRequest(Request, "dfgfdg", "")
                return ((BasePage)Page).dfgdfg;// "0Js0Z1WjUaW";

            }
        }


        protected void Page_Load(object sender, EventArgs e)
        {
            //if (this.inFrame)
            //    dfgdf.Visible= false;


            //SiteMap.SiteMapResolve += new SiteMapResolveEventHandler(this.ModifyBreadCrumbs);
            //customImage.Src = "~/images/logo" + SessionManager.Language.Substring(0, 2) + "_pq.png";
            //customImage.Src = "~/images/logo" + SessionManager.Language.Substring(0, 2) + "_home.png";
            customImage.Src = "/images/logo" + SessionManager.Language.Substring(0, 2) + "_home.png";


            this.customPage();
        }


        protected void customPage()
        {

            if (string.IsNullOrEmpty(this.fffffffffKey)) return;

            CustomSite custom = CustomSite.get(this.vvvvvvvvvKey);
            
            // exist
            if (custom == null) return;


            if (!string.IsNullOrEmpty(custom.opt_urlLogo))
            {
                customImage.Src = custom.opt_urlLogo;
                if (!string.IsNullOrEmpty(custom.opt_siteTitle))
                {
                    customImage.Alt = custom.opt_siteTitle;
                }
            }

            if (!string.IsNullOrEmpty(custom.opt_siteTitle))
            {
                customSentence.InnerHtml = custom.opt_siteTitle;
                customSentence.Visible = true;
                titleImg = custom.opt_siteTitle;
            }

            customStyle.InnerHtml = CustomSite.getStyle(custom);


        }

    }
}

 

Revise this Paste

Your Name: Code Language: