Repositorio para la herramienta Tupale completo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
3.6KB

  1. <?php
  2. session_start();
  3. if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
  4. require ('milfs/xajax/xajax.inc.php');
  5. //$xajax = new xajax();
  6. $xajax = new xajax("");
  7. //$xajax = new xajax("https://tupale.co/index.php");
  8. require ("milfs/funciones/conex.php");
  9. require ('milfs/funciones/funciones.php');
  10. include ('milfs/addon/funciones.php');
  11. require ("milfs/includes/markdown.php");
  12. require ("milfs/includes/parametrizacion.php");
  13. require ("milfs/includes/simple_html_dom.php");
  14. ?>
  15. <!DOCTYPE html>
  16. <html lang="en">
  17. <head >
  18. <meta charset="utf-8">
  19. <meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
  20. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  21. <meta name="viewport" content="width=device-width, initial-scale=1">
  22. <meta name="description" content="">
  23. <meta name="author" content="fredyrivera" >
  24. <?php $xajax->printJavascript("xajax/"); ?>
  25. <link rel="shortcut icon" href="favicon-152.png">
  26. <link rel="apple-touch-icon-precomposed" href="favicon-152.png">
  27. <link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
  28. <link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet">
  29. <script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
  30. <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
  31. <link href="css/bootstrap.min.css" rel="stylesheet">
  32. <link href="css/estilos.php" rel="stylesheet">
  33. <style type="text/css">
  34. body { padding: 0; margin: 0; }
  35. html, body, #cupcake-map { z-index: 10; position:absolute; top:0; bottom:0px; width:100%; }
  36. .leaflet-popup-content {
  37. width:600px !important;
  38. }
  39. </style>
  40. <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
  41. <link rel="points" type="application/json" href="json.php?id=<?php echo $_REQUEST["id"] ?>">
  42. </head>
  43. <body>
  44. <?php
  45. echo aplicaciones_listado("$id_empresa","$id_form","sitemap","$div");
  46. ?>
  47. <!-- <div id="cupcake-map"></div>
  48. <script>
  49. var cupcakeTiles = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
  50. maxZooom: 18
  51. });
  52. $.getJSON($('link[rel="points"]').attr("href"), function(data) {
  53. var geojson = L.geoJson(data, {
  54. onEachFeature: function (feature, layer) {
  55. layer.bindPopup(feature.properties.name,"autoPan");
  56. }
  57. });
  58. var map = L.map('cupcake-map').fitBounds(geojson.getBounds());
  59. cupcakeTiles.addTo(map);
  60. geojson.addTo(map);
  61. });
  62. </script> -->
  63. <div class="center-block" style=" z-index:10000; bottom:10px;">
  64. <div role='row' class='row center-block' style="width:95% ; "><?php echo aplicacion_datos("$_REQUEST[id]");?></div>
  65. </div>
  66. <!-- Modal -->
  67. <div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
  68. <div class='modal-dialog' >
  69. <div class='modal-content'>
  70. <div class='modal-header' >
  71. <button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
  72. <h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
  73. </div>
  74. <div class='modal-body'>
  75. <div id='muestra_form'></div>
  76. </div>
  77. <div class='modal-footer' id='pie_modal'>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. <!-- Bootstrap core JavaScript
  83. ================================================== -->
  84. <!-- Placed at the end of the document so the pages load faster -->
  85. <script src="js/jquery.min.js"></script>
  86. <script src="js/bootstrap.min.js"></script>
  87. <script src="js/scripts.js"></script>
  88. </body>
  89. </html>