rehaciendo cambios pullrequest

This commit is contained in:
Hacky Purple 2018-07-03 00:11:19 -05:00
parent 48d39b03b2
commit 13628556c0
3 changed files with 158 additions and 158 deletions

244
index.php
View File

@ -15,7 +15,7 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head > <head >
<meta http-equiv="Cache-control" content="public"> <meta http-equiv="Cache-control" content="public">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1"> <meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
@ -77,8 +77,8 @@ $librerias_pie ="";
/// k= suite /// k= suite
/// l= Listado /// l= Listado
/// m = checklist /// m = checklist
/// n=notas /// n=notas
/// o=parallax /// o=parallax
/// p= Planilla /// p= Planilla
/// s= SET DE DATOS * /// s= SET DE DATOS *
@ -130,10 +130,10 @@ $presentacion_cabeza = "
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src='lib/js/html5shiv.js'></script> <script src='lib/js/html5shiv.js'></script>
<![endif]--> <![endif]-->
"; ";
$presentacion_pie=" $presentacion_pie="
<script src='librerias/reveal/lib/js/head.min.js'></script> <script src='librerias/reveal/lib/js/head.min.js'></script>
<script src='librerias/reveal/js/reveal.js'></script> <script src='librerias/reveal/js/reveal.js'></script>
@ -160,11 +160,11 @@ $presentacion_pie="
] ]
}); });
</script> </script>
"; ";
if ($variable !=''){ if ($variable !=''){
if($v[0] =='e') { if($v[0] =='e') {
/// e = EMPRESA /// e = EMPRESA
$id_empresa = $v[1]; $id_empresa = $v[1];
@ -177,7 +177,7 @@ if ($variable !=''){
"; ";
if($titulo[0] !="") { if($titulo[0] !="") {
$logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ; $logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
$descripcion = remplacetas('empresa','id',"$id_empresa",'slogan','') ; $descripcion = remplacetas('empresa','id',"$id_empresa",'slogan','') ;
//$background_imagen = buscar_imagen('',"","","$id_empresa"); //$background_imagen = buscar_imagen('',"","","$id_empresa");
$background_imagen = remplacetas('empresa','id',"$id_empresa",'imagen','') ; $background_imagen = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
@ -188,17 +188,17 @@ if ($variable !=''){
$vista_favorita = vista_favorita($pagina_inicio_definida[0]); $vista_favorita = vista_favorita($pagina_inicio_definida[0]);
//$set= $pagina_inicio_definida[0]; //$set= $pagina_inicio_definida[0];
$onload = "<script type=\"text/javascript\">window.location.href='$vista_favorita';</script> "; $onload = "<script type=\"text/javascript\">window.location.href='$vista_favorita';</script> ";
} }
$acceso = 1; $acceso = 1;
$menu =" $menu ="
<div class='col-sm-2 hidden-xs hidden-sm' id='caja_lateral_derecha'> <div class='col-sm-3 col-lg-2 hidden-xs hidden-sm' id='caja_lateral_derecha'>
<div class='container'> <div class='container'>
<nav style=' max-height:95% !important ; overflow:auto !important; ' id='toc' data-spy='affix' data-toggle='toc'></nav> <nav style=' max-height:95% !important ; overflow:auto !important; ' id='toc' data-spy='affix' data-toggle='toc'></nav>
</div> </div>
</div>"; </div>";
$cols_interior ="10"; $cols_interior ="10";
}else { }else {
$onload = "<script type=\"text/javascript\">location.href='404';</script> "; $onload = "<script type=\"text/javascript\">location.href='404';</script> ";
} }
} }
elseif($v[0] =='b') { elseif($v[0] =='b') {
@ -220,7 +220,7 @@ if ($variable !=''){
<script src='./librerias/bootstrap-toc/bootstrap-toc.min.js'></script> <script src='./librerias/bootstrap-toc/bootstrap-toc.min.js'></script>
"; ";
$orden=""; $orden="";
$menu ="</div> $menu ="</div>
<div class='col-sm-2 hidden-xs hidden-sm' id='caja_lateral_derecha'> <div class='col-sm-2 hidden-xs hidden-sm' id='caja_lateral_derecha'>
<div class='container'> <div class='container'>
@ -231,7 +231,7 @@ if ($variable !=''){
$cols_interior ="10"; $cols_interior ="10";
//$onload = landingpage_contenido_formulario($set); //$onload = landingpage_contenido_formulario($set);
$publico = remplacetas('form_id','id',"$set",'publico',"") ; $publico = remplacetas('form_id','id',"$set",'publico',"") ;
if($publico[0] =='1' OR $_SESSION['id_empresa'] == $id_empresa ) {$acceso = 1;} if($publico[0] =='1' OR $_SESSION['id_empresa'] == $id_empresa ) {$acceso = 1;}
} }
elseif($v[0] =='s') { elseif($v[0] =='s') {
/// s= SET DE DATOS /// s= SET DE DATOS
@ -246,9 +246,9 @@ if ($variable !=''){
$uri_set = ""; $uri_set = "";
//$onload = landingpage_contenido_formulario($set); //$onload = landingpage_contenido_formulario($set);
//$onload = "".consultar_contenido_formulario("$set",'5','','','',"$plantilla").""; //$onload = "".consultar_contenido_formulario("$set",'5','','','',"$plantilla")."";
$publico = remplacetas('form_id','id',"$set",'publico',"") ; $publico = remplacetas('form_id','id',"$set",'publico',"") ;
if($publico[0] =='1' OR $_SESSION['id_empresa'] == $id_empresa ) {$acceso = 1;} if($publico[0] =='1' OR $_SESSION['id_empresa'] == $id_empresa ) {$acceso = 1;}
//$acceso=1; //$acceso=1;
} }
elseif($v[0] =='S') { elseif($v[0] =='S') {
@ -276,7 +276,7 @@ if ($variable !=''){
$empresa = remplacetas('form_id','id',"$set",'id_empresa',"") ; $empresa = remplacetas('form_id','id',"$set",'id_empresa',"") ;
$logo = remplacetas('empresa','id',"$id_empresa[0]",'imagen','') ; $logo = remplacetas('empresa','id',"$id_empresa[0]",'imagen','') ;
$id_empresa = $empresa[0]; $id_empresa = $empresa[0];
if(strlen($identificador) > 32) { if(strlen($identificador) > 32) {
$identificador_original= $identificador; $identificador_original= $identificador;
$key = substr($identificador, 32, $length = 40); $key = substr($identificador, 32, $length = 40);
@ -350,15 +350,15 @@ if ($variable !=''){
//$onload = formulario_embebido_ajax($form[0],'$identificador','edit'); //$onload = formulario_embebido_ajax($form[0],'$identificador','edit');
$librerias_cabeza =" $librerias_cabeza ="
<script src='./librerias/summernote/summernote.js'></script> <script src='./librerias/summernote/summernote.js'></script>
<link href='./librerias/summernote/summernote.css' rel='stylesheet'> <link href='./librerias/summernote/summernote.css' rel='stylesheet'>
"; ";
$librerias_pie =" $librerias_pie ="
<script type='text/javascript'> <script type='text/javascript'>
//// wysiwyg //// wysiwyg
var edit = function() { var edit = function() {
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar: $('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:
[ [
['style', ['bold', 'italic', 'underline', 'clear']], ['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript', 'fontname']], ['font', ['strikethrough', 'superscript', 'subscript', 'fontname']],
@ -409,15 +409,15 @@ if ($variable !=''){
$empresa = remplacetas('form_id','id',$form,'id_empresa',"") ; $empresa = remplacetas('form_id','id',$form,'id_empresa',"") ;
$id_empresa = $empresa[0]; $id_empresa = $empresa[0];
$librerias_cabeza =" $librerias_cabeza ="
<script src='./librerias/summernote/summernote.js'></script> <script src='./librerias/summernote/summernote.js'></script>
<link href='./librerias/summernote/summernote.css' rel='stylesheet'> <link href='./librerias/summernote/summernote.css' rel='stylesheet'>
"; ";
$librerias_pie =" $librerias_pie ="
<script type='text/javascript'> <script type='text/javascript'>
//// wysiwyg //// wysiwyg
var edit = function() { var edit = function() {
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar: $('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:
[ [
['style', ['bold', 'italic', 'underline', 'clear']], ['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript', 'fontname']], ['font', ['strikethrough', 'superscript', 'subscript', 'fontname']],
@ -458,7 +458,7 @@ if ($variable !=''){
else {$tema="moon";} else {$tema="moon";}
$librerias_cabeza =$presentacion_cabeza; $librerias_cabeza =$presentacion_cabeza;
$librerias_pie =$presentacion_pie; $librerias_pie =$presentacion_pie;
$onload=" $onload="
<div class='reveal'> <div class='reveal'>
<div class='slides'> <div class='slides'>
@ -485,7 +485,7 @@ if ($variable !=''){
<script src='librerias/reveal/js/reveal.js'></script> <script src='librerias/reveal/js/reveal.js'></script>
<script> <script>
@ -505,36 +505,36 @@ if ($variable !=''){
// More info https://github.com/hakimel/reveal.js#dependencies // More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [ dependencies: [
] ]
}); });
</script> </script>
<script src='librerias/slick/slick.js' type='text/javascript' charset='utf-8'></script> <script src='librerias/slick/slick.js' type='text/javascript' charset='utf-8'></script>
"; ";
$librerias_galeria =" $librerias_galeria ="
<!-- <link rel='manifest' href='manifest.json'> --> <!-- <link rel='manifest' href='manifest.json'> -->
<link rel='stylesheet' type='text/css' href='librerias/slick/slick.css'> <link rel='stylesheet' type='text/css' href='librerias/slick/slick.css'>
<link rel='stylesheet' type='text/css' href='librerias/slick/slick-theme.css'> <link rel='stylesheet' type='text/css' href='librerias/slick/slick-theme.css'>
<link rel='stylesheet' type='text/css' href='librerias/slick/style.css'> <link rel='stylesheet' type='text/css' href='librerias/slick/style.css'>
<script src='manup.js'></script> <script src='manup.js'></script>
"; ";
$registros=1; $registros=1;
$plantilla="landingpage"; $plantilla="landingpage";
$librerias_cabeza =" $librerias_cabeza ="
<script src='./librerias/ekko-lightbox/4.0.1/ekko-lightbox.min.js'></script> <script src='./librerias/ekko-lightbox/4.0.1/ekko-lightbox.min.js'></script>
<script src='./librerias/charts/Chart.bundle.js'></script> <script src='./librerias/charts/Chart.bundle.js'></script>
<script src='./librerias/charts/utils.js'></script> <script src='./librerias/charts/utils.js'></script>
$presentacion_cabeza $librerias_galeria $presentacion_cabeza $librerias_galeria
"; ";
$librerias_pie =" $librerias_pie ="
$aplicacion_pie $aplicacion_pie
<!-- <script> <!-- <script>
if('serviceWorker' in navigator) { if('serviceWorker' in navigator) {
navigator.serviceWorker navigator.serviceWorker
@ -570,7 +570,7 @@ if('serviceWorker' in navigator) {
count++; count++;
} }
}); });
loadArticle(1,$form,'galeria',$registros,'scroll-galeria'); loadArticle(1,$form,'galeria',$registros,'scroll-galeria');
loadArticle(2,$form,'galeria',$registros,'scroll-galeria'); loadArticle(2,$form,'galeria',$registros,'scroll-galeria');
loadArticle(3,$form,'galeria',$registros,'scroll-galeria'); loadArticle(3,$form,'galeria',$registros,'scroll-galeria');
@ -594,7 +594,7 @@ if('serviceWorker' in navigator) {
count++; count++;
} }
}); });
}); });
@ -604,7 +604,7 @@ if('serviceWorker' in navigator) {
</script> </script>
"; ";
@ -621,7 +621,7 @@ if('serviceWorker' in navigator) {
$id_campo = $campo_imagen[0]; $id_campo = $campo_imagen[0];
if($id_campo[0] =="") { if($id_campo[0] =="") {
$galeria=""; $galeria="";
}else{ }else{
$galeria= " $galeria= "
<section id='galeria' class='' > <section id='galeria' class='' >
@ -630,24 +630,24 @@ if('serviceWorker' in navigator) {
</div> </div>
</div> </div>
</section> </section>
"; ";
} }
if($geo[0] != "") { if($geo[0] != "") {
$mapa = " $mapa = "
<a name='mapa'></a> <a name='mapa'></a>
<embed class='' src='mapero.php?id=$form' width='100%' style='height: calc(100vh - 150px);' webkitAllowFullScreen mozallowfullscreen allowFullScreen ></embed> <embed class='' src='mapero.php?id=$form' width='100%' style='height: calc(100vh - 150px);' webkitAllowFullScreen mozallowfullscreen allowFullScreen ></embed>
"; ";
}else {$mapa = "";} }else {$mapa = "";}
$estadisticas = portal_listado_campos("$form"); $estadisticas = portal_listado_campos("$form");
$acciones= formulario_acciones("$form","aplicacion"); $acciones= formulario_acciones("$form","aplicacion");
$no_mostrar="display:none; "; $no_mostrar="display:none; ";
$footer=" $footer="
<nav class='navbar navbar-inverse navbar-fixed-bottom'> <nav class='navbar navbar-inverse navbar-fixed-bottom'>
<div class='list-inline'> <div class='list-inline'>
<ul class='center-block' style=' <ul class='center-block' style='
float:none; float:none;
margin:0 auto; margin:0 auto;
@ -658,10 +658,10 @@ if('serviceWorker' in navigator) {
</div> </div>
</nav>"; </nav>";
$onload=" $onload="
<div class='reveal' style='bottom: 80px !important; '> <div class='reveal' style='bottom: 80px !important; '>
<div class='slides' > <div class='slides' >
<section id='inicio' class='text-center scrollable' > <section id='inicio' class='text-center scrollable' >
@ -677,12 +677,12 @@ if('serviceWorker' in navigator) {
<hr> <hr>
<a href='https://tupale.co'>Tupale.co</a> <a href='https://tupale.co'>Tupale.co</a>
</section> </section>
$galeria $galeria
<section id='estadisticas' class='scrollable' > <section id='estadisticas' class='scrollable' >
$estadisticas $estadisticas
</section> </section>
<section id='mapa'> <section id='mapa'>
$mapa $mapa
@ -709,15 +709,15 @@ if('serviceWorker' in navigator) {
$embebido = "1"; $embebido = "1";
$onload = formulario_embebido($form,$opciones); $onload = formulario_embebido($form,$opciones);
$librerias_cabeza =" $librerias_cabeza ="
<script src='./librerias/summernote/summernote.js'></script> <script src='./librerias/summernote/summernote.js'></script>
<link href='./librerias/summernote/summernote.css' rel='stylesheet'> <link href='./librerias/summernote/summernote.css' rel='stylesheet'>
"; ";
$librerias_pie =" $librerias_pie ="
<script type='text/javascript'> <script type='text/javascript'>
//// wysiwyg //// wysiwyg
var edit = function() { var edit = function() {
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar: $('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:
[ [
['style', ['bold', 'italic', 'underline', 'clear']], ['style', ['bold', 'italic', 'underline', 'clear']],
['font', ['strikethrough', 'superscript', 'subscript', 'fontname']], ['font', ['strikethrough', 'superscript', 'subscript', 'fontname']],
@ -762,7 +762,7 @@ if('serviceWorker' in navigator) {
$no_mostrar ="display:none; "; $no_mostrar ="display:none; ";
/*if($titulo[0] !="") { /*if($titulo[0] !="") {
$logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ; $logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
$descripcion = remplacetas('empresa','id',"$id_empresa",'slogan','') ; $descripcion = remplacetas('empresa','id',"$id_empresa",'slogan','') ;
//$background_imagen = buscar_imagen('',"","","$id_empresa"); //$background_imagen = buscar_imagen('',"","","$id_empresa");
$background_imagen = remplacetas('empresa','id',"$id_empresa",'imagen','') ; $background_imagen = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
@ -798,22 +798,22 @@ $aplicacion_pie="
// More info https://github.com/hakimel/reveal.js#dependencies // More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [ dependencies: [
] ]
}); });
</script> </script>
<script src='librerias/slick/slick.js' type='text/javascript' charset='utf-8'></script> <script src='librerias/slick/slick.js' type='text/javascript' charset='utf-8'></script>
"; ";
$librerias_pie = "$aplicacion_pie"; $librerias_pie = "$aplicacion_pie";
$librerias_cabeza =" $librerias_cabeza ="
$presentacion_cabeza "; $presentacion_cabeza ";
$suite_listado = suite_listado("$id","$_REQUEST[suite]"); $suite_listado = suite_listado("$id","$_REQUEST[suite]");
$onload = "$suite_listado"; $onload = "$suite_listado";
} }
elseif($v[0] =='m') { elseif($v[0] =='m') {
@ -822,7 +822,7 @@ $aplicacion_pie="
$librerias_cabeza=' $librerias_cabeza='
<link rel="stylesheet" type="text/css" href="librerias/datatables/datatables.css"> <link rel="stylesheet" type="text/css" href="librerias/datatables/datatables.css">
<script type="text/javascript" charset="utf8" src="librerias/datatables/datatables.js"></script> <script type="text/javascript" charset="utf8" src="librerias/datatables/datatables.js"></script>
'; ';
$empresa = remplacetas('form_id','id',$form,'id_empresa',"") ; $empresa = remplacetas('form_id','id',$form,'id_empresa',"") ;
$razon_social_portal = remplacetas('empresa','id',"$empresa[0]",'razon_social','') ; $razon_social_portal = remplacetas('empresa','id',"$empresa[0]",'razon_social','') ;
@ -837,32 +837,32 @@ $aplicacion_pie="
$form =$v[1]; $form =$v[1];
$embebido = "1"; $embebido = "1";
$no_mostrar ="display:none; "; $no_mostrar ="display:none; ";
$publico = remplacetas('form_id','id',$form,'publico','') ; $publico = remplacetas('form_id','id',$form,'publico','') ;
$empresa_seguridad = remplacetas('form_id','id',$form,'id_empresa','') ; $empresa_seguridad = remplacetas('form_id','id',$form,'id_empresa','') ;
if($publico[0] != "1" and ( $_SESSION['id_empresa'] != $empresa_seguridad[0] ) ) { if($publico[0] != "1" and ( $_SESSION['id_empresa'] != $empresa_seguridad[0] ) ) {
$resultado = " <div class='alert alert-danger'><h1><a href='./milfs/'>Ingresa</a> con tu usuario para consultar esta aplicación. <i class='fa fa-user-circle-o'></i></h1>"; $resultado = " <div class='alert alert-danger'><h1><a href='./milfs/'>Ingresa</a> con tu usuario para consultar esta aplicación. <i class='fa fa-user-circle-o'></i></h1>";
$onload =$resultado; $onload =$resultado;
} }
else { else {
$librerias_cabeza =" $librerias_cabeza ="
<script type='text/javascript' src='librerias/notas/script.js'></script> <script type='text/javascript' src='librerias/notas/script.js'></script>
<script type='text/javascript' src='./librerias/jquery/jquery-ui.min.js'></script> <script type='text/javascript' src='./librerias/jquery/jquery-ui.min.js'></script>
<script type='text/javascript' src='./librerias/jquery/jquery.ui.touch-punch.js'></script> <script type='text/javascript' src='./librerias/jquery/jquery.ui.touch-punch.js'></script>
<script type='text/javascript' src='./librerias/jquery/jquery.touch.js'></script> <script type='text/javascript' src='./librerias/jquery/jquery.touch.js'></script>
<script type='text/javascript' src='./librerias/notas/jquery.infinitedrag.js'></script> <script type='text/javascript' src='./librerias/notas/jquery.infinitedrag.js'></script>
<link rel='stylesheet' type='text/css' href='./librerias/notas/styles.css' /> <link rel='stylesheet' type='text/css' href='./librerias/notas/styles.css' />
"; ";
$tablero = notas_tablero("$form"); $tablero = notas_tablero("$form");
$onload = "$tablero"; $onload = "$tablero";
} }
} }
elseif($v[0] =='o') { elseif($v[0] =='o') {
/// f= FORMULARIO /// f= FORMULARIO
$form =$v[1]; $form =$v[1];
@ -882,20 +882,20 @@ $aplicacion_pie="
if($geo[0] != "") { if($geo[0] != "") {
$mapa = " $mapa = "
<a name='mapa'></a> <a name='mapa'></a>
<embed class='' src='mapero.php?id=$form' width='100%' style='height: calc(100vh - 50px);' webkitAllowFullScreen mozallowfullscreen allowFullScreen ></embed> <embed class='' src='mapero.php?id=$form' width='100%' style='height: calc(100vh - 50px);' webkitAllowFullScreen mozallowfullscreen allowFullScreen ></embed>
"; ";
$boton_mapa ="<li><a href='#mapa'><i class='fa fa-map-o' aria-hidden='true'></i> Mapa</a></li>"; $boton_mapa ="<li><a href='#mapa'><i class='fa fa-map-o' aria-hidden='true'></i> Mapa</a></li>";
}else {$mapa = ""; $boton_mapa="";} }else {$mapa = ""; $boton_mapa="";}
$onload=" $onload="
<style> <style>
.parallax_banner { .parallax_banner {
/* The image used */ /* The image used */
background-image: url('milfs/images/secure/?file=600/$logo[0]'); background-image: url('milfs/images/secure/?file=600/$logo[0]');
/* Full height */ /* Full height */
height: 50%; height: 50%;
/* Create the parallax scrolling effect */ /* Create the parallax scrolling effect */
background-attachment: fixed; background-attachment: fixed;
@ -924,18 +924,18 @@ $aplicacion_pie="
</style> </style>
<div class='parallax_banner'></div> <div class='parallax_banner'></div>
<div style='min-height:200px;'> <div style='min-height:200px;'>
$banner $banner
</div> </div>
<div class='barra nav ' id='barra_aplicaciones'> <div class='barra nav ' id='barra_aplicaciones'>
<div class='navbar-header'> <div class='navbar-header'>
@ -966,10 +966,10 @@ $aplicacion_pie="
</div> </div>
<div id='mapa' class='container'><a name ='mapa' ></a>$mapa</div> <div id='mapa' class='container'><a name ='mapa' ></a>$mapa</div>
$presentacion $presentacion
<script> <script>
// When the user scrolls the page, execute myFunction // When the user scrolls the page, execute myFunction
window.onscroll = function() {myFunction()}; window.onscroll = function() {myFunction()};
// Get the header // Get the header
@ -986,7 +986,7 @@ function myFunction() {
header.classList.remove('sticky'); header.classList.remove('sticky');
} }
} }
</script> </script>
"; ";
} }
@ -1081,7 +1081,7 @@ $uri = $_SERVER['REQUEST_URI'];
<script type='text/javascript' src='librerias/exif/exif.js'></script> <script type='text/javascript' src='librerias/exif/exif.js'></script>
<link rel="apple-touch-icon-precomposed" href="<?php echo "milfs/images/secure/?file=150/$logo[0]"; ?>"> <link rel="apple-touch-icon-precomposed" href="<?php echo "milfs/images/secure/?file=150/$logo[0]"; ?>">
<title><?php echo @$titulo[0]; ?> <?php echo strip_tags($slogan[0]); ?> Tupale.co </title> <title><?php echo @$titulo[0]; ?> <?php echo strip_tags($slogan[0]); ?> Tupale.co </title>
<!-- <!--
<link href="./librerias/sidebar/css/simple-sidebar.css" rel="stylesheet" > <link href="./librerias/sidebar/css/simple-sidebar.css" rel="stylesheet" >
@ -1089,7 +1089,7 @@ $uri = $_SERVER['REQUEST_URI'];
<?php $xajax->printJavascript("milfs/xajax/"); <?php $xajax->printJavascript("milfs/xajax/");
$xajax->statusMessagesOn(); $xajax->statusMessagesOn();
$css = remplacetas('form_parametrizacion','campo',"index",'descripcion'," tabla='css' and opcion = 'bootstrap' and id_empresa = '$id_empresa'") ; $css = remplacetas('form_parametrizacion','campo',"index",'descripcion'," tabla='css' and opcion = 'bootstrap' and id_empresa = '$id_empresa'") ;
if($css[0] !="") { if($css[0] !="") {
@ -1148,11 +1148,11 @@ $uri = $_SERVER['REQUEST_URI'];
<!-- <script src="./librerias/charts/Chart.bundle.js"></script> <!-- <script src="./librerias/charts/Chart.bundle.js"></script>
<script src="./librerias/charts/utils.js"></script> --> <script src="./librerias/charts/utils.js"></script> -->
<script src="./librerias/lazy/jquery.lazy.min.js"></script> <script src="./librerias/lazy/jquery.lazy.min.js"></script>
<script src='./librerias/summernote/summernote.js'></script> <script src='./librerias/summernote/summernote.js'></script>
<link href='./librerias/summernote/summernote.css' rel='stylesheet'> <link href='./librerias/summernote/summernote.css' rel='stylesheet'>
<script type='text/javascript'> var edit = function() { $('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:[ ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript', 'fontname']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph', 'style']], ['height', ['height']], ['insert', ['picture', 'link', 'video', 'table', 'hr']], ['misc', ['fullscreen', 'codeview', 'undo', 'redo']] ] }); }; var save = function() { var makrup = $('.wysiwyg').summernote('code'); $('.wysiwyg').summernote('destroy'); }; $(document).ready(function() { $('.wysiwyg_auto').summernote({dialogsInBody: true}); }); </script> <script type='text/javascript'> var edit = function() { $('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true, toolbar:[ ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript', 'fontname']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph', 'style']], ['height', ['height']], ['insert', ['picture', 'link', 'video', 'table', 'hr']], ['misc', ['fullscreen', 'codeview', 'undo', 'redo']] ] }); }; var save = function() { var makrup = $('.wysiwyg').summernote('code'); $('.wysiwyg').summernote('destroy'); }; $(document).ready(function() { $('.wysiwyg_auto').summernote({dialogsInBody: true}); }); </script>
<script> <script>
$(function() { $(function() {
$('.lazy').lazy({ $('.lazy').lazy({
// your configuration goes here // your configuration goes here
@ -1161,7 +1161,7 @@ $uri = $_SERVER['REQUEST_URI'];
// scrollDirection: 'vertical', // scrollDirection: 'vertical',
//effect: 'fadeIn', //effect: 'fadeIn',
//visibleOnly: true, //visibleOnly: true,
onError: function(element) { onError: function(element) {
console.log('error loading ' + element.data('src')); console.log('error loading ' + element.data('src'));
} }
@ -1214,8 +1214,8 @@ $menu_lateral = "
<h3 >".@$titulo[0]."</h3> <h3 >".@$titulo[0]."</h3>
<p>".@$descripcion[0]." </p> <p>".@$descripcion[0]." </p>
<ul class='fh5co-social'> <ul class='fh5co-social'>
$soporte $soporte
<li><a href='https://twitter.com/$twitter[0]'><i class='icon-twitter'></i></a></li> <li><a href='https://twitter.com/$twitter[0]'><i class='icon-twitter'></i></a></li>
<li><a href='https://www.facebook.com/$facebook[0]'><i class='icon-facebook'></i></a></li> <li><a href='https://www.facebook.com/$facebook[0]'><i class='icon-facebook'></i></a></li>
@ -1245,7 +1245,7 @@ $menu_lateral = "
} }
?> ?>
<link href="./milfs/css/style.css" rel="stylesheet"> <link href="./milfs/css/style.css" rel="stylesheet">
<script src="milfs/js/scripts.js"></script> <script src="milfs/js/scripts.js"></script>
@ -1260,7 +1260,7 @@ $menu_lateral = "
<!-- <script src="./librerias/ekko-lightbox/4.0.1/ekko-lightbox.min.js"></script> --> <!-- <script src="./librerias/ekko-lightbox/4.0.1/ekko-lightbox.min.js"></script> -->
<!--firma --> <!--firma -->
<!-- <!--
<script src="librerias/firma/signature_pad.js"></script> <script src="librerias/firma/signature_pad.js"></script>
<!-- firma pie --> <!-- firma pie -->
@ -1268,10 +1268,10 @@ $menu_lateral = "
<script src="librerias/firma/app.js"></script> <script src="librerias/firma/app.js"></script>
--> -->
<?php echo $css_adicional; <?php echo $css_adicional;
if(!isset($_SESSION['id']) ){ ?> if(!isset($_SESSION['id']) ){ ?>
<script type="text/javascript"> <script type="text/javascript">
function addLink() { function addLink() {
var body_element = document.getElementsByTagName('body')[0]; var body_element = document.getElementsByTagName('body')[0];
var selection; var selection;
@ -1304,12 +1304,12 @@ document.oncopy = addLink;
echo " " ; echo " " ;
} }
if(isset($_SESSION['id'])) {$id_empresa_portada='1'; echo " if(isset($_SESSION['id'])) {$id_empresa_portada='1'; echo "
<span style=' $no_mostrar '>".panel_aplicaciones('1',"$_SESSION[id_empresa]","")."</span>"; } <span style=' $no_mostrar '>".panel_aplicaciones('1',"$_SESSION[id_empresa]","")."</span>"; }
if(isset($_REQUEST['eventos'])) { if(isset($_REQUEST['eventos'])) {
//$embebido='1'; //$embebido='1';
$librerias_pie=" $librerias_pie="
<link href='librerias/calendar/fullcalendar.min.css' rel='stylesheet' /> <link href='librerias/calendar/fullcalendar.min.css' rel='stylesheet' />
<link href='librerias/calendar/fullcalendar.print.min.css' rel='stylesheet' media='print' /> <link href='librerias/calendar/fullcalendar.print.min.css' rel='stylesheet' media='print' />
@ -1333,7 +1333,7 @@ $css_adicional
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$('#calendar').fullCalendar({ $('#calendar').fullCalendar({
header: { header: {
left: 'prev,next today', left: 'prev,next today',
@ -1345,7 +1345,7 @@ $css_adicional
themeSystem: 'bootstrap3', themeSystem: 'bootstrap3',
navLinks: true, // can click day/week names to navigate views navLinks: true, // can click day/week names to navigate views
editable: false, editable: false,
eventLimit: true, // allow \"more\" link when too many events eventLimit: true, // allow \"more\" link when too many events
events: { events: {
url: 'milfs/api.php', url: 'milfs/api.php',
@ -1357,7 +1357,7 @@ $css_adicional
error: function() { error: function() {
$('#script-warning').show(); $('#script-warning').show();
} }
}, },
buttonText: { buttonText: {
listMonth: 'Agenda', listMonth: 'Agenda',
listYear: 'Año', listYear: 'Año',
@ -1366,7 +1366,7 @@ $css_adicional
loading: function(bool) { loading: function(bool) {
$('#loading').toggle(bool); $('#loading').toggle(bool);
} }
, ,
eventMouseover: function (data, event, view) { eventMouseover: function (data, event, view) {
@ -1403,9 +1403,9 @@ $css_adicional
viewDisplay: function () { viewDisplay: function () {
tooltip.hide() tooltip.hide()
}, },
}); });
}); });
</script><h1 class='titulo_eventos text-center'>$titulo[0]</h1><div class='container-fluid' id='calendar'></div><br>"; </script><h1 class='titulo_eventos text-center'>$titulo[0]</h1><div class='container-fluid' id='calendar'></div><br>";
@ -1457,7 +1457,7 @@ echo $css_adicional;
</body> </body>
</html> </html>
<!-- fin embebido --> <!-- fin embebido -->
<?php <?php
@ -1491,7 +1491,7 @@ echo $css_adicional;
<div id='meta_cabecera' class="col-lg-12 col-md-12 "> <div id='meta_cabecera' class="col-lg-12 col-md-12 ">
<div class="container"> <div class="container">
<div class="col-md-9"> <div class="col-md-9">
<div id='formulario_login' class='' ></div> <div id='formulario_login' class='' ></div>
<div class='container' div='contenedor_cabecera'> <div class='container' div='contenedor_cabecera'>
@ -1501,7 +1501,7 @@ echo $css_adicional;
</a> </a>
</div> </div>
<div class='col-md-9'> <div class='col-md-9'>
<h1 id="titulo_cabecera" data-toc-skip ><a href="<?php if($id_form !=""){echo "s".$id_form;} ?>"><?php echo $titulo[0]; ?></a></h1> <h1 id="titulo_cabecera" data-toc-skip ><a href="<?php if($id_form !=""){echo "s".$id_form;} ?>"><?php echo $titulo[0]; ?></a></h1>
<div id='slogan_cabecera'><p><?php echo "$slogan[0] "; ?> </p></div> <div id='slogan_cabecera'><p><?php echo "$slogan[0] "; ?> </p></div>
</div> </div>
</div> </div>
@ -1542,17 +1542,17 @@ echo $css_adicional;
</header> </header>
<div class="container"> <div class="container">
<?php <?php
$id_campo = campo_titulo($set) ; $id_campo = campo_titulo($set) ;
$corpus = formulario_corpus("$set","$id_campo","contenido","barras","texto_articulo"); $corpus = formulario_corpus("$set","$id_campo","contenido","barras","texto_articulo");
$ultimos = mas_visto("ultimos","5","1","$set","$id_empresa"); $ultimos = mas_visto("ultimos","5","1","$set","$id_empresa");
if ($v[0]=='s'){ if ($v[0]=='s'){
$buscar_datos = buscar_datos("*formato*","$set","$plantilla","texto_articulo"); $buscar_datos = buscar_datos("*formato*","$set","$plantilla","texto_articulo");
echo " echo "
<div class='col-md-3 hidden-xs '> <div class='col-md-3 hidden-xs '>
<aside id='aside_index'> <aside id='aside_index'>
$buscar_datos $buscar_datos
<div id='grid_resultado_landing'></div> <div id='grid_resultado_landing'></div>
<br> <br>
<hr> <hr>
@ -1581,7 +1581,7 @@ echo $css_adicional;
//echo mas_visto("formulario","4",""); //echo mas_visto("formulario","4","");
echo ""; echo "";
} }
if($acceso ==1) { if($acceso ==1) {
if($set != "") { if($set != "") {

View File

@ -1,6 +1,6 @@
<?php session_start(); <?php session_start();
//ini_set('display_errors', 'On'); //ini_set('display_errors', 'On');
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');} if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
require ('milfs/xajax/xajax.inc.php'); require ('milfs/xajax/xajax.inc.php');
$xajax = new xajax(); $xajax = new xajax();
require ("milfs/funciones/conex.php"); require ("milfs/funciones/conex.php");
@ -23,10 +23,10 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
<?php $xajax->printJavascript("xajax/"); ?> <?php $xajax->printJavascript("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"> <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">
<?php <?php
//$xajax->debugOn(''); //$xajax->debugOn('');
$embebido =0; $embebido =0;
if( isset($_REQUEST['empresa']) OR empty($_REQUEST) OR isset($_REQUEST['set']) OR isset($_REQUEST['identificador']) ) { if( isset($_REQUEST['empresa']) OR empty($_REQUEST) OR isset($_REQUEST['set']) OR isset($_REQUEST['identificador']) ) {
@ -38,7 +38,7 @@ if($id[0]=="") { $id_empresa = "1";}
if(!isset($_REQUEST['set'])){ if(!isset($_REQUEST['set'])){
$titulo = remplacetas('empresa','id',"$id_empresa",'razon_social','') ; $titulo = remplacetas('empresa','id',"$id_empresa",'razon_social','') ;
$descripcion = remplacetas('empresa','id',"$id_empresa",'slogan','') ; $descripcion = remplacetas('empresa','id',"$id_empresa",'slogan','') ;
$background_imagen = buscar_imagen('',"","","$id_empresa"); $background_imagen = buscar_imagen('',"","","$id_empresa");
$uri_set = ""; $uri_set = "";
$acceso = 1; $acceso = 1;
} }
@ -47,19 +47,19 @@ if($id[0]=="") { $id_empresa = "1";}
$id_empresa = $empresa[0]; $id_empresa = $empresa[0];
$titulo = remplacetas('form_id','id',$_REQUEST['set'],'nombre',"") ; $titulo = remplacetas('form_id','id',$_REQUEST['set'],'nombre',"") ;
$descripcion = remplacetas('form_id','id',$_REQUEST['set'],'descripcion',"") ; $descripcion = remplacetas('form_id','id',$_REQUEST['set'],'descripcion',"") ;
$background_imagen = buscar_imagen($_REQUEST['set'],"","","$id_empresa"); $background_imagen = buscar_imagen($_REQUEST['set'],"","","$id_empresa");
$uri_set = ""; $uri_set = "";
$publico = remplacetas('form_id','id',$_REQUEST['set'],'publico',"") ; $publico = remplacetas('form_id','id',$_REQUEST['set'],'publico',"") ;
if($publico[0] =='1') {$acceso = 1;} if($publico[0] =='1') {$acceso = 1;}
} }
if( isset($_REQUEST['identificador'])){ if( isset($_REQUEST['identificador'])){
$empresa = remplacetas('form_datos','control',$_REQUEST['identificador'],'id_empresa',"") ; $empresa = remplacetas('form_datos','control',$_REQUEST['identificador'],'id_empresa',"") ;
$id_empresa = $empresa[0]; $id_empresa = $empresa[0];
$form = remplacetas('form_datos','control',$_REQUEST['identificador'],'form_id',"") ; $form = remplacetas('form_datos','control',$_REQUEST['identificador'],'form_id',"") ;
$titulo = remplacetas('form_id','id',$form['0'],'nombre',"") ; $titulo = remplacetas('form_id','id',$form['0'],'nombre',"") ;
$descripcion = remplacetas('form_id','id',$form['0'],'descripcion',"") ; $descripcion = remplacetas('form_id','id',$form['0'],'descripcion',"") ;
$background_imagen = buscar_imagen($form[0],"","","$id_empresa"); $background_imagen = buscar_imagen($form[0],"","","$id_empresa");
$uri_set = "<a class='' href='?set=$form[0]'>$titulo[0]</a>"; $uri_set = "<a class='' href='?set=$form[0]'>$titulo[0]</a>";
$publico = remplacetas('form_id','id',$form[0],'publico',"") ; $publico = remplacetas('form_id','id',$form[0],'publico',"") ;
if($publico[0] =='1') {$acceso = 1;} if($publico[0] =='1') {$acceso = 1;}
@ -80,7 +80,7 @@ $sigla = remplacetas('empresa','id',"$id_empresa",'sigla','') ;
<!-- Custom CSS --> <!-- Custom CSS -->
<!-- Custom Fonts --> <!-- Custom Fonts -->
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> <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 --> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
@ -115,7 +115,7 @@ h6 {
} }
.topnav { .topnav {
font-size: 14px; font-size: 14px;
} }
.lead { .lead {
@ -282,7 +282,7 @@ p.copyright {
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand topnav" href="?empresa=<?php echo $id_empresa; ?>"><i class='fa fa-home'></i> <?php echo $sigla[0]; ?></a> <a class="navbar-brand topnav" href="?empresa=<?php echo $id_empresa; ?>"><i class='fa fa-home'></i> <?php echo $sigla[0]; ?></a>
</div> </div>
<!-- Collect the nav links, forms, and other content for toggling --> <!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
@ -309,9 +309,9 @@ p.copyright {
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="intro-message"> <div class="intro-message">
<h1><?php echo $titulo[0]; ?></h1> <h1><?php echo $titulo[0]; ?></h1>
<h3><?php echo $descripcion[0]; ?></h3> <h3><?php echo $descripcion[0]; ?></h3>
<hr class="intro-divider"> <hr class="intro-divider">
<ul class="list-inline intro-social-buttons"> <ul class="list-inline intro-social-buttons">
@ -337,17 +337,17 @@ p.copyright {
<!-- Page Content --> <!-- Page Content -->
<a name="formularios"></a> <a name="formularios"></a>
<?php <?php
if($acceso ==1) { if($acceso ==1) {
if(isset($_REQUEST['set'])) { if(isset($_REQUEST['set'])) {
echo landingpage_contenido_formulario($_REQUEST['set']); } echo landingpage_contenido_formulario($_REQUEST['set']); }
elseif(isset($_REQUEST['identificador'])) { echo landingpage_contenido_identificador($_REQUEST['identificador']); } elseif(isset($_REQUEST['identificador'])) { echo landingpage_contenido_identificador($_REQUEST['identificador']); }
else{ echo landingpage_contenido($id_empresa);} else{ echo landingpage_contenido($id_empresa);}
} }
?> ?>
<a name="contact"></a> <a name="contact"></a>
<div class="banner"> <div class="banner">
@ -439,7 +439,7 @@ if (isset($_REQUEST['c'])) {$c = $_REQUEST['c'];} else {$c = "";}
if (isset($_REQUEST['f'])) {$f = $_REQUEST['f'];} else {$f = "";} if (isset($_REQUEST['f'])) {$f = $_REQUEST['f'];} else {$f = "";}
if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";} if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
?> ?>
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.css"> <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.css">
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.min.css"> <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.min.css">
<link href='css/estilos.php?dd' rel='stylesheet'> <link href='css/estilos.php?dd' rel='stylesheet'>
@ -447,7 +447,7 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
<style> <style>
#map {width: 500px;height:200px;} #map {width: 500px;height:200px;}
</style> </style>
@ -467,11 +467,11 @@ if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
<script src="js/scripts.js"></script> <script src="js/scripts.js"></script>
<script type="text/javascript"> <script type="text/javascript">
function evdragstart(ev,el) { //ev= el evento, el=elemento arrastrado. function evdragstart(ev,el) { //ev= el evento, el=elemento arrastrado.
cont1=el.parentNode; //guardamos el elemento padre del elemento en una variable. cont1=el.parentNode; //guardamos el elemento padre del elemento en una variable.
ev.dataTransfer.setData("text",ev.target.id); //guardamos datos del elemento. ev.dataTransfer.setData("text",ev.target.id); //guardamos datos del elemento.
} }
function evdragover (ev) { //ev=el evento. function evdragover (ev) { //ev=el evento.
@ -479,7 +479,7 @@ function evdragover (ev) { //ev=el evento.
} }
function evdrop(ev,el) { //ev=el evento; el=receptor de soltado function evdrop(ev,el) { //ev=el evento; el=receptor de soltado
ev.stopPropagation(); //impedir otras acciones ev.stopPropagation(); //impedir otras acciones
ev.preventDefault(); //quitar comportamiento por defecto ev.preventDefault(); //quitar comportamiento por defecto
var data=ev.dataTransfer.getData("text"); //recogemos datos del elemento var data=ev.dataTransfer.getData("text"); //recogemos datos del elemento
mielem=ev.target.appendChild(document.getElementById(data)); //obtenemos el elemento arrastrado mielem=ev.target.appendChild(document.getElementById(data)); //obtenemos el elemento arrastrado
@ -504,7 +504,7 @@ function evdrop(ev,el) { //ev=el evento; el=receptor de soltado
</head> </head>
<body > <body >
<?php if($embebido ==1) { <?php if($embebido ==1) {
if($form!=''){ echo formulario_embebido($form,$opciones);} if($form!=''){ echo formulario_embebido($form,$opciones);}
elseif($identificador !='') { echo mostrar_identificador($identificador,$id);} elseif($identificador !='') { echo mostrar_identificador($identificador,$id);}
//elseif($_REQUEST['psi'] !='') { include("psi.php") ; echo $aviso;} //elseif($_REQUEST['psi'] !='') { include("psi.php") ; echo $aviso;}
@ -514,9 +514,9 @@ else{}
?> ?>
<?php echo @$onload; ?> <?php echo @$onload; ?>
<?php <?php
if ( isset ( $_SESSION['id'] ) ) { ?> if ( isset ( $_SESSION['id'] ) ) { ?>
<div class="navbar navbar-inverse nav-bar-fixed-top " role="navigation"> <div class="navbar navbar-inverse navbar-fixed-top " role="navigation">
<div class="container-fluid"> <div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display --> <!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header"> <div class="navbar-header">
@ -538,12 +538,12 @@ else{}
<div id='debug'></div> <div id='debug'></div>
<div class='container'> <div class='container'>
<div id='contenido'> <div id='contenido'>
<?php <?php
if(!isset($_SESSION['id_empresa'])) {$id_empresa_portada='1';} else{$id_empresa_portada = $_SESSION['id_empresa'];} if(!isset($_SESSION['id_empresa'])) {$id_empresa_portada='1';} else{$id_empresa_portada = $_SESSION['id_empresa'];}
$encabezado = empresa_datos("$id_empresa_portada",'encabezado'); $encabezado = empresa_datos("$id_empresa_portada",'encabezado');
$pie = empresa_datos("$id_empresa_portada",'pie'); $pie = empresa_datos("$id_empresa_portada",'pie');
echo "$encabezado"; echo "$encabezado";
?>xxx ?>xxx
<?php echo buscar_imagen("21","","",""); ?> <?php echo buscar_imagen("21","","",""); ?>
xxx xxx
@ -551,7 +551,7 @@ else{}
echo cambiar_password_formato("$_REQUEST[change]"); echo cambiar_password_formato("$_REQUEST[change]");
} }
revisar_ingreso(''); revisar_ingreso('');
?> ?>
<?php echo $pie; ?> <?php echo $pie; ?>
<img class='img-responsive center-block' src="images/logo.png" alt="MILFS"> <img class='img-responsive center-block' src="images/logo.png" alt="MILFS">
@ -577,8 +577,8 @@ revisar_ingreso('');
<div id='muestra_form'></div> <div id='muestra_form'></div>
</div> </div>
<div class='modal-footer' id='pie_modal'> <div class='modal-footer' id='pie_modal'>
</div> </div>
</div> </div>
</div> </div>
@ -591,7 +591,7 @@ revisar_ingreso('');
<div class="container"> <div class="container">
<a href='http://QWERTY.co/milfs'>&copy; MILFS Un proyecto de http://QWERTY.co</a> Se distribuye bajo licencia GPL V3 <a href='http://QWERTY.co/milfs'>&copy; MILFS Un proyecto de http://QWERTY.co</a> Se distribuye bajo licencia GPL V3
<a href="?psi" target="_psi"><i class="fa fa-smile-o "></i> Políticas de privacidad y protección de datos.</a> <a href="?psi" target="_psi"><i class="fa fa-smile-o "></i> Políticas de privacidad y protección de datos.</a>
</div> </div>
</div> </div>
<?php } ?> <?php } ?>

2
milfs

@ -1 +1 @@
Subproject commit 3abf313533b9ec3763a76db79bd5e785b1874672 Subproject commit 749d4a3d1e9f41e2ac433ef6be4541d095277c69