Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            WebSite oSite    = new WebSite();
            Service oService = new Service();

            sHTMLMenu     = oSite.GetHTMLMenu(int.Parse(oService.getKeyFromConfigFile("MENU")), 1, this.Page.AppRelativeVirtualPath.Substring(2).ToLower());
            sHTMLFooter   = oSite.GetHTMLFooter(int.Parse(oService.getKeyFromConfigFile("FOOTER")), 1);
            sHTMLNoticias = oSite.GetHTMLNoticias(int.Parse(oService.getKeyFromConfigFile("NOTICIAS")), 1);
        }