2015-11-19 16:13:13 +00:00
< ? php session_start ();
//ini_set('display_errors', 'On');
if ( isset ( $_REQUEST [ 'debug' ])) { ini_set ( 'display_errors' , 'On' );}
2015-11-21 11:24:53 +00:00
require ( 'milfs/xajax/xajax.inc.php' );
2015-11-19 16:13:13 +00:00
$xajax = new xajax ();
2015-11-21 11:24:53 +00:00
require ( " milfs/funciones/conex.php " );
require ( 'milfs/funciones/funciones.php' );
2015-11-27 15:10:59 +00:00
include ( 'milfs/addon/funciones.php' );
2015-11-21 11:24:53 +00:00
require ( " milfs/includes/markdown.php " );
require ( " milfs/includes/simple_html_dom.php " );
2015-11-19 16:13:13 +00:00
$xajax -> processRequests (); ?>
<! DOCTYPE html >
< html lang = " en " >
< head >
2015-12-09 19:03:40 +00:00
2015-11-19 16:13:13 +00:00
< meta http - equiv = " Cache-control " content = " public " >
< meta charset = " utf-8 " >
< meta name = " viewport " content = " user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1 " >
< meta http - equiv = " X-UA-Compatible " content = " IE=edge " >
< meta name = " viewport " content = " width=device-width, initial-scale=1 " >
2015-11-27 15:10:59 +00:00
2015-12-09 19:03:40 +00:00
2015-11-27 15:10:59 +00:00
2015-11-19 16:13:13 +00:00
< ? php
$embebido = 0 ;
$acceso = 0 ;
2015-11-27 23:33:28 +00:00
$onload = " " ;
2015-12-04 00:41:25 +00:00
$id_empresa = " " ;
$opciones = " " ;
2015-11-27 23:33:28 +00:00
$variable = $_GET [ 'v' ];
/// e = EMPRESA *
/// s= SET DE DATOS *
2015-11-30 14:32:01 +00:00
/// S= SET DE DATOS EMBEBIDO
2015-11-27 23:33:28 +00:00
/// i= IDENTIFICADOR *
2015-11-30 14:32:01 +00:00
/// I= IDENTIFICADOR EMBEBIDO*
2015-11-27 23:33:28 +00:00
/// d= IDENTIFICADOR EDITABLE *
/// f= FORMULARIO *
/// g=FORMULARIO EMBEBIDO *
/// h=ADDON *
/// j=ADDON EMBEBIDO *
if ( isset ( $_REQUEST [ 'empresa' ])) { $variable = " e " . $_REQUEST [ 'empresa' ];}
elseif ( isset ( $_REQUEST [ 'form' ]) AND isset ( $_REQUEST [ 'embebido' ]) ) { $variable = " g " . $_REQUEST [ 'form' ];}
elseif ( isset ( $_REQUEST [ 'identificador' ]) AND $_REQUEST [ 't' ] == 'edit' ) { $variable = " d " . $_REQUEST [ 'identificador' ];}
elseif ( isset ( $_REQUEST [ 'addon' ]) AND isset ( $_REQUEST [ 'embebido' ]) ) { $variable = " j " . $_REQUEST [ 'addon' ];}
elseif ( isset ( $_REQUEST [ 'set' ])) { $variable = " s " . $_REQUEST [ 'set' ];}
elseif ( isset ( $_REQUEST [ 'identificador' ])) { $variable = " i " . $_REQUEST [ 'identificador' ];}
elseif ( isset ( $_REQUEST [ 'form' ])) { $variable = " f " . $_REQUEST [ 'form' ];}
elseif ( isset ( $_REQUEST [ 'addon' ])) { $variable = " h " . $_REQUEST [ 'addon' ];}
else {}
if ( $variable != '' ){
$v = decodifica_parametro ( $variable );
if ( $v [ 0 ] == 'e' ) {
/// e = EMPRESA
$id_empresa = $v [ 1 ];
$id = $empresa ;
$titulo = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'razon_social' , '' ) ;
$descripcion = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'slogan' , '' ) ;
$background_imagen = buscar_imagen ( '' , " " , " " , " $id_empresa " );
$uri_set = " " ;
$acceso = 1 ;
}
elseif ( $v [ 0 ] == 's' ) {
/// s= SET DE DATOS
$set = $v [ 1 ];
$empresa = remplacetas ( 'form_id' , 'id' , " $set " , 'id_empresa' , " " ) ;
$id_empresa = $empresa [ 0 ];
$titulo = remplacetas ( 'form_id' , 'id' , " $set " , 'nombre' , " " ) ;
$descripcion = remplacetas ( 'form_id' , 'id' , " $set " , 'descripcion' , " " ) ;
$background_imagen = buscar_imagen ( " $set " , " " , " " , " $id_empresa " );
$uri_set = " " ;
//$onload = landingpage_contenido_formulario($set);
$publico = remplacetas ( 'form_id' , 'id' , " $set " , 'publico' , " " ) ;
if ( $publico [ 0 ] == '1' ) { $acceso = 1 ;}
}
2015-11-30 14:32:01 +00:00
elseif ( $v [ 0 ] == 'S' ) {
$set = $v [ 1 ];
/// s= SET DE DATOS
$embebido = " 1 " ;
2015-12-03 22:57:49 +00:00
$onload = " " . consultar_contenido_formulario ( " $set " , '5' , '' , 'embebido' ) . " " ;
2015-11-30 14:32:01 +00:00
}
elseif ( $v [ 0 ] == 'I' ) {
$identificador = $v [ 1 ];
/// s= SET DE DATOS
2015-12-05 12:50:10 +00:00
$primer = formulario_uso ( " " , " $identificador " , 'primer' ) ;
$id_form = " $primer[3] " ;
2015-11-30 14:32:01 +00:00
$embebido = " 1 " ;
2015-12-05 12:50:10 +00:00
//$onload = mostrar_identificador("$identificador","$id_form","landingpage",'simple');
$onload = landingpage_contenido_identificador ( " $identificador " , " $id_form " , " landingpage " , 'simple' );
2015-11-30 14:32:01 +00:00
}
2015-11-27 23:33:28 +00:00
elseif ( $v [ 0 ] == 'i' ) {
/// i= IDENTIFICADOR
$identificador = $v [ 1 ];
2015-12-05 12:50:10 +00:00
$primer = formulario_uso ( " " , " $identificador " , 'primer' ) ;
2015-12-09 19:03:40 +00:00
$id_form = " $primer[3] " ;
2015-12-05 12:50:10 +00:00
//$form = remplacetas('form_datos','control',$identificador,'form_id',"") ;
2015-12-09 19:03:40 +00:00
$empresa = remplacetas ( 'form_id' , 'id' , $id_form , 'id_empresa' , " " ) ;
2015-11-27 23:33:28 +00:00
$id_empresa = $empresa [ 0 ];
$id = $empresa [ 0 ];
2015-12-05 12:50:10 +00:00
//$impresion = mostrar_identificador("$identificador","$id_form[0]","landingpage",'simple');
2015-12-09 19:03:40 +00:00
$impresion = landingpage_contenido_identificador ( " $identificador " , " $id_form " , " landingpage " , 'simple' );
2015-12-05 12:50:10 +00:00
2015-11-27 23:33:28 +00:00
$impresion = strip_tags ( $impresion );
$descripcion_meta = $impresion ;
2015-12-09 19:03:40 +00:00
$titulo = remplacetas ( 'form_id' , 'id' , $id_form , 'nombre' , " " ) ;
$descripcion = remplacetas ( 'form_id' , 'id' , $id_form , 'descripcion' , " " ) ;
$background_imagen = buscar_imagen ( " $id_form " , $identificador , " " , " " );
$uri_set = " <a class='' href='s $id_form '> $titulo[0] </a> " ;
$publico = remplacetas ( 'form_id' , 'id' , $id_form , 'publico' , " " ) ;
2015-11-19 16:13:13 +00:00
if ( $publico [ 0 ] == '1' ) { $acceso = 1 ;}
2015-11-27 23:33:28 +00:00
}
elseif ( $v [ 0 ] == 'd' ) {
/// d= IDENTIFICADOR EDITABLE
$identificador = $v [ 1 ];
$form = remplacetas ( 'form_datos' , 'control' , $identificador , 'form_id' , " " ) ;
$empresa = remplacetas ( 'form_id' , 'id' , $form [ '0' ], 'id_empresa' , " " ) ;
$id_empresa = $empresa [ 0 ];
$id = $empresa [ 0 ];
$impresion = mostrar_identificador ( " $identificador " , " " , " landingpage " , 'simple' );
$impresion = strip_tags ( $impresion );
$descripcion_meta = $impresion ;
$titulo = remplacetas ( 'form_id' , 'id' , $form [ '0' ], 'nombre' , " " ) ;
$background_imagen = buscar_imagen ( " $form[0] " , $identificador , " " , " " );
2015-11-28 02:39:19 +00:00
$uri_set = " <a class='' href='s $form[0] '> $titulo[0] </a> " ;
2015-11-27 23:33:28 +00:00
$publico = remplacetas ( 'form_id' , 'id' , $form [ 0 ], 'publico' , " " ) ;
2015-11-19 16:13:13 +00:00
if ( $publico [ 0 ] == '1' ) { $acceso = 1 ;}
2015-11-27 23:33:28 +00:00
$t = " edit " ;
$onload = " <script type= \" text/javascript \" >xajax_formulario_embebido_ajax( $form[0] ,' $identificador ','edit')</script> " ;
2015-11-21 11:24:53 +00:00
}
2015-11-27 23:33:28 +00:00
elseif ( $v [ 0 ] == 'f' ) {
/// f= FORMULARIO
$form = $v [ 1 ];
$onload = " <script type= \" text/javascript \" >xajax_formulario_embebido_ajax(' $form ','','nuevo')</script> " ;
2015-11-21 11:24:53 +00:00
}
2015-12-09 19:03:40 +00:00
elseif ( $v [ 0 ] == 'a' ) {
/// a=Aplicacion
$form = $v [ 1 ];
$embebido = " 1 " ;
$empresa = remplacetas ( 'form_id' , 'id' , $form , 'id_empresa' , " " ) ;
$id_empresa = $empresa [ 0 ];
$registros = consultar_contenido_formulario ( " $form " , '5' , '' , 'embebido' );
$formulario = formulario_embebido ( $form , $opciones );
$aplicacion = "
< div class = 'center-block' style = 'word-wrap: break-word; max-width:650px;' >
$formulario
</ div >
< div class = 'text-center' >
< iframe src = 'http://datos.labmde.org/milfs/map.php?id=$form' width = '90%' height = '600px;' ></ iframe >
</ div >
< br >
$registros
< span > Poweredy by < a href = 'https://github.com/humano/milfs' target = 'milfs' > MILFS </ a ></ span >
< div class = 'container' style = 'background-color:white' >
< h2 >< img src = 'http://qwerty.co/qr/?d=datos.labmde.org/a74' > Comparte nuestra aplicación </ h2 >
</ div > " ;
$onload = " $aplicacion " ;
}
2015-11-27 23:33:28 +00:00
elseif ( $v [ 0 ] == 'g' ) {
/// g=FORMULARIO EMBEBIDO
$form = $v [ 1 ];
$embebido = " 1 " ;
$onload = formulario_embebido ( $form , $opciones );
}
elseif ( $v [ 0 ] == 'h' ) {
/// h=ADDON
$addon = $v [ 1 ];
$onload = include ( " milfs/addon/ $addon / $addon " . " .php " );
}
elseif ( $v [ 0 ] == 'j' ) {
/// j=ADDON EMBEBIDO
$addon = $v [ 1 ];
$embebido = " 1 " ;
$onload = include ( " milfs/addon/ $addon / $addon " . " .php " );
}
else {}
2015-12-09 19:03:40 +00:00
$video = remplacetas ( 'form_parametrizacion' , 'campo' , " presentacion " , 'descripcion' , " tabla='empresa' and opcion = 'video' and id_empresa = ' $id_empresa ' " ) ;
if ( $video [ 0 ] != " " ) { $video = " <iframe type='text/html' width='640' height='385' src='http://www.youtube.com/embed/ $video[0] ' frameborder='0'></iframe> " ; }
else { $video = " " ;}
2015-11-19 16:13:13 +00:00
$logo = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'imagen' , '' ) ;
$direccion = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'direccion' , '' ) ;
$telefono = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'telefono' , '' ) ;
$email = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'email' , '' ) ;
$facebook = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'facebook' , '' ) ;
$twitter = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'twitter' , '' ) ;
$razon_social = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'razon_social' , '' ) ;
$sigla = remplacetas ( 'empresa' , 'id' , " $id_empresa " , 'sigla' , '' ) ;
2015-11-28 02:39:19 +00:00
$link_empresa = " e $id_empresa " ;
} else {
$id_empresa = " " ;
$id = " " ;
$titulo [ 0 ] = " Portal de datos " ;
$descripcion [ 0 ] = " Los datos no hacen la felicidad, pero pueden medirla " ;
$twitter [ 0 ] = " qwerty_co " ;
$facebook [ 0 ] = " https://www.facebook.com/Qwerty-co-146226688795185 " ;
2015-12-09 19:03:40 +00:00
$video = " <iframe src='https://player.vimeo.com/video/3514904?color=ffffff&title=0&byline=0&portrait=0' width='500' height='281' frameborder='0' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
" ;
2015-11-28 02:39:19 +00:00
}
2015-11-19 16:13:13 +00:00
2015-12-04 00:41:25 +00:00
$uri = trim ( $_SESSION [ 'site' ], '/' ) . $_SERVER [ 'REQUEST_URI' ];
2015-11-19 16:13:13 +00:00
?>
2015-11-27 15:10:59 +00:00
< meta NAME = " Language " CONTENT = " Spanish " >
< meta NAME = " Revisit " CONTENT = " 1 days " >
< meta NAME = " Distribution " CONTENT = " Global " >
< meta NAME = " Robots " CONTENT = " All " >
< meta name = " twitter:card " content = " summary " >
< meta name = " twitter:site " content = " <?php echo $twitter[0] ; ?> " >
< meta name = " twitter:creator " content = " @qwerty_co " >
< meta name = " twitter:url " content = " <?php echo $uri ; ?> " >
< meta name = " twitter:title " content = " <?php echo $titulo[0] ; ?> " >
< meta name = " twitter:description " content = " <?php echo $descripcion_meta ; ?> " >
< meta name = " twitter:image " content = " <?php echo " $_SESSION [ url ] images / secure / ? file = 600 / $background_imagen " ; ?> " >
< meta property = " og:type " content = " article " >
< meta property = " og:title " content = " <?php echo $titulo[0] ; ?> " />
< meta property = " og:type " content = " website " />
< meta property = " og:url " content = " <?php echo " $uri " ; ?> " />
< meta property = " og:image " content = " <?php echo " $_SESSION [ url ] images / secure / ? file = 600 / $background_imagen " ; ?> " />
< meta property = " og:site_name " content = " <?php echo $razon_social[0] ; ?> " />
< meta property = " og:description " content = " <?php echo $descripcion_meta ; ?> " />
2015-12-09 19:03:40 +00:00
< link rel = " shortcut icon " href = " <?php echo " $_SESSION [ url ] images / secure / ? file = 150 / $logo [ 0 ] " ; ?> " >
< link rel = " apple-touch-icon-precomposed " href = " <?php echo " $_SESSION [ url ] images / secure / ? file = 150 / $logo [ 0 ] " ; ?> " >
< title >< ? php echo $titulo [ 0 ]; ?> Portal de datos</title>
2015-11-27 15:10:59 +00:00
< link rel = " stylesheet " href = " https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css " integrity = " sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ== " crossorigin = " anonymous " >
< ? php $xajax -> printJavascript ( " milfs/xajax/ " ); ?>
< link href = " https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css " rel = " stylesheet " integrity = " sha256-k2/8zcNbxVIh5mnQ52A0r3a6jAgMGxFJFE2707UxGCk= sha512-ZV9KawG2Legkwp3nAlxLIVFudTauWuBpC10uEafMHYL0Sarrz5A7G79kXh5+5+woxQ5HM559XX2UZjMJ36Wplg== " crossorigin = " anonymous " >
< script src = " milfs/js/scripts.js " ></ script >
2015-11-19 16:13:13 +00:00
< link href = " http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic " rel = " stylesheet " type = " text/css " >
<!-- HTML5 Shim and Respond . js IE8 support of HTML5 elements and media queries -->
<!-- WARNING : Respond . js doesn ' t work if you view the page via file :// -->
<!-- [ if lt IE 9 ] >
< script src = " https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js " ></ script >
< script src = " https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js " ></ script >
<! [ endif ] -->
< style type = " text/css " >
/*!
* Start Bootstrap - Landing Page Bootstrap Theme ( http :// startbootstrap . com )
* Code licensed under the Apache License v2 . 0.
* For details , see http :// www . apache . org / licenses / LICENSE - 2.0 .
*/
body ,
html {
2015-12-04 00:41:25 +00:00
background - color : white ;
2015-11-19 16:13:13 +00:00
width : 100 % ;
height : 100 % ;
}
body ,
h1 ,
h2 ,
h3 ,
h4 ,
h5 ,
h6 {
font - family : " Lato " , " Helvetica Neue " , Helvetica , Arial , sans - serif ;
font - weight : 700 ;
}
2015-11-21 11:24:53 +00:00
fieldset . fieldset - borde {
border : 2 px solid #EDEDED !important;
border - radius : 3 px ;
padding : 0 1.4 em 1.4 em 1.4 em ! important ;
margin : 0 0 1.5 em 0 ! important ;
- webkit - box - shadow : 0 px 0 px 0 px 0 px #000;
box - shadow : 0 px 0 px 0 px 0 px #000;
}
legend . legend - area {
font - size : 1.2 em ! important ;
font - weight : bold ! important ;
text - align : left ! important ;
width : auto ;
padding : 0 10 px ;
border - bottom : none ;
}
. modal - dialog {
2015-12-09 19:03:40 +00:00
/* min-width: 600px; */
2015-11-21 11:24:53 +00:00
height : auto ;
padding : 0 ;
}
. modal - content {
height : auto ;
}
2015-11-19 16:13:13 +00:00
. topnav {
font - size : 14 px ;
}
. lead {
font - size : 18 px ;
font - weight : 400 ;
}
. intro - header {
padding - top : 50 px ; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
padding - bottom : 50 px ;
text - align : center ;
color : #f8f8f8;
2015-11-28 15:08:42 +00:00
background : url ( milfs / images / secure / ? file = 150 /< ? php echo $background_imagen ; ?> ) no-repeat center center;
2015-11-19 16:13:13 +00:00
background - size : cover ;
}
. intro - message {
position : relative ;
padding - top : 20 % ;
padding - bottom : 20 % ;
/*background: url(images/transparente50.png ) ;*/
}
. intro - message > h1 {
margin : 0 ;
text - shadow : 2 px 2 px 3 px rgba ( 0 , 0 , 0 , 0.6 );
font - size : 5 em ;
border - radius : 3 px ;
2015-11-21 11:24:53 +00:00
background : url ( milfs / images / oscuro40 . png ) ;
2015-11-19 16:13:13 +00:00
}
. intro - divider {
width : 400 px ;
border - top : 1 px solid #f8f8f8;
border - bottom : 1 px solid rgba ( 0 , 0 , 0 , 0.2 );
}
. intro - message > h3 {
text - shadow : 2 px 2 px 3 px rgba ( 0 , 0 , 0 , 0.6 );
2015-11-27 23:33:28 +00:00
background : url ( milfs / images / oscuro40 . png ) ;
2015-11-19 16:13:13 +00:00
border - radius : 3 px ;
}
@ media ( max - width : 767 px ) {
. intro - message {
padding - bottom : 15 % ;
}
. intro - message > h1 {
font - size : 3 em ;
}
ul . intro - social - buttons > li {
display : block ;
margin - bottom : 20 px ;
padding : 0 ;
}
ul . intro - social - buttons > li : last - child {
margin - bottom : 0 ;
}
. intro - divider {
width : 100 % ;
}
}
. network - name {
text - transform : uppercase ;
font - size : 14 px ;
font - weight : 400 ;
letter - spacing : 2 px ;
}
. content - section - a {
padding : 50 px 0 ;
background - color : #f8f8f8;
2015-11-21 11:24:53 +00:00
border - radius : 5 px ;
margin : 10 px ;
2015-11-19 16:13:13 +00:00
}
. content - section - b {
padding : 50 px 0 ;
border - top : 1 px solid #e7e7e7;
border - bottom : 1 px solid #e7e7e7;
}
. section - heading {
margin - bottom : 30 px ;
}
. section - heading - spacer {
float : left ;
width : 200 px ;
border - top : 3 px solid #e7e7e7;
}
. banner {
padding : 100 px 0 ;
color : #f8f8f8;
2015-11-27 23:33:28 +00:00
/* background: url(../img/banner-bg.jpg) no-repeat center center;*/
2015-11-19 16:13:13 +00:00
background - size : cover ;
}
. banner h2 {
margin : 0 ;
text - shadow : 2 px 2 px 3 px rgba ( 0 , 0 , 0 , 0.6 );
font - size : 3 em ;
}
. banner ul {
margin - bottom : 0 ;
}
. banner - social - buttons {
float : right ;
margin - top : 0 ;
}
@ media ( max - width : 1199 px ) {
ul . banner - social - buttons {
float : left ;
margin - top : 15 px ;
}
}
@ media ( max - width : 767 px ) {
. banner h2 {
margin : 0 ;
text - shadow : 2 px 2 px 3 px rgba ( 0 , 0 , 0 , 0.6 );
font - size : 3 em ;
}
ul . banner - social - buttons > li {
display : block ;
margin - bottom : 20 px ;
padding : 0 ;
}
ul . banner - social - buttons > li : last - child {
margin - bottom : 0 ;
}
}
footer {
padding : 50 px 0 ;
background - color : #f8f8f8;
}
p . copyright {
margin : 15 px 0 0 ;
}
</ style >
</ head >
< body >
2015-11-30 14:32:01 +00:00
< div id = 'contenido_interior' >
2015-11-27 15:10:59 +00:00
< ? php
2015-11-27 23:33:28 +00:00
if ( $embebido == " 1 " ){ /* SI SE SOLICITA UN EMBEBIDO SE MUESTRA ESTO */
echo $onload ;
if ( isset ( $set )) {
2015-12-04 00:41:25 +00:00
//echo landingpage_contenido_formulario($set);
//echo consultar_contenido_formulario("$set",'5','','contenido');
2015-11-27 15:10:59 +00:00
}
2015-11-21 11:24:53 +00:00
2015-11-27 15:10:59 +00:00
?>
2015-11-30 15:43:51 +00:00
</ div >
<!-- Modal -->
< div class = 'modal fade ' id = 'muestraInfo' tabindex = '-1' role = 'dialog' aria - labelledby = 'myModalLabel' aria - hidden = 'true' >
< div class = 'modal-dialog modal-lg' >
< div class = 'modal-content' >
< div class = 'modal-header' >
< button type = 'button' class = 'close' data - dismiss = 'modal' aria - hidden = 'true' >< i class = 'fa fa-times-circle' ></ i ></ button >
< h4 class = 'modal-title' id = 'myModalLabel_info' >< div id = 'titulo_modal' ></ div ></ h4 >
</ div >
< div class = 'modal-body' >
< div id = 'muestra_form' ></ div >
</ div >
< div class = 'modal-footer' id = 'pie_modal' >
</ div >
</ div >
</ div >
</ div >
<!-- Modal -->
2015-11-27 15:10:59 +00:00
< script src = " https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js " ></ script >
< script src = " https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js " ></ script >
</ body >
</ html >
2015-12-03 22:57:49 +00:00
<!-- fin embebido -->
2015-11-27 15:10:59 +00:00
< ? php
}
else { /* SI NO SE SOLICITA UN EMBEBIDO SE CONTINUA CON EL FLUJO DEL HTML */
?>
2015-11-19 16:13:13 +00:00
<!-- Navigation -->
< nav class = " navbar navbar-default navbar-fixed-top topnav " role = " navigation " >
< div class = " container topnav " >
<!-- Brand and toggle get grouped for better mobile display -->
< div class = " navbar-header " >
< button type = " button " class = " navbar-toggle " data - toggle = " collapse " data - target = " #bs-example-navbar-collapse-1 " >
< span class = " sr-only " > Toggle navigation </ span >
< span class = " icon-bar " ></ span >
< span class = " icon-bar " ></ span >
< span class = " icon-bar " ></ span >
</ button >
2015-11-28 02:39:19 +00:00
< a class = " navbar-brand topnav " href = " ./ " >< i class = 'fa fa-home' ></ i > Portal </ a >
< a class = " navbar-brand topnav " href = " <?php echo $link_empresa ; ?> " >< ? php echo $sigla [ 0 ]; ?> Inicio</a>
2015-11-19 16:13:13 +00:00
</ div >
<!-- Collect the nav links , forms , and other content for toggling -->
< div class = " collapse navbar-collapse " id = " bs-example-navbar-collapse-1 " >
< ul class = " nav navbar-nav " >
< li >< ? php echo $uri_set ; ?> </li>
</ ul >
< ul class = " nav navbar-nav navbar-right " >
< li >
2015-11-21 11:24:53 +00:00
< a href = " milfs/?ingresar " > Ingresar </ a >
2015-11-19 16:13:13 +00:00
</ li >
</ ul >
</ div >
<!-- /. navbar - collapse -->
</ div >
<!-- /. container -->
</ nav >
<!-- Header -->
< a name = " about " ></ a >
< div class = " intro-header " >
< div class = " container " >
< div class = " row " >
< div class = " col-lg-12 " >
2015-11-28 15:08:42 +00:00
2015-11-19 16:13:13 +00:00
< div class = " intro-message " >
2015-12-09 19:03:40 +00:00
< ? php echo $video ; ?>
2015-11-19 16:13:13 +00:00
< h1 >< ? php echo $titulo [ 0 ]; ?> </h1>
< h3 >< ? php echo $descripcion [ 0 ]; ?> </h3>
< hr class = " intro-divider " >
< ul class = " list-inline intro-social-buttons " >
< li >
< a target = 'redes' href = " https://twitter.com/<?php echo $twitter[0] ; ?> " class = " btn btn-default btn-lg " >< i class = " fa fa-twitter fa-fw " ></ i > < span class = " network-name " >@< ? php echo $twitter [ 0 ]; ?> </span></a>
</ li >
< li >
< a target = 'redes' href = " https://github.com/humano/milfs/ " class = " btn btn-default btn-lg " >< i class = " fa fa-github fa-fw " ></ i > < span class = " network-name " > Github </ span ></ a >
</ li >
< li >
2015-11-28 02:39:19 +00:00
< a target = 'redes' href = " https://www.facebook.com/<?php echo $facebook[0] ; ?> " class = " btn btn-default btn-lg " >< i class = " fa fa-facebook fa-fw " ></ i > < span class = " network-name " ></ span ></ a >
2015-11-19 16:13:13 +00:00
</ li >
</ ul >
</ div >
</ div >
</ div >
</ div >
<!-- /. container -->
</ div >
<!-- /. intro - header -->
<!-- Page Content -->
< a name = " formularios " ></ a >
2015-11-28 15:08:42 +00:00
< div id = 'contenido_interior' >
2015-11-19 16:13:13 +00:00
< ? php
2015-11-27 15:10:59 +00:00
if ( $acceso == 1 ) {
2015-11-27 23:33:28 +00:00
if ( $set != " " ) {
2015-11-28 15:08:42 +00:00
/// echo landingpage_contenido_formulario($set,'10','','');
2015-12-09 19:03:40 +00:00
echo consultar_contenido_formulario ( " $set " , '10' , '' , 'contenido' );
2015-11-28 15:08:42 +00:00
//echo "<div class='btn btn-default btn-default' onclick=\"xajax_consultar_contenido_formulario('$set','10','','landingpage'); \"><i class='fa fa-eye'></i> Consultar</div>";
2015-11-27 15:10:59 +00:00
}
2015-11-27 23:33:28 +00:00
elseif ( $identificador != " " ) {
2015-12-09 19:03:40 +00:00
//echo landingpage_contenido_identificador($identificador);
echo landingpage_contenido_identificador ( " $identificador " , " $id_form " , " landingpage " , 'simple' ) ;
2015-11-27 15:10:59 +00:00
}
else {
2015-11-28 02:39:19 +00:00
if ( $id_empresa == " " ) {
//echo multiempresa_listado('','')."Hola mundo";
}
else {
2015-12-09 19:03:40 +00:00
//echo landingpage_contenido($id_empresa);
2015-11-28 02:39:19 +00:00
echo landingpage_contenido ( $id_empresa );
}
2015-11-27 15:10:59 +00:00
}
2015-11-28 02:39:19 +00:00
} else { echo multiempresa_listado ( '' , '' ); }
2015-11-19 16:13:13 +00:00
?>
2015-11-28 15:08:42 +00:00
</ div >
2015-11-19 16:13:13 +00:00
< a name = " contact " ></ a >
< div class = " banner " >
< div class = " container " >
< div class = " row " >
< div class = " col-lg-4 " >
< h2 > Conéctate :</ h2 >
</ div >
< div class = " col-lg-8 " >
< ul class = " list-inline banner-social-buttons " >
2015-11-21 11:24:53 +00:00
< li >
< a target = 'redes' href = " https://twitter.com/<?php echo $twitter[0] ; ?> " class = " btn btn-default btn-lg " >< i class = " fa fa-twitter fa-fw " ></ i > < span class = " network-name " >< ? php echo $twitter [ 0 ]; ?> </span></a>
2015-11-19 16:13:13 +00:00
</ li >
< li >
< a target = 'redes' href = " https://github.com/humano/milfs/ " class = " btn btn-default btn-lg " >< i class = " fa fa-github fa-fw " ></ i > < span class = " network-name " > Github </ span ></ a >
</ li >
< li >
< a target = 'redes' href = " https://www.facebook.com/<?php echo $facebook[0] ; ?> " class = " btn btn-default btn-lg " >< i class = " fa fa-facebook fa-fw " ></ i > < span class = " network-name " >< ? php echo $facebook [ 0 ]; ?> </span></a>
</ li >
</ ul >
</ div >
</ div >
</ div >
<!-- /. container -->
</ div >
<!-- /. banner -->
2015-11-21 11:24:53 +00:00
<!-- Modal -->
2015-11-19 16:13:13 +00:00
2015-11-21 11:24:53 +00:00
< div class = 'modal fade ' id = 'muestraInfo' tabindex = '-1' role = 'dialog' aria - labelledby = 'myModalLabel' aria - hidden = 'true' >
< div class = 'modal-dialog modal-lg' >
< div class = 'modal-content' >
< div class = 'modal-header' >
< button type = 'button' class = 'close' data - dismiss = 'modal' aria - hidden = 'true' >< i class = 'fa fa-times-circle' ></ i ></ button >
< h4 class = 'modal-title' id = 'myModalLabel_info' >< div id = 'titulo_modal' ></ div ></ h4 >
</ div >
< div class = 'modal-body' >
< div id = 'muestra_form' ></ div >
</ div >
< div class = 'modal-footer' id = 'pie_modal' >
</ div >
</ div >
</ div >
</ div >
<!-- Modal -->
2015-11-19 16:13:13 +00:00
<!-- Footer -->
< footer >
< div class = " container " >
< div class = " row " >
< div class = " col-lg-12 " >
< ul class = " list-inline " >
< li >
< a href = " # " > Home </ a >
</ li >
< li class = " footer-menu-divider " >& sdot ; </ li >
< li >
< a href = " #formularios " > Contenido </ a >
</ li >
< li class = " footer-menu-divider " >& sdot ; </ li >
< li >
< a href = " #contact " > Contacto </ a >
</ li >
</ ul >
< p class = " copyright text-muted small " > < a href = 'http://QWERTY.co/milfs' >& copy ; MILFS Un proyecto de http :// QWERTY . co </ a > Se distribuye bajo licencia GPL V3
2015-11-21 11:24:53 +00:00
< a href = " milfs/?psi " >< i class = " fa fa-smile-o " ></ i > Políticas de privacidad y protección de datos .</ a ></ p >
2015-11-19 16:13:13 +00:00
</ div >
</ div >
</ div >
</ footer >
< script src = " https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js " ></ script >
< script src = " https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js " ></ script >
2015-12-04 09:39:04 +00:00
< ? php echo $onload ; ?>
2015-11-19 16:13:13 +00:00
</ body >
2015-11-27 15:10:59 +00:00
< ? php } ?>
2015-11-19 16:13:13 +00:00
</ html >