설명 없음

index.php 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?php
  2. include("conectar.php");
  3. $query = "SELECT * from articulos";
  4. $result = mysqli_query($dbconnection, $query);
  5. ?>
  6. <!DOCTYPE html>
  7. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  8. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  9. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  10. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  11. <head>
  12. <meta charset="utf-8">
  13. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  14. <title>dato.pr</title>
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16. <meta name="description" content="No" />
  17. <!-- Facebook and Twitter integration -->
  18. <meta property="og:title" content="" />
  19. <meta property="og:image" content="" />
  20. <meta property="og:url" content="" />
  21. <meta property="og:site_name" content="" />
  22. <meta property="og:description" content="" />
  23. <meta name="twitter:title" content="" />
  24. <meta name="twitter:image" content="" />
  25. <meta name="twitter:url" content="" />
  26. <meta name="twitter:card" content="" />
  27. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  28. <link rel="shortcut icon" href="favicon.ico">
  29. <link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700" rel="stylesheet">
  30. <!-- Animate.css -->
  31. <link rel="stylesheet" href="css/animate.css">
  32. <!-- Icomoon Icon Fonts-->
  33. <link rel="stylesheet" href="css/icomoon.css">
  34. <!-- Simple Line Icons -->
  35. <link rel="stylesheet" href="css/simple-line-icons.css">
  36. <!-- Bootstrap -->
  37. <link rel="stylesheet" href="css/bootstrap.css">
  38. <!-- Style -->
  39. <link rel="stylesheet" href="css/style.css">
  40. <!-- Modernizr JS -->
  41. <script src="js/modernizr-2.6.2.min.js"></script>
  42. <!-- FOR IE9 below -->
  43. <!--[if lt IE 9]>
  44. <script src="js/respond.min.js"></script>
  45. <![endif]-->
  46. </head>
  47. <body>
  48. <header role="banner" id="fh5co-header">
  49. <div class="fluid-container">
  50. <nav class="navbar navbar-default navbar-fixed-top js-fullheight">
  51. <div id="navbar" class="navbar-collapse js-fullheight">
  52. <ul class="nav navbar-nav navbar-left">
  53. <li class="active"><a href="#" data-nav-section="home"><span>Home</span></a></li>
  54. <li><a href="#" data-nav-section="services"><span>Services</span></a></li>
  55. </ul>
  56. </div>
  57. </nav>
  58. </div>
  59. </header>
  60. <section id="fh5co-home" data-section="home" style="background-image: url(images/project-5.jpg);">
  61. <div class="gradient"></div>
  62. <div class="container">
  63. <div class="text-wrap">
  64. <div class="text-inner">
  65. <div class="row">
  66. <div class="col-md-8 col-md-offset-2 text-center">
  67. <h1 style="color :white;" class="to-animate">dato.pr</h1>
  68. <h2 style="color :white;" class="to-animate">"Estudiando lo ambiguo e investigando lo desconocido."</h2>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </section>
  75. <section id="fh5co-services" data-section="services">
  76. <div class="fh5co-services">
  77. <div class="container">
  78. <div class="row">
  79. <div class="col-md-12 section-heading text-center">
  80. <h2 class="to-animate">Articulos</h2>
  81. <div class="row">
  82. <div class="col-md-8 col-md-offset-2 subtext">
  83. <h3 class="to-animate"> Hablando sobre lo que importa. </h3>
  84. </div>
  85. </div>
  86. </div>
  87. </div>
  88. <div class="row">
  89. <div class="core-features">
  90. <div class="grid2">
  91. <div class="core-f">
  92. <div class="row">
  93. <div class="col-md-12">
  94. <?php
  95. while($info = mysqli_fetch_array($result,MYSQLI_ASSOC)){
  96. $Titulo = $info['Titulo_articulo'];
  97. $Fecha = $info['Fecha_articulo'];
  98. print "<a href = article.php >";
  99. print "<div class='core'>";
  100. print "<i class='icon-columns to-animate-2'></i>";
  101. print "<div class='fh5co-post to-animate'>";
  102. print"<h3>".$Titulo."</h3>";
  103. print"<h4>".$Fecha."</h4>";
  104. print "</div>";
  105. print "</div>";
  106. print "</a>";
  107. }
  108. ?>
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. <div id="fh5co-counter-section" class="fh5co-counters">
  116. <div class="container">
  117. <div class="row to-animate">
  118. <div class="col-md-3 text-center">
  119. <span class="fh5co-counter js-counter" data-from="0" data-to="3452" data-speed="5000" data-refresh-interval="50"></span>
  120. <span class="fh5co-counter-label">Tazas de Café Consumidas</span>
  121. </div>
  122. <div class="col-md-3 text-center">
  123. <span class="fh5co-counter js-counter" data-from="0" data-to="234" data-speed="5000" data-refresh-interval="50"></span>
  124. <span class="fh5co-counter-label">Días sin Luz</span>
  125. </div>
  126. <div class="col-md-3 text-center">
  127. <span class="fh5co-counter js-counter" data-from="0" data-to="6542" data-speed="5000" data-refresh-interval="50"></span>
  128. <span class="fh5co-counter-label">Cosas que Hacer</span>
  129. </div>
  130. <div class="col-md-3 text-center">
  131. <span class="fh5co-counter js-counter" data-from="0" data-to="0" data-speed="5000" data-refresh-interval="50"></span>
  132. <span class="fh5co-counter-label">Tiempo para perder</span>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </section>
  140. <!-- jQuery -->
  141. <script src="js/jquery.min.js"></script>
  142. <!-- jQuery Easing -->
  143. <script src="js/jquery.easing.1.3.js"></script>
  144. <!-- Bootstrap -->
  145. <script src="js/bootstrap.min.js"></script>
  146. <!-- Waypoints -->
  147. <script src="js/jquery.waypoints.min.js"></script>
  148. <!-- Stellar Parallax -->
  149. <script src="js/jquery.stellar.min.js"></script>
  150. <!-- Counters -->
  151. <script src="js/jquery.countTo.js"></script>
  152. <!-- Main JS (Do not remove) -->
  153. <script src="js/main.js"></script>
  154. </body>
  155. </html>