Mejoras en la vista aplicación

This commit is contained in:
humano 2017-10-25 22:36:21 -05:00
parent c3da68b3c5
commit fee47510fe
449 changed files with 469 additions and 128 deletions

0
.htaccess Executable file → Normal file
View File

0
addon/reveal/lib/font/league-gothic/league-gothic.eot Executable file → Normal file
View File

0
addon/reveal/lib/font/league-gothic/league-gothic.ttf Executable file → Normal file
View File

0
addon/reveal/lib/font/league-gothic/league-gothic.woff Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
addon/reveal/plugin/markdown/markdown.js Executable file → Normal file
View File

0
addon/reveal/plugin/math/math.js Executable file → Normal file
View File

0
chamitrip.php Executable file → Normal file
View File

0
formulario.php Executable file → Normal file
View File

0
galeria.php Executable file → Normal file
View File

0
index.chupacabras.php Executable file → Normal file
View File

0
index.old Executable file → Normal file
View File

119
index.php Executable file → Normal file
View File

@ -277,48 +277,98 @@ if ($variable !=''){
} }
elseif($v[0] =='a') { elseif($v[0] =='a') {
$form =$v[1]; $form =$v[1];
$plantilla="carousel";
/// a=Aplicacion /// a=Aplicacion
$geo = buscar_campo_tipo($form,"14"); $geo = buscar_campo_tipo($form,"14");
$embebido = "1"; $embebido = "1";
$empresa = remplacetas('form_id','id',$form,'id_empresa',"") ; $empresa = remplacetas('form_id','id',$form,'id_empresa',"") ;
$razon_social_portal = remplacetas('empresa','id',"1",'razon_social','') ; $razon_social_portal = remplacetas('empresa','id',"1",'razon_social','') ;
$id_empresa = $empresa[0]; $id_empresa = $empresa[0];
$registros = consultar_contenido_formulario("$form",'5','','embebido','',"$plantilla"); $titulo = remplacetas('form_id','id',$form,'nombre',"") ;
$formulario = formulario_embebido($form,$opciones); $descripcion = remplacetas('form_id','id',$form,'descripcion',"") ;
//$registros = consultar_contenido_formulario("$form",'5','','embebido','',"$plantilla");
//$registros = aplicacion_carrusel("embebido","$form","$plantilla","","","5");
$registros = aplicacion_carrusel("$form",'10','','embebido','',"carousel");
$registros="<div id='mostrar_carrusel'>$registros</div>";
// $formulario = formulario_embebido($form,$opciones);
$titulo = remplacetas('form_id','id',$form,'nombre',"") ; $titulo = remplacetas('form_id','id',$form,'nombre',"") ;
$razon_social = remplacetas('empresa','id',"$id_empresa",'razon_social','') ; $razon_social = remplacetas('empresa','id',"$id_empresa",'razon_social','') ;
$slogan = remplacetas('empresa','id',"$id_empresa",'slogan','') ; $slogan = remplacetas('empresa','id',"$id_empresa",'slogan','') ;
$web = remplacetas('empresa','id',"$id_empresa",'web',''); $web = remplacetas('empresa','id',"$id_empresa",'web','');
$logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ; $logo = remplacetas('empresa','id',"$id_empresa",'imagen','') ;
if($geo[0] != "") { if($geo[0] != "") {
$mapa = " $mapa = "
<div class='text-center'> <a name='mapa'></a>
<iframe src='https://$web[0]/milfs/map.php?id=$form' width='80%' height='600px;' ></iframe> <div class=' '>
<iframe class='' src='mapero.php?id=$form' width='100%' height='900px;' webkitAllowFullScreen mozallowfullscreen allowFullScreen ></iframe>
</div>"; </div>";
}else {$mapa = "";} }else {$mapa = "";}
$estadisticas = portal_listado_campos("$form");
$acciones= formulario_acciones("$form","aplicacion");
$footer=" <style>
div.nomostrar{
display:none;
}
</style>
<nav class='navbar navbar-inverse navbar-fixed-bottom'>
<div class=''>
<ul class='nav navbar-nav center-block' style='
float:none;
margin:0 auto;
display: block;
text-align: center;'>
$acciones
</ul>
</div>
</nav>";
$aplicacion = " $aplicacion = "
<div class='container center-block' style='word-wrap: break-word; '> <a name='inicio'></a>
<div class='container text-center' style='min-height:1500px; overflow: hidden;'>
<img src='milfs/images/secure/?file=full/$logo[0]' alt='' class='img'>
<h1>$titulo[0]
<small>$descripcion[0]</small>
</h1>
<div class='text-center'><a href='https://$web[0]'><i class='fa fa-home'></i> $razon_social_portal[0]</a> / <a href='https://$web[0]/e$id_empresa'>$razon_social[0]</a> $slogan[0]</div> <div class='text-center'><a href='https://$web[0]'><i class='fa fa-home'></i> $razon_social_portal[0]</a> / <a href='https://$web[0]/e$id_empresa'>$razon_social[0]</a> $slogan[0]</div>
$formulario </div>
<div style=''>
<a name='mapa'></a>
<h2>Mapa</h2>
$mapa
</div>
<div style=''>
<a name='galeria'></a>
<h2>Galería</h2>
$registros
</div>
<div style=''>
<a name='estadisticas'></a>
<h2>Estadísticas</h2>
$estadisticas
</div>
<br>
$registros
$mapa
<span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span> <span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span>
<div class='container' style='background-color:white' > <div class='container' style='background-color:white' >
<h2><img src= 'https://qwerty.co/qr/?d=https://$web[0]/a$form'>Comparte nuestra aplicación</h2> <h2><img src= 'https://qwerty.co/qr/?d=https://$web[0]/a$form'>Comparte nuestra aplicación</h2>
<p>Descarga una aplicación para leer este código
<a href='https://play.google.com/store/search?q=qr%20code%20reader&hl=es_419'><i class='fa fa-android'></i></a>
<a href='https://itunes.apple.com/us/app/qr-reader-for-iphone/id368494609?mt=8'><i class='fa fa-apple'></i></a>
</p> </p>
</div>"; </div>
$onload = "$aplicacion"; </div>
";
$onload = "$footer $aplicacion ";
} }
elseif($v[0] =='g') { elseif($v[0] =='g') {
@ -428,6 +478,7 @@ $uri = $_SERVER['REQUEST_URI'];
$xajax->statusMessagesOn(); $xajax->statusMessagesOn();
;?> ;?>
<style> <style>
@media all { @media all {
div.saltopagina{ div.saltopagina{
display: none; display: none;
@ -485,6 +536,8 @@ legend.legend-area {
</style> </style>
<link href="./librerias/font-awesome/css/font-awesome.min.css" rel="stylesheet" > <link href="./librerias/font-awesome/css/font-awesome.min.css" rel="stylesheet" >
<!-- <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> --> <!-- <link href="https://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 -->
@ -516,14 +569,14 @@ legend.legend-area {
if($tema=="") { if($tema=="") {
$barra=" $barra="
<div class='noprint'> <div class='noprint nomostrar'>
<nav style='' class='navbar navbar-inverse navbar-fixed-top topnav' role='navigation'> <nav style='' class='navbar navbar-inverse navbar-fixed-top topnav navbar-principal ' role='navigation'>
<div style='padding:10px; ' class='container topnav '> <div style='padding:10px; ' class='container topnav '>
<ul style=' ' class='nav navbar-nav navbar-center'> <ul style=' ' class='nav navbar-nav navbar-center navbar-principal '>
<li class='dropdown' > <li class='dropdown' >
<a style=' ' href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'><i class='fa fa-bars'></i> $portal_sigla</a> <a style=' ' href='#' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'><i class='fa fa-bars'></i> $portal_sigla</a>
@ -550,37 +603,34 @@ legend.legend-area {
<script src="./librerias/jquery/jquery-2.1.4.min.js" ></script> <script src="./librerias/jquery/jquery-2.1.4.min.js" ></script>
<script src="./librerias/bootstrap/js/bootstrap.min.js" ></script> <script src="./librerias/bootstrap/js/bootstrap.min.js" ></script>
<!-- morris -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/morris.js/0.5.1/morris.min.js"></script>
<!-- morris -->
<style> <style>
.navbar .navbar-nav { .navbar .navbar-nav {
display: inline-block; display: inline-block;
float: none; float: none;
} }
.navbar .navbar-collapse { .navbar .navbar-collapse .navbar-principal {
text-align: center; text-align: center;
height: 30px; height: 30px;
margin-top: -13px; margin-top: -13px;
} }
.navbar-nav > li > a, .navbar-brand { .navbar-principal > li > a, {
padding-top:0px !important; padding-bottom:0 !important; padding-top:0px !important; padding-bottom:0 !important;
height: 30px; height: 30px;
margin-top: -13px; margin-top: -13px;
} }
.navbar {min-height:30px !important;} .navbar-principal {min-height:30px !important;}
.navbar-nav > li > a, .navbar-brand {
padding-top:0px !important; padding-bottom:0 !important;
height: 30px;
margin-top: -13px;
color:black !important;
}
.topnav { .topnav {
@ -663,7 +713,7 @@ $menu_lateral = "
<a href='#' class='fh5co-close-offcanvas js-fh5co-close-offcanvas'><span><i class='icon-cross3'></i> <span>Close</span></span></a> <a href='#' class='fh5co-close-offcanvas js-fh5co-close-offcanvas'><span><i class='icon-cross3'></i> <span>Close</span></span></a>
<div class='fh5co-bio'> <div class='fh5co-bio'>
<figure> <figure>
<img src='milfs/images/secure/?file=full/$logo[0]' alt='Free HTML5 Bootstrap Template' class='img-responsive'> <img src='milfs/images/secure/?file=full/$logo[0]' alt='' class='img-responsive'>
</figure> </figure>
<h3 data-toc-skip >LO QUE SOMOS</h3> <h3 data-toc-skip >LO QUE SOMOS</h3>
<h2 data-toc-skip >".@$razon_social[0]." </h2> <h2 data-toc-skip >".@$razon_social[0]." </h2>
@ -727,6 +777,7 @@ $menu_lateral = "
<?php echo $css_adicional; ?> <?php echo $css_adicional; ?>
<?php if(!isset($_SESSION['id']) ){ ?> <?php 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;

0
index2.php Executable file → Normal file
View File

0
index_20160319.php Executable file → Normal file
View File

0
index_20160328.php Executable file → Normal file
View File

0
index_back.php Executable file → Normal file
View File

0
landingpage.php Executable file → Normal file
View File

View File

@ -0,0 +1,37 @@
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 60px;
line-height: 60px; /* Vertically center the text there */
background-color: #f5f5f5;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body > .container {
padding: 60px 15px 0;
}
.footer > .container {
padding-right: 15px;
padding-left: 15px;
}
code {
font-size: 80%;
}

0
librerias/calendar/fullcalendar.css Executable file → Normal file
View File

0
librerias/calendar/fullcalendar.js Executable file → Normal file
View File

0
librerias/calendar/fullcalendar.min.css vendored Executable file → Normal file
View File

0
librerias/calendar/fullcalendar.min.js vendored Executable file → Normal file
View File

0
librerias/calendar/fullcalendar.print.css Executable file → Normal file
View File

0
librerias/calendar/fullcalendar.print.min.css vendored Executable file → Normal file
View File

0
librerias/calendar/gcal.js Executable file → Normal file
View File

0
librerias/calendar/gcal.min.js vendored Executable file → Normal file
View File

0
librerias/calendar/index.php Executable file → Normal file
View File

0
librerias/calendar/lib/jquery-ui.min.js vendored Executable file → Normal file
View File

0
librerias/calendar/lib/jquery.min.js vendored Executable file → Normal file
View File

0
librerias/calendar/lib/moment.min.js vendored Executable file → Normal file
View File

0
librerias/calendar/locale-all.js Executable file → Normal file
View File

0
librerias/calendar/locale/af.js Executable file → Normal file
View File

0
librerias/calendar/locale/ar-dz.js Executable file → Normal file
View File

0
librerias/calendar/locale/ar-kw.js Executable file → Normal file
View File

0
librerias/calendar/locale/ar-ly.js Executable file → Normal file
View File

0
librerias/calendar/locale/ar-ma.js Executable file → Normal file
View File

0
librerias/calendar/locale/ar-sa.js Executable file → Normal file
View File

0
librerias/calendar/locale/ar-tn.js Executable file → Normal file
View File

0
librerias/calendar/locale/ar.js Executable file → Normal file
View File

0
librerias/calendar/locale/bg.js Executable file → Normal file
View File

0
librerias/calendar/locale/ca.js Executable file → Normal file
View File

0
librerias/calendar/locale/cs.js Executable file → Normal file
View File

0
librerias/calendar/locale/da.js Executable file → Normal file
View File

0
librerias/calendar/locale/de-at.js Executable file → Normal file
View File

0
librerias/calendar/locale/de-ch.js Executable file → Normal file
View File

0
librerias/calendar/locale/de.js Executable file → Normal file
View File

0
librerias/calendar/locale/el.js Executable file → Normal file
View File

0
librerias/calendar/locale/en-au.js Executable file → Normal file
View File

0
librerias/calendar/locale/en-ca.js Executable file → Normal file
View File

0
librerias/calendar/locale/en-gb.js Executable file → Normal file
View File

0
librerias/calendar/locale/en-ie.js Executable file → Normal file
View File

0
librerias/calendar/locale/en-nz.js Executable file → Normal file
View File

0
librerias/calendar/locale/es-do.js Executable file → Normal file
View File

0
librerias/calendar/locale/es-us.js Executable file → Normal file
View File

0
librerias/calendar/locale/es.js Executable file → Normal file
View File

0
librerias/calendar/locale/et.js Executable file → Normal file
View File

0
librerias/calendar/locale/eu.js Executable file → Normal file
View File

0
librerias/calendar/locale/fa.js Executable file → Normal file
View File

0
librerias/calendar/locale/fi.js Executable file → Normal file
View File

0
librerias/calendar/locale/fr-ca.js Executable file → Normal file
View File

0
librerias/calendar/locale/fr-ch.js Executable file → Normal file
View File

0
librerias/calendar/locale/fr.js Executable file → Normal file
View File

0
librerias/calendar/locale/gl.js Executable file → Normal file
View File

0
librerias/calendar/locale/he.js Executable file → Normal file
View File

0
librerias/calendar/locale/hi.js Executable file → Normal file
View File

0
librerias/calendar/locale/hr.js Executable file → Normal file
View File

0
librerias/calendar/locale/hu.js Executable file → Normal file
View File

0
librerias/calendar/locale/id.js Executable file → Normal file
View File

0
librerias/calendar/locale/is.js Executable file → Normal file
View File

0
librerias/calendar/locale/it.js Executable file → Normal file
View File

0
librerias/calendar/locale/ja.js Executable file → Normal file
View File

0
librerias/calendar/locale/kk.js Executable file → Normal file
View File

0
librerias/calendar/locale/ko.js Executable file → Normal file
View File

0
librerias/calendar/locale/lb.js Executable file → Normal file
View File

0
librerias/calendar/locale/lt.js Executable file → Normal file
View File

0
librerias/calendar/locale/lv.js Executable file → Normal file
View File

0
librerias/calendar/locale/mk.js Executable file → Normal file
View File

0
librerias/calendar/locale/ms-my.js Executable file → Normal file
View File

0
librerias/calendar/locale/ms.js Executable file → Normal file
View File

0
librerias/calendar/locale/nb.js Executable file → Normal file
View File

0
librerias/calendar/locale/nl-be.js Executable file → Normal file
View File

0
librerias/calendar/locale/nl.js Executable file → Normal file
View File

0
librerias/calendar/locale/nn.js Executable file → Normal file
View File

0
librerias/calendar/locale/pl.js Executable file → Normal file
View File

0
librerias/calendar/locale/pt-br.js Executable file → Normal file
View File

0
librerias/calendar/locale/pt.js Executable file → Normal file
View File

0
librerias/calendar/locale/ro.js Executable file → Normal file
View File

0
librerias/calendar/locale/ru.js Executable file → Normal file
View File

Some files were not shown because too many files have changed in this diff Show More