__construct($categoria); } function __construct($categoria = '') { parent::NAVDigitalPlusController(); $this->categoria = $categoria; } function doDefault() { $this->addSeguimientoSogecable('DPL*CATEGORIA*' . strtoupper($this->categoria) . "'"); require_once (DIR_CLASES_DIGITALPLUS . "/TAQ/TAQCategoriaOU.php"); $objPortada = new TAQCategoriaOU($this, $this->categoria); $this->addNavegacion("TOP"); $this->addContent($objPortada->getOutput(), 'contenido'); $this->addScript('/js/colorbox.js'); $this->addScript('/js/taquilla/inittaqcompra.js'); if ($this->categoria == 'CINEX') { $this->addScript('/js/taquilla/advertencia.js?kd'); $this->setBodyAttributes("id=\"taquilla-adulto\""); } $this->addStyleSheet('/css/colorbox.css'); $this->addNavegacion("BOTTOM"); } } $categoria = $_GET['cat'] ? strtoupper(substr($_GET['cat'], 0, 6)) : 'CINE'; $page = new NAVDigitalPlusController_Portada($categoria); switch ($categoria) { case "FUTBOL": $strAnchor = 'futbol'; break; case "CINEX": $strAnchor = 'cinex'; break; case "MUSICA": $strAnchor = 'musica'; break; case "SERIES": $strAnchor = 'series'; break; case "TOROS": $strAnchor = 'toros'; break; case "CINEHD": $strAnchor = 'cinehd'; break; case "PCATCH": $strAnchor = 'pcatch'; break; case "BOXEO": $strAnchor = 'boxeo'; break; case "COMBAT": $strAnchor = 'combat'; break; case "KICKBO": $strAnchor = 'kickbo'; break; case "CINE": default: $strAnchor = 'cine'; break; } $page->setAnchor('dpltaq' . $strAnchor); $page->setCache(THIS_PAGE_CACHE); $ret = $page->run(); $page->send(); ?>