#------------------------------------------------------------------------------------------- # CACHE $CACHEengine='Flex'; #------------------------------------------------------------------------------------------- # ID de flex page para engine de backgrounds $flexIDs = 1; $content_type = 21; #------------------------------------------------------------------------------------------- # Se conecta y hace lo necesario y comun para todos los engines include('run/run.start.php'); #------------------------------------------------------------------------------------------- # Define el template a utilizar $tpl=akCargarTpl(THEME_DIR.'index.tpl'); include(ENGINES_FOLDER.'flex/Scrollerflex.php'); $_GET['flex_page'] = $_GET['id']; $dataflex=ScrollerFlex($_GET['flex_page']); $aTags['ContentPage']= $dataflex['ContentPage'].'
'.$dataflex['scripscrolling']; $aTags['canonicalUrl']= $dataflex['canonicalUrl']; $aTags['canonicalNex']= $dataflex['canonicalNex']; $aTags['canonicalPre']= $dataflex['canonicalPre']; $Fl=$DB->FetchAssoc($DB->QueryExecute("SELECT style FROM flex_pages_targets WHERE id={$_GET['id']}")); if($Fl['style']!='' and $Fl['style']!='index'){ $tpl=akCargarTpl(THEME_DIR.$Fl['style'].'.tpl'); } /* Define que cosas se van a cargar entre y , luego de y antes de */ $aTags['header_local']=akCargarFile('run/header.flex.pages.php'); $aTags['body_local']=akCargarFile('run/body.flex.pages.php'); $aTags['where_iam']='Home / '.$aTags['page_title'].'';/* links con la ubicaciĆ³n actual del usuario ej: home > sections > news*/ // NO BERADCUM IN FLEX PAGES $tpl = str_replace('id="where-iam"', 'id="where-iam" style="display:none;"', $tpl); /* realiza las funciones comunes de finalizacion, lo pricipal es que reemplaza con array aTags las etiquetas {etiqueta} */ include('run/run.end.php'); ?>