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.

227 lines
8.5KB

  1. <?php
  2. session_start();
  3. if(isset($_REQUEST[debug])) {ini_set('display_errors', 'On');}
  4. /// ESTE ARCHIVO DEBE ESTAR UN NIVEL POR ENCIMA DEL DIRECTORIO milfs
  5. $id_form="1";
  6. $plantilla ="galeria";
  7. /*
  8. EJEMPLO DE PLANTILLA PÁRA GALERIA
  9. <div class=' ' style=' position:relative; text-align:center; border-radius : 5px; width:100%; height:100% '>
  10. <img style=' height:100%; ' src ='/milfs/images/secure/?file=600/$campo_limpio[26] ' alt=' ' title=' ' class=''>
  11. <div style=' margin-left: auto;
  12. position:absolute;
  13. margin-right: auto;
  14. margin-top:30px;
  15. left:0;
  16. right:0; bottom: 50px;
  17. width:400px; ' >
  18. <h1> $campo_limpio[1] $campo_limpio[3] </h1>
  19. </div>
  20. </div>
  21. */
  22. require ('milfs/xajax/xajax.inc.php');
  23. $xajax = new xajax();
  24. require ('milfs/funciones/funciones.php');
  25. require ('milfs/funciones/convert.php');
  26. require ('milfs/funciones/login.php');
  27. require ("milfs/funciones/conex.php");
  28. require ("milfs/includes/markdown.php");
  29. $xajax->processRequests();
  30. $logo = remplacetas('empresa','id','1','imagen') ;
  31. $direccion = remplacetas('empresa','id','1','direccion') ;
  32. $telefono = remplacetas('empresa','id','1','telefono_1') ;
  33. $email = remplacetas('empresa','id','1','email') ;
  34. $razon_social = remplacetas('empresa','id','1','razon_social') ;
  35. $sigla = remplacetas('empresa','id','1','sigla') ;
  36. $facebook = remplacetas('empresa','id','1','facebook') ;
  37. $twitter = remplacetas('empresa','id','1','twitter') ;
  38. $slogan = remplacetas('empresa','id','1','slogan') ;
  39. $web = remplacetas('empresa','id','1','web') ;
  40. if ( !isset( $_SESSION[id] ) ) { $ingresar = "<a href='milfs'>Ingresar $_SESSION[id] </a>";}else{$ingresar = "<a class=' btn ' onclick=\"xajax_login_boton('x') \"><i class='fa fa-sign-out fa-fw'></i> $_SESSION[username]</a>";}
  41. ?>
  42. <!DOCTYPE html>
  43. <html lang="en">
  44. <head >
  45. <meta charset="utf-8">
  46. <meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
  47. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  48. <meta name="viewport" content="width=device-width, initial-scale=1">
  49. <meta name="description" content="">
  50. <meta name="author" content="fredyrivera" >
  51. <?php $xajax->printJavascript("milfs/xajax/"); ?>
  52. <link rel="shortcut icon" href="favicon-152.png">
  53. <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300' rel='stylesheet' type='text/css'>
  54. <link rel="apple-touch-icon-precomposed" href="favicon-152.png">
  55. <link href="milfs/css/font-awesome/css/font-awesome.css" rel="stylesheet">
  56. <!-- <link href="http://getbootstrap.com/examples/sticky-footer-navbar/sticky-footer-navbar.css" rel="stylesheet"> -->
  57. <!-- <script src="/tbl_change.php?db=artessano_milfs&table=parametrizacion&where_clause=%60parametrizacion%60.%60id%60+%3D+4&clause_is_unique=1&sql_query=SELECT+%2A+FROM+%60parametrizacion%60&goto=sql.php&default_action=update&token=ad27979fbb9c2ce30fc9601060e980bbhttp://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script> -->
  58. <!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> -->
  59. <link href="milfs/css/bootstrap.min.css" rel="stylesheet">
  60. <link href="milfs/css/estilos.php" rel="stylesheet">
  61. <!-- <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script> -->
  62. <!-- <link rel="points" type="application/json" href="json.php?id=<?php echo $_REQUEST["id"] ?>"> -->
  63. <link href="milfs/css/carousel.css" rel="stylesheet">
  64. <style type="text/css">
  65. .navbar-header > p { font-size:20px; color: white; font-family: "Open Sans",sans-serif; font-weight: normal;display:inline }
  66. .navbar-header > strong{ font-size:20px; color: #802a2a; font-weight: normal; font-family: "Open Sans",sans-serif; ;display:inline}
  67. .navbar-header {width: 50%;}
  68. .div_aplicacion {
  69. /* background-color: #f0eee1 !important;*/
  70. }
  71. .div_aplicacion:hover {
  72. -webkit-animation: animatedBackground 1s ease-out 1;
  73. -moz-animation: animatedBackground 1s ease-out 1;
  74. animation: animatedBackground 1s ease-out 1;
  75. -webkit-animation-fill-mode: forwards;
  76. animation-fill-mode: forwards;
  77. z-index: 10000;
  78. }
  79. @-webkit-keyframes animatedBackground {
  80. 0% {
  81. -webkit-transform: scale(1, 1);
  82. -moz-transform: scale(1, 1);
  83. -ms-transform: scale(1, 1);
  84. -o-transform: scale(1, 1);
  85. transform: scale(1, 1)
  86. }
  87. 100% {
  88. -webkit-transform: scale(1.1, 1.1);
  89. -moz-transform: scale(1.1, 1.1);
  90. -ms-transform: scale(1.1, 1.1);
  91. -o-transform: scale(1.1, 1.1);
  92. transform: scale(1.1, 1.1)
  93. }
  94. }
  95. @-moz-keyframes animatedBackground {
  96. 0% {
  97. -webkit-transform: scale(1, 1);
  98. -moz-transform: scale(1, 1);
  99. -ms-transform: scale(1, 1);
  100. -o-transform: scale(1, 1);
  101. transform: scale(1, 1)
  102. }
  103. 100% {
  104. -webkit-transform: scale(1.1, 1.1);
  105. -moz-transform: scale(1.1, 1.1);
  106. -ms-transform: scale(1.1, 1.1);
  107. -o-transform: scale(1.1, 1.1);
  108. transform: scale(1.1, 1.1)
  109. }
  110. }
  111. @keyframes animatedBackground {
  112. 0% {
  113. -webkit-transform: scale(1, 1);
  114. -moz-transform: scale(1, 1);
  115. -ms-transform: scale(1, 1);
  116. -o-transform: scale(1, 1);
  117. transform: scale(1, 1)
  118. }
  119. 100% {
  120. -webkit-transform: scale(1.1, 1.1);
  121. -moz-transform: scale(1.1, 1.1);
  122. -ms-transform: scale(1.1, 1.1);
  123. -o-transform: scale(1.1, 1.1);
  124. transform: scale(1.1, 1.1)
  125. }
  126. }
  127. </style>
  128. </head>
  129. <body>
  130. <body>
  131. <?php echo $onload; ?>
  132. <nav class="navbar navbar-inverse" role="navigation">
  133. <div class="container-fluid">
  134. <div class='col-sx-12 ' id='logo_cabecera' style='width:100%;left:40px; background-color: white; '>
  135. <div class='pull-right' >
  136. <div style="">
  137. <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>
  138. <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>
  139. <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>
  140. <a title="Inicio" target="" href="?"><span style='font-size:20px; color:#E6E6E6'><i class='fa fa-home'></i></span></a>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="navbar-header" style=" ">
  145. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
  146. <span class="sr-only">Toggle navigation</span>
  147. <span class="icon-bar"></span>
  148. <span class="icon-bar"></span>
  149. <span class="icon-bar"></span>
  150. </button>
  151. <p>|<?php echo $razon_social[0];?>|</p>
  152. <strong><?php echo $slogan[0];?></strong>
  153. </div>
  154. <div class="navbar-collapse collapse">
  155. <ul class="nav navbar-nav">
  156. </ul>
  157. </div><!--/.nav-collapse -->
  158. </div>
  159. </nav>
  160. <div class="container-fluid">
  161. <div class="row">
  162. <div class="col-sm-8">
  163. </div>
  164. <div class="col-sm-4">
  165. </div>
  166. </div>
  167. <div class="container" style="width:100%">
  168. <?php echo aplicacion_carrusel("","$id_form","galeria") ?>
  169. </div>
  170. </div>
  171. <div class='pie' style=" position: fixed; z-index: 10000;
  172. bottom: 0;
  173. width: 100%;
  174. /* Set the fixed height of the footer here */
  175. height: 50px;
  176. background-color: gray;
  177. background-image: url('');
  178. ">
  179. <p class='text-center'> <?php echo "$razon_social[0] $slogan[0] $direccion[0] $telefono[0] <a href ='$web[0]'>$web[0]</a>"; ?></p>
  180. <a class='pull-right' href='http://QWERTY.co/milfs'>Powered by: &copy; MILFS </a>
  181. </div>
  182. <!-- Bootstrap core JavaScript
  183. ================================================== -->
  184. <!-- Placed at the end of the document so the pages load faster -->
  185. <script src="milfs/js/jquery.min.js"></script>
  186. <script src="milfs/js/bootstrap.min.js"></script>
  187. <script src="milfs/js/scripts.js"></script>
  188. <script src="milfs/js/bootstrap.js"></script>
  189. <script src="milfs/js/markdown.js"></script>
  190. <script src="milfs/js/to-markdown.js"></script>
  191. <script src="milfs/js/bootstrap-markdown.js"></script>
  192. </body>
  193. </html>