Productos.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?
  2. include('db.php');
  3. $statement = $db->prepare("SELECT `nombre` FROM `productos` WHERE `categoria` = ? limit 3");
  4. $cat = 'FACIALES';
  5. $statement->bind_param('s', $cat);
  6. $statement->execute();
  7. $statement->bind_result($nombre);
  8. ?>
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  10. <html>
  11. <head>
  12. <title>ESPECIFICOS Buenos Aires</title>
  13. <link type="text/css" rel="Stylesheet" href="Productos.css" />
  14. <link type="text/css" rel="Stylesheet" href="Especificos.css" />
  15. <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
  16. <script src="//code.jquery.com/jquery-1.9.1.js"></script>
  17. <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
  18. <link rel="stylesheet" href="/resources/demos/style.css">
  19. </head>
  20. <body>
  21. <div id="top_wrapper">
  22. <div id="navbar" font-family="champagne">
  23. <ul id="navlist">
  24. <li><a href="Especificos.html#nosotros">nosotros</a></li>
  25. <li><a href="#productos">productos</a></li>
  26. <li><a href="#actividades">actividades</a></li>
  27. <li><a href="#top_wrapper"><img src="Images/LOGO.png" /></a></li>
  28. <li><a href="#cursos">cursos</a></li>
  29. <li><a href="#distribuidoras">donde comprar</a></li>
  30. <li>contacto</li>
  31. </ul>
  32. </div>
  33. </div>
  34. <div id="productos_wrapper">
  35. <br />
  36. <div id="productosbar">
  37. <ul id ="categorias">
  38. <a href=""><li><h3>LIMPIEZA</h3></li></a>
  39. <li><h3>MÁSCARAS</h3></li>
  40. <li><h3>ÁCIDO<br />HIALURÓNICO</h3></li>
  41. <li><h3>PEELING</h3></li>
  42. <li><h3>CORPORALES</h3></li>
  43. <li><h3>HOMBRES</h3></li>
  44. <li><h3>PROTECCIÓN<br />INTENSIVA</h3></li>
  45. <li><h3>MONODOSIS</h3></li>
  46. <li><h3>ACTIVOS<br />CONCENTRADOS</h3></li>
  47. </ul>
  48. </div>
  49. <div id ="paginas_wrapper">
  50. <div id="pagina">
  51. <div class="nav" style="display: inline; float: left;
  52. height: 30px; margin-top: 170px;">
  53. <label for="img-1" class="prev">&#x2039;</label>
  54. </div>
  55. <?
  56. while($statement->fetch()){
  57. ?>
  58. <div id="lista_productos">
  59. <div id="producto" style="float:left;">
  60. <div style="float : left;">
  61. <img src="Images/producto.jpg">
  62. </div>
  63. <div style="float : left;">
  64. <h4> <? echo $nombre; ?> </h4>
  65. <br> blahblahlbahlbfdgracdmksla iaos fjdiosa f<br><br>
  66. <u>Ver más</u>
  67. </div>
  68. </div>
  69. </div>
  70. <?
  71. }
  72. ?>
  73. <div class="nav" style="float: right; height: 30px; margin-top: 170px;">
  74. <label for="img-3" class="next">&#x203a;</label>
  75. </div>
  76. <ul id="paginas_list">
  77. <li> &#149; </li>
  78. <li style="opacity: 0.5"> &#149; </li>
  79. <li style="opacity: 0.5;"> &#149; </li>
  80. </ul>
  81. </div>
  82. <br>
  83. <div id="pagina" class="hidden">
  84. <div id="lista_productos">
  85. <div id="producto" style="float:left;">
  86. <div style="float : left;">
  87. <img src="Images/producto.jpg">
  88. </div>
  89. <div style="float : left;">
  90. <h4> CELLANE CREMA CORPORAL </h4>
  91. <br> blahblahlbahlbfdgracdmksla iaos fjdiosa f<br><br>
  92. <a>Ver más</a>
  93. </div>
  94. </div>
  95. <div id="producto" style="float:left;">
  96. <div style="float : left;">
  97. <img src="Images/producto.jpg">
  98. </div>
  99. <div style="float : left;">
  100. <h4> CELLANE CREMA PARA MASAJES </h4>
  101. <br> blahblahlbahlbfdgra
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. </body>
  109. </html>