Current File : /home/aventura/www/web/modulos/home_app/php/ver.php |
<?php
include "../../../lib/template.inc";
include "../../../lib/link_mysql.php";
$t = new Template('../templates/');
//Archivos comunes
$t->set_file(array(
"ver" => "ver.html",
"secion_video" => "secion_video.html",
"secion_slider_1" => "secion_slider_1.html",
));
//$url_web="http://localhost/aventura2015";
$t->set_var("url_web","http://www.aventuramagica.com.ar/web");
$seccion=$_GET["seccion"];
//$seccion=1;
if ($seccion==1)
{
/*$JS_SECCION="<script src='$url_web/js/page/page.home-video-bg.js'></script>";*/
$SECCION_INTRO="secion_video";
$silenciovideo="";
}elseif($seccion==2)
{
/*$JS_SECCION="<script src='$url_web/js/page/carousel-preload.js'></script> ";*/
$SECCION_INTRO="secion_slider_1";
}
$t->set_var("silenciovideo",$silenciovideo);
//$t->set_var("JS_SECCION",$JS_SECCION);
$t->parse("SECCION_INTRO",$SECCION_INTRO);
$t->pparse("OUT", "ver");
?>