readTemplateFromFile(MapPath()."/vistas/noticias.htm"); $objContent->addBlock('ligthbox'); //habilito el JS y CSS del Lightbox $strOP = $_GET['op']; $intMenuActivo = 4; if ($strOP=='prensa') $intMenuActivo = 13; $objContent->setVariable('TitlePage',getMessage('MSG_SENSORALECTRONICA') . ' - ' . getMessage('MSG_NOTICIASBTN')); $objContent->setVariable('menuactivo_novedades','current'); //Seteo la opcion del menu de la izquierda FLASH seleccionada include(MapPath().'/include/head.inc.php'); //Generacion de idiomas //Consumo el WebServices que muetsra el listado de noticias $objContent->setVariable('HTMLNoticia',file_get_contents('http://'.$strURLPanelDeControl.'/admin/webservices/noticias_v2.php?site='.$intIDSeccionGlobal.'&lang='.$_SESSION['langFront'].'&todas_noticias=si&op='.$strOP)); $objContent->generateOutput(); ?>