llamar plantillas por uri en index con la vista I

This commit is contained in:
fredyrivera 2017-09-04 12:08:45 -05:00
parent 5c4dd46225
commit b5f07c415c

View File

@ -82,6 +82,9 @@ else {}
if(isset($_REQUEST['variable'])){ if(isset($_REQUEST['variable'])){
$variable= $_REQUEST['variable']; $variable= $_REQUEST['variable'];
} }
if(isset($_REQUEST['plantilla'])){
$plantilla= $_REQUEST['plantilla'];
}else {$plantilla= "landingpage";}
/* /*
if($variable =='' AND isset($_SESSION['id_empresa'])) { if($variable =='' AND isset($_SESSION['id_empresa'])) {
$variable ="e$_SESSION[id_empresa]"; $variable ="e$_SESSION[id_empresa]";
@ -177,7 +180,7 @@ if ($variable !=''){
$id_form="$primer[3]"; $id_form="$primer[3]";
$embebido = "1"; $embebido = "1";
//$onload = mostrar_identificador("$identificador","$id_form","landingpage",'simple'); //$onload = mostrar_identificador("$identificador","$id_form","landingpage",'simple');
$onload = landingpage_contenido_identificador("$identificador_original","$id_form","landingpage",'simple'); $onload = landingpage_contenido_identificador("$identificador_original","$id_form","$plantilla",'simple');
} }
elseif($v[0] =='p') { elseif($v[0] =='p') {