Migración a Bootstrap 4
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.

201 lines
6.6KB

  1. <?php
  2. session_start();
  3. //ini_set('display_errors', 'On');
  4. require ('xajax/xajax.inc.php');
  5. $xajax = new xajax();
  6. require ('funciones/funciones.php');
  7. require ('funciones/convert.php');
  8. require ('funciones/login.php');
  9. $xajax->processRequests();
  10. //$xajax->debugOn();
  11. ?>
  12. <!DOCTYPE html>
  13. <html lang="en">
  14. <head >
  15. <meta charset="utf-8">
  16. <meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
  17. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  18. <meta name="viewport" content="width=device-width, initial-scale=1">
  19. <meta name="description" content="">
  20. <meta name="author" content="fredyrivera" >
  21. <?php $xajax->printJavascript("xajax/"); ?>
  22. <link rel="shortcut icon" href="favicon-152.png">
  23. <link rel="apple-touch-icon-precomposed" href="favicon-152.png">
  24. <link href="css/font-awesome/css/font-awesome.css" rel="stylesheet">
  25. <!-- <link href="css/estilos.php?dd" rel="stylesheet">
  26. <link href="css/bootstrap.min.css" rel="stylesheet">
  27. <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.css">
  28. <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.css">
  29. <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.min.css"> -->
  30. <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap.css">
  31. <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.css">
  32. <link rel="stylesheet" type="text/css" media="screen" href="css/bootstrap-markdown.min.css">
  33. <style>
  34. #map {width: 500px;height:200px;}
  35. </style>
  36. <title>I<3MILFS</title>
  37. <!-- Bootstrap core CSS -->
  38. <!-- <script language="JavaScript" src="escritorio/librerias/scripts.js" type="text/javascript"></script> -->
  39. <!-- Custom styles for this template -->
  40. <!-- <link href="jumbotron.css" rel="stylesheet"> -->
  41. <!-- Just for debugging purposes. Don't actually copy this line! -->
  42. <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  43. <!--[if lt IE 9]>
  44. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  45. <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  46. <![endif]-->
  47. <?php
  48. // if($_COOKIE['aviso'] != 'presentacion') {
  49. //$onload = "onload = \"$('#muestraInfo').modal('toggle')\"";
  50. //setcookie("aviso","presentacion",time()+60*60*24);
  51. // }
  52. //($id,$form_respuesta,$control,$tipo)
  53. if($_REQUEST[id] !='' OR $_REQUEST[c]){$onload ="<script type=\"text/javascript\"> xajax_formulario_modal('$_REQUEST[id]','','$_REQUEST[c]','$_REQUEST[t]')</script>";}
  54. ?>
  55. </head>
  56. <body >
  57. <?php if($_REQUEST[form] !='') { echo formulario_embebido("$_REQUEST[form]");
  58. }else{
  59. ?>
  60. <?php echo $onload; ?>
  61. <?php if(isset($_REQUEST[f])){
  62. form_publico("$_REQUEST[f]");
  63. }
  64. if ( isset ( $_SESSION['id'] ) ) { ?>
  65. <div class="navbar navbar-inverse nav-bar-fixed-top " role="navigation">
  66. <div class="container-fluid">
  67. <!-- Brand and toggle get grouped for better mobile display -->
  68. <div class="navbar-header">
  69. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  70. <span class="sr-only">MILFS</span>
  71. <span class="icon-bar"></span>
  72. <span class="icon-bar"></span>
  73. <span class="icon-bar"></span>
  74. </button>
  75. <a class="navbar-brand" href="#"><img src="favicon-152.png" style="width:60px" alt="MILFS" title="Multi Interactive Light Form System"></a>
  76. </div>
  77. <?php echo milfs() ?>
  78. </div><!-- /.container-fluid -->
  79. </div>
  80. <?php }else{ } ?>
  81. <div class='container'>
  82. <div id='contenido'>
  83. <?php
  84. if(!isset($_SESSION[id_empresa])) {$id_empresa_portada='1';} else{$id_empresa_portada = $_SESSION[id_empresa];}
  85. $encabezado = empresa_datos("$id_empresa_portada",'encabezado');
  86. $pie = empresa_datos("$id_empresa_portada",'pie');
  87. echo "$encabezado";
  88. ?>
  89. <?php if(isset($_REQUEST[change])){
  90. echo cambiar_password_formato("$_REQUEST[change]");
  91. }
  92. revisar_ingreso();?>
  93. <?php echo $pie; ?>
  94. <img class='img-responsive center-block' src="images/logo.png" alt="MILFS">
  95. </div>
  96. <?php
  97. /*session_start();
  98. // Comprobamos si existe la variable
  99. if ( !isset ( $_SESSION['grupo'] ) ) {
  100. // Si no existe
  101. header("Location: includes/error.php");
  102. // echo "hola 2";
  103. } */
  104. /*if($_SESSION[prioridad] <= '2'){ }else{
  105. echo consultar_formulario();
  106. */
  107. /*
  108. formulario_importar("","");
  109. echo "<div id='importador' name='importador'>";
  110. echo "</div> ";
  111. */
  112. /*formulario_consultar('','');
  113. if($_REQUEST[id] !=''){$onload ="<script type=\"text/javascript\"> xajax_formulario_areas('despacho','$_REQUEST[id]')</script>";}
  114. ?>
  115. <div id='despacho' name='despacho' class='div_flotante' style="top:500px; left:500px; position:absolute; " ></div>
  116. <?php echo "$onload ";
  117. }///fin de la seguridad
  118. */
  119. ?>
  120. <!-- Modal -->
  121. <div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
  122. <div class='modal-dialog' >
  123. <div class='modal-content'>
  124. <div class='modal-header' >
  125. <button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
  126. <h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
  127. </div>
  128. <div class='modal-body'>
  129. <div id='muestra_form'></div>
  130. </div>
  131. <div class='modal-footer' id='pie_modal'>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. <div class="">
  138. <div class="container">
  139. <a href='http://QWERTY.co/milfs'>&copy; MILFS Un proyecto de http://QWERTY.co</a> Se distribuye bajo licencia GPL V3
  140. <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>
  141. </div>
  142. </div>
  143. <?php } ?>
  144. <!-- Bootstrap core JavaScript
  145. ================================================== -->
  146. <!-- Placed at the end of the document so the pages load faster -->
  147. <script src="js/jquery.min.js"></script>
  148. <script src="js/bootstrap.js"></script>
  149. <script src="js/markdown.js"></script>
  150. <script src="js/to-markdown.js"></script>
  151. <script src="js/bootstrap-markdown.js"></script>
  152. <script src="js/scripts.js"></script>
  153. <!-- <script src="js/jquery.min.js"></script>
  154. <script src="js/bootstrap.min.js"></script>
  155. <script src="js/scripts.js"></script>
  156. <script src="js/bootstrap-markdown.js"></script>
  157. <script src="js/markdown.js"></script>
  158. <script src="js/to-markdown.js"></script>
  159. <script src="js/bootstrap-markdown.js"></script>
  160. -->
  161. </body>
  162. </html>