This commit is contained in:
fredyrivera 2016-11-28 12:12:17 -05:00
commit cc9e5a16b6
6 changed files with 5 additions and 13619 deletions

View File

@ -1,196 +0,0 @@
<?php
session_start();
//ini_set('display_errors', 'On');
require ('xajax/xajax.inc.php');
$xajax = new xajax();
require ('funciones/funciones.php');
require ('funciones/convert.php');
require ('funciones/login.php');
$xajax->processRequests();
//$xajax->debugOn();
?>
<!DOCTYPE html>
<html lang="en">
<head >
<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">
<meta name="description" content="">
<meta name="author" content="fredyrivera" >
<?php $xajax->printJavascript("xajax/"); ?>
<link rel="shortcut icon" href="favicon-152.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
<!-- <link href="css/estilos.php?dd" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.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.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">
<style>
#map {width: 500px;height:200px;}
</style>
<title>I<3MILFS</title>
<!-- Bootstrap core CSS -->
<!-- <script language="JavaScript" src="escritorio/librerias/scripts.js" type="text/javascript"></script> -->
<!-- Custom styles for this template -->
<!-- <link href="jumbotron.css" rel="stylesheet"> -->
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[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]-->
<?php
// if($_COOKIE['aviso'] != 'presentacion') {
//$onload = "onload = \"$('#muestraInfo').modal('toggle')\"";
//setcookie("aviso","presentacion",time()+60*60*24);
// }
//($id,$form_respuesta,$control,$tipo)
if($_REQUEST[id] !='' OR $_REQUEST[c]){$onload ="<script type=\"text/javascript\"> xajax_formulario_modal('$_REQUEST[id]','','$_REQUEST[c]','$_REQUEST[t]')</script>";}
?>
</head>
<body >
<?php echo $onload; ?>
<?php if(isset($_REQUEST[f])){
form_publico("$_REQUEST[f]");
}
if ( isset ( $_SESSION['id'] ) ) { ?>
<div class="navbar navbar-inverse nav-bar-fixed-top " role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">MILFS</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><img src="favicon-152.png" style="width:60px" alt="MILFS" title="Multi Interactive Light Form System"></a>
</div>
<?php echo milfs() ?>
</div><!-- /.container-fluid -->
</div>
<?php }else{ } ?>
<div class='container'>
<div id='contenido'>
<?php
if(!isset($_SESSION[id_empresa])) {$id_empresa_portada='1';} else{$id_empresa_portada = $_SESSION[id_empresa];}
$encabezado = empresa_datos("$id_empresa_portada",'encabezado');
$pie = empresa_datos("$id_empresa_portada",'pie');
echo "$encabezado";
?>
<?php if(isset($_REQUEST[change])){
echo cambiar_password_formato("$_REQUEST[change]");
}
revisar_ingreso();?>
<?php echo $pie; ?>
<img class='img-responsive center-block' src="images/logo.png" alt="MILFS">
</div>
<?php
/*session_start();
// Comprobamos si existe la variable
if ( !isset ( $_SESSION['grupo'] ) ) {
// Si no existe
header("Location: includes/error.php");
// echo "hola 2";
} */
/*if($_SESSION[prioridad] <= '2'){ }else{
echo consultar_formulario();
*/
/*
formulario_importar("","");
echo "<div id='importador' name='importador'>";
echo "</div> ";
*/
/*formulario_consultar('','');
if($_REQUEST[id] !=''){$onload ="<script type=\"text/javascript\"> xajax_formulario_areas('despacho','$_REQUEST[id]')</script>";}
?>
<div id='despacho' name='despacho' class='div_flotante' style="top:500px; left:500px; position:absolute; " ></div>
<?php echo "$onload ";
}///fin de la seguridad
*/
?>
<!-- Modal -->
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div class='modal-dialog' >
<div class='modal-content'>
<div class='modal-header' >
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</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>
</div>
<div class="">
<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 target="_blank" href='http://qwerty.co/faq/category/19/privacidad-y-protecci%C3%B3n-de-datos.html'>Políticas de privacidad y protección de datos.</a>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/markdown.js"></script>
<script src="js/to-markdown.js"></script>
<script src="js/bootstrap-markdown.js"></script>
<script src="js/scripts.js"></script>
<!-- <script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>
<script src="js/bootstrap-markdown.js"></script>
<script src="js/markdown.js"></script>
<script src="js/to-markdown.js"></script>
<script src="js/bootstrap-markdown.js"></script>
-->
</body>
</html>

View File

@ -1,118 +0,0 @@
<?php
//ini_set('display_errors', 'On');
require ('xajax/xajax.inc.php');
$xajax = new xajax();
//require ('json.lab.php');
require ('funciones/funciones.php');
//require ('funciones/convert.php');
$formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre') ;
?>
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<!DOCTYPE html>
<html lang="en">
<head >
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
<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">
<meta name="description" content="">
<meta name="author" content="kleper" >
<?php $xajax->printJavascript("xajax/"); ?>
<link rel="shortcut icon" href="favicon-152.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet">
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/estilos.php?hghgS" rel="stylesheet">
<style type="text/css">
body { padding: 0; margin: 0; }
.leaflet-popup-content { width:800px !important; }
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<!-- <link rel="points" type="application/json" href="json.php?id=<?php echo $_REQUEST["id"] ?>&id2=<?php echo $_REQUEST["id2"] ?>"> -->
</head>
<body>
<div id='map'></div>
<script>
L.mapbox.accessToken = 'pk.eyJ1IjoiaHVtYW5vIiwiYSI6IlgyRTFNdFEifQ.OmQBXmcVg_zq-vMpr8P5vQ';
var map = L.mapbox.map('map', 'humano.jki5hno0')
.setView([40, -74.50], 8);
var geoJson = [ <?php echo imprime_geojson("$_REQUEST[id]","$_REQUEST[id2]");?> ];
var myLayer = L.mapbox.featureLayer()
.setGeoJSON(geoJson)
.addTo(map);
myLayer.on('layeradd', function(e) {
var marker = e.layer,
feature = marker.feature;
// Create custom popup content
var popupContent = '' + feature.properties.description + '';
// http://leafletjs.com/reference.html#popup
marker.bindPopup(popupContent,{
closeButton: false,
minWidth: 320
});
marker.setIcon(L.icon(feature.properties.icon));
});
map.fitBounds(myLayer.getBounds());
myLayer.setGeoJSON(geoJson);
</script>
<div class="panel-map" id='panel_map_<?php echo $id ?>' style="z-index: 2 !important;">
<div role='row' class='row center-block' style="; "><?php echo mapa_ficha("$_REQUEST[id]");?></div>
</div>
<!-- Modal -->
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div class='modal-dialog' >
<div class='modal-content'>
<div class='modal-header' >
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</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>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>

View File

@ -1,152 +0,0 @@
<?php
//ini_set('display_errors', 'On');
require ('xajax/xajax.inc.php');
$xajax = new xajax();
//require ('json.lab.php');
require ('funciones/funciones.php');
//require ('funciones/convert.php');
$formulario_nombre = remplacetas('form_id','id',$_REQUEST[id],'nombre') ;
?>
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<!DOCTYPE html>
<html lang="en">
<head >
<title><?php echo $formulario_nombre[0] ?> MILFS</title>
<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">
<meta name="description" content="">
<meta name="author" content="fredyrivera" >
<?php $xajax->printJavascript("xajax/"); ?>
<link rel="shortcut icon" href="favicon-152.png">
<link rel="apple-touch-icon-precomposed" href="favicon-152.png">
<link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet">
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.2/mapbox.css' rel='stylesheet' />
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/estilos.php?hghgS" rel="stylesheet">
<style type="text/css">
body { padding: 0; margin: 0; }
.leaflet-popup-content { width:600px !important; }
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<link rel="points" type="application/json" href="json.lab.php?id=<?php echo $_REQUEST["id"] ?>">
</head>
<body >
<audio id="foobar" src="images/audios/audio6.mp3" preload="auto" autoplay loop controls></audio>
<style>
.info {
width: 800px;
height: 90%;
overflow-y: auto;
overflow-x: hidden;
position:absolute;
top:100px;
left:50px;
}
.info div {
border-radius:3px;
}
</style>
<div id='map'></div>
<div id='info' class='info' draggable="true"></div>
<script>
L.mapbox.accessToken = 'pk.eyJ1IjoiaHVtYW5vIiwiYSI6IlgyRTFNdFEifQ.OmQBXmcVg_zq-vMpr8P5vQ';
var map = L.mapbox.map('map', 'humano.jki5hno0')
.setView([40, -74.50], 15);
// As with any other AJAX request, this technique is subject to the Same Origin Policy:
// http://en.wikipedia.org/wiki/Same_origin_policy
var featureLayer = L.mapbox.featureLayer()
//.loadURL('json.lab.php?id=<?php echo $id ?>')
.loadURL('json.lab.php?id=<?php echo $_REQUEST[id] ?>&id2=<?php echo $_REQUEST[id2] ?>')
// Once this layer loads, we set a timer to load it again in a few seconds.
.on('ready', run)
.addTo(map);
// Add custom popups to each using our custom feature properties
featureLayer.on('layeradd', function(e) {
var marker = e.layer,
feature = marker.feature;
// Create custom popup content
var popupContent = '' + feature.properties.name + '' +
feature.properties.title +'';
var aviso = feature.properties.name;
info.innerHTML = aviso;
// http://leafletjs.com/reference.html#popup
marker.bindPopup(popupContent,{
closeButton: false,
minWidth: 320
});
marker.setIcon(L.icon(feature.properties.icon));
});
function run() {
featureLayer.eachLayer(function(l) {
map.panTo(l.getLatLng());
});
window.setTimeout(function() {
//featureLayer.loadURL('json.lab.php?id=<?php echo $_REQUEST[id] ?>');
featureLayer.loadURL('json.lab.php?id=<?php echo $_REQUEST[id] ?>&id2=<?php echo $_REQUEST[id2] ?>');
//featureLayer.loadURL('https://wanderdrone.appspot.com/');
//alert("Hola");
info.innerHTML = aviso;
},15000);
}
</script>
<div class="panel-map" id='panel_map_<?php echo $_REQUEST[id] ?>' style="z-index: 2 !important;">
<div role='row' class='row center-block' style="; "><?php echo mapa_ficha("$_REQUEST[id]");?></div>
<a onClick="window.location.reload()">*</a>
</div>
<!-- Modal -->
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
<div class='modal-dialog' >
<div class='modal-content'>
<div class='modal-header' >
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</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>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/scripts.js"></script>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -2189,7 +2189,11 @@ $asunto= "Recibiste un mensaje en [$portal_sigla] ";
else {$revisar_interacciones="";} else {$revisar_interacciones="";}
} }
$menu =" $menu ="
<<<<<<< HEAD
<div id='botones-redsocial' class='btn-group btn-group-xs' role='group' aria-label='botonera'>
=======
<div id='botones-social' class='btn-group btn-group-xs' role='group' aria-label='botonera'> <div id='botones-social' class='btn-group btn-group-xs' role='group' aria-label='botonera'>
>>>>>>> 93600a57d4130d5d8b298ea1274d33fd8e286c9c
<div id='Mensaje_$identificador' onclick=\"xajax_interaccion_identificador('$identificador','Mensaje'); \" class='btn btn-default' role='' ><span class='glyphicon glyphicon glyphicon glyphicon glyphicon-envelope' aria-hidden='true'></span> Mensaje <span class='badge' id='Mensaje_cantidad_$identificador'>$cantidad_Mensaje</span></div> <div id='Mensaje_$identificador' onclick=\"xajax_interaccion_identificador('$identificador','Mensaje'); \" class='btn btn-default' role='' ><span class='glyphicon glyphicon glyphicon glyphicon glyphicon-envelope' aria-hidden='true'></span> Mensaje <span class='badge' id='Mensaje_cantidad_$identificador'>$cantidad_Mensaje</span></div>
<div id='Si_$identificador' onclick=\"xajax_interaccion_identificador('$identificador','Si'); \"class='btn btn-success' role='' ><span class='glyphicon glyphicon glyphicon glyphicon-thumbs-up' aria-hidden='true'></span> Si <span class='badge' id='Si_cantidad_$identificador'>$cantidad_Si</span></div> <div id='Si_$identificador' onclick=\"xajax_interaccion_identificador('$identificador','Si'); \"class='btn btn-success' role='' ><span class='glyphicon glyphicon glyphicon glyphicon-thumbs-up' aria-hidden='true'></span> Si <span class='badge' id='Si_cantidad_$identificador'>$cantidad_Si</span></div>
<div id='No_$identificador' onclick=\"xajax_interaccion_identificador('$identificador','No'); \" class='btn btn-warning' role='' ><span class='glyphicon glyphicon glyphicon glyphicon-thumbs-down' aria-hidden='true'></span> No <span class='badge' id='No_cantidad_$identificador'>$cantidad_No</span></div> <div id='No_$identificador' onclick=\"xajax_interaccion_identificador('$identificador','No'); \" class='btn btn-warning' role='' ><span class='glyphicon glyphicon glyphicon glyphicon-thumbs-down' aria-hidden='true'></span> No <span class='badge' id='No_cantidad_$identificador'>$cantidad_No</span></div>

View File

@ -191,7 +191,7 @@ myLayer.setGeoJSON(geoJson);
<div class='modal-content'> <div class='modal-content'>
<div class='modal-header' > <div class='modal-header' >
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button> <button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
<!-- <h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4> --> <h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
</div> </div>
<div class='modal-body'> <div class='modal-body'>