session_start(); include("admin/system/vars.php"); include("admin/system/conexiondb.inc.php"); include("admin/lib/funciones.php"); include("admin/funciones/funciones.php"); include("system/config.php"); include("funciones/secciones.inc.php"); include("funciones/url_amigable.inc.php"); include("class/carrito.class.php"); include("funciones/funciones.php"); include("funciones/funciones.lib.php"); include("funciones/lang.inc.php"); include("funciones/funciones-carrito.php"); include("funciones/error_filter.php"); $mobile = mobile_detect(); switch ($sec) { case '': case 'home': case 'pagina-contenido': case 'noticias-listado': case 'contacto': $include = mostrar_seccion_activa($sec, $sub, $seccions_generals, $lang); break; default: $activeTemplate = mostrar_seccion_activa($sec, $sub, $seccions_generals, $lang); $include = "includes/tiendaTemplate.php"; break; } if($include == "seccions/error.php" || $activeTemplate == "seccions/error.php"){ header('HTTP/1.1 404 Not Found'); } $main_class = ""; if($include == "seccions/home.php"){ $sec = "home"; } //echo $sec; ?>
include("includes/plantilla/head.inc.php"); ?>