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.

251 lines
9.1KB

  1. <?php
  2. /// ESTE ARCHIVO DEBE ESTAR UN NIVEL POR ENCIMA DEL DIRECTORIO milfs
  3. session_start();
  4. //ini_set('display_errors', 'On');
  5. require ('milfs/xajax/xajax.inc.php');
  6. $xajax = new xajax();
  7. require ('milfs/funciones/funciones.php');
  8. require ('milfs/funciones/convert.php');
  9. require ('milfs/funciones/login.php');
  10. require ("milfs/funciones/conex.php");
  11. require ("milfs/includes/markdown.php");
  12. $xajax->processRequests();
  13. $logo = remplacetas('empresa','id','1','imagen') ;
  14. $direccion = remplacetas('empresa','id','1','direccion') ;
  15. $telefono = remplacetas('empresa','id','1','telefono_1') ;
  16. $email = remplacetas('empresa','id','1','email') ;
  17. $razon_social = remplacetas('empresa','id','1','razon_social') ;
  18. $sigla = remplacetas('empresa','id','1','sigla') ;
  19. $facebook = remplacetas('empresa','id','1','facebook') ;
  20. $twitter = remplacetas('empresa','id','1','twitter') ;
  21. $slogan = remplacetas('empresa','id','1','slogan') ;
  22. $web = remplacetas('empresa','id','1','web') ;
  23. ?>
  24. <!DOCTYPE html>
  25. <html lang="en">
  26. <head >
  27. <meta charset="utf-8">
  28. <meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
  29. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  30. <meta name="viewport" content="width=device-width, initial-scale=1">
  31. <meta name="description" content="">
  32. <meta name="author" content="fredyrivera" >
  33. <?php $xajax->printJavascript("milfs/xajax/"); ?>
  34. <link rel="shortcut icon" href="favicon-152.png">
  35. <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300' rel='stylesheet' type='text/css'>
  36. <link rel="apple-touch-icon-precomposed" href="favicon-152.png">
  37. <link href="milfs/css/font-awesome/css/font-awesome.css" rel="stylesheet">
  38. <!-- <link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet"> -->
  39. <!-- <script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script> -->
  40. <!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
  41. <link href="milfs/css/bootstrap.min.css" rel="stylesheet">
  42. <link href="milfs/css/estilos.php" rel="stylesheet">
  43. <!-- <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> -->
  44. <!-- <link rel="points" type="application/json" href="json.php?id=<?php echo $_REQUEST["id"] ?>"> -->
  45. <link href="milfs/css/carousel.css" rel="stylesheet">
  46. <style type="text/css">
  47. body {
  48. background: url("") no-repeat center center fixed;
  49. -webkit-background-size: cover;
  50. -moz-background-size: cover;
  51. -o-background-size: cover;
  52. background-size: cover;
  53. color: gray;
  54. background-color: black;}
  55. .alert-info{
  56. color: #341208;
  57. border-color: #341208;
  58. background-image: url("");
  59. }
  60. .jumbotron {
  61. /* background-image: url("milfs/images/secure/?file=full/<?php echo $logo[0];?>"); */
  62. background-size: cover;
  63. background-position: center;
  64. /* text-shadow: 1px 1px 1px rgba(255,255,255,0.8) ; */
  65. background-color: black;
  66. }
  67. .navbar-header > p { font-size:20px; color: white; font-family: "Open Sans",sans-serif; font-weight: normal;display:inline }
  68. .navbar-header > strong{ font-size:20px; color: #802a2a; font-weight: normal; font-family: "Open Sans",sans-serif; ;display:inline}
  69. .navbar-header {width: 50%;}
  70. .div_aplicacion {
  71. background-color: #f0eee1 !important;
  72. }
  73. .div_aplicacion:hover {
  74. -webkit-animation: animatedBackground 1s ease-out 1;
  75. -moz-animation: animatedBackground 1s ease-out 1;
  76. animation: animatedBackground 1s ease-out 1;
  77. -webkit-animation-fill-mode: forwards;
  78. animation-fill-mode: forwards;
  79. z-index: 10000;
  80. }
  81. @-webkit-keyframes animatedBackground {
  82. 0% {
  83. -webkit-transform: scale(1, 1);
  84. -moz-transform: scale(1, 1);
  85. -ms-transform: scale(1, 1);
  86. -o-transform: scale(1, 1);
  87. transform: scale(1, 1)
  88. }
  89. 100% {
  90. -webkit-transform: scale(1.1, 1.1);
  91. -moz-transform: scale(1.1, 1.1);
  92. -ms-transform: scale(1.1, 1.1);
  93. -o-transform: scale(1.1, 1.1);
  94. transform: scale(1.1, 1.1)
  95. }
  96. }
  97. @-moz-keyframes animatedBackground {
  98. 0% {
  99. -webkit-transform: scale(1, 1);
  100. -moz-transform: scale(1, 1);
  101. -ms-transform: scale(1, 1);
  102. -o-transform: scale(1, 1);
  103. transform: scale(1, 1)
  104. }
  105. 100% {
  106. -webkit-transform: scale(1.1, 1.1);
  107. -moz-transform: scale(1.1, 1.1);
  108. -ms-transform: scale(1.1, 1.1);
  109. -o-transform: scale(1.1, 1.1);
  110. transform: scale(1.1, 1.1)
  111. }
  112. }
  113. @keyframes animatedBackground {
  114. 0% {
  115. -webkit-transform: scale(1, 1);
  116. -moz-transform: scale(1, 1);
  117. -ms-transform: scale(1, 1);
  118. -o-transform: scale(1, 1);
  119. transform: scale(1, 1)
  120. }
  121. 100% {
  122. -webkit-transform: scale(1.1, 1.1);
  123. -moz-transform: scale(1.1, 1.1);
  124. -ms-transform: scale(1.1, 1.1);
  125. -o-transform: scale(1.1, 1.1);
  126. transform: scale(1.1, 1.1)
  127. }
  128. }
  129. </style>
  130. <?php if($_REQUEST[id] !='' AND $_REQUEST[c]){$onload ="<script type=\"text/javascript\"> xajax_formulario_modal('$_REQUEST[id]','','$_REQUEST[c]','$_REQUEST[t]')</script>";} ?>
  131. </head>
  132. <body>
  133. <body>
  134. <?php echo $onload; ?>
  135. <nav class="navbar navbar-inverse" role="navigation">
  136. <div class="container-fluid">
  137. <div class='col-sx-12 ' id='logo_cabecera' style='width:100%;left:40px; background-color: white; '>
  138. <div class='pull-right' >
  139. <div style="">
  140. <a title="Email" target="_redes" href="mailto:<?php echo $email[0];?>"><span style='font-size:20px; color:#E6E6E6'><i class='fa fa-envelope'></i></span></a>
  141. <a title="Facebook" target="_redes" href="<?php echo $facebook[0];?>"><span style='font-size:20px; color:#E6E6E6'><i class='fa fa-facebook-square'></i></span></a>
  142. <a title="Twitter" target="_redes" href="https://twitter.com/<?php echo $twitter[0];?>"><span style='font-size:20px; color:#E6E6E6'><i class='fa fa-twitter'></i></span></a>
  143. <a title="Inicio" target="" href="?"><span style='font-size:20px; color:#E6E6E6'><i class='fa fa-home'></i></span></a>
  144. </div>
  145. </div>
  146. </div>
  147. <div class="navbar-header" style=" ">
  148. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
  149. <span class="sr-only">Toggle navigation</span>
  150. <span class="icon-bar"></span>
  151. <span class="icon-bar"></span>
  152. <span class="icon-bar"></span>
  153. </button>
  154. <p>|<?php echo $razon_social[0];?>|</p>
  155. <strong><?php echo $slogan[0];?></strong>
  156. </div>
  157. <div class="navbar-collapse collapse">
  158. <ul class="nav navbar-nav">
  159. <li></li>
  160. </ul>
  161. </div><!--/.nav-collapse -->
  162. </div>
  163. </nav>
  164. <?php echo aplicacion_carrusel("","8","galeria") ; ?>
  165. <div class="container-fluid">
  166. <div class="row">
  167. <div class="col-sm-8">
  168. </div>
  169. <div class="col-sm-4">
  170. </div>
  171. </div>
  172. <?php
  173. if(isset($_REQUEST[id])){ echo contenido_aplicacion("$_REQUEST[id]","contenido"); }
  174. else{
  175. //echo contenido_aplicacion_nombre("Portada","banner") ;
  176. //echo aplicaciones_listado("","grid");} ?>
  177. <div class="container" style="width:80%">
  178. <?php echo aplicaciones_listado("","banner");}
  179. ?>
  180. </div>
  181. <br></br>
  182. </div>
  183. <div class="center-block" style=" z-index:10000; bottom:10px;">
  184. <div role='row' class='row center-block' style="width:95% ; "><?php //echo aplicacion_datos("$_REQUEST[id]");?></div>
  185. </div>
  186. <!-- Modal -->
  187. <div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
  188. <div class='modal-dialog' >
  189. <div class='modal-content'>
  190. <div class='modal-header' >
  191. <button type='button' class='close' data-dismiss='modal' aria-hidden='true'>&times;</button>
  192. <h4 class='modal-title' id='myModalLabel_info'><div id='titulo_modal'></div></h4>
  193. </div>
  194. <div class='modal-body'>
  195. <div id='muestra_form'></div>
  196. </div>
  197. <div class='modal-footer' id='pie_modal'>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. <div class='pie' style=" position: fixed; z-index: 10000;
  203. bottom: 0;
  204. width: 100%;
  205. /* Set the fixed height of the footer here */
  206. height: 50px;
  207. background-color: white;
  208. background-image: url('milfs/images/menosmicos/background.jpg');
  209. ">
  210. <p class='text-center'> <?php echo "$razon_social[0] $slogan[0] $direccion[0] $telefono[0] <a href ='$web[0]'>$web[0]</a>"; ?></p>
  211. <a class='pull-right' href='http://QWERTY.co/milfs'>Powered by: &copy; MILFS </a>
  212. </div>
  213. <!-- Bootstrap core JavaScript
  214. ================================================== -->
  215. <!-- Placed at the end of the document so the pages load faster -->
  216. <script src="milfs/js/jquery.min.js"></script>
  217. <script src="milfs/js/bootstrap.min.js"></script>
  218. <script src="milfs/js/scripts.js"></script>
  219. </body>
  220. </html>