11/11/2010, 14:26
|
| | Fecha de Ingreso: marzo-2008
Mensajes: 171
Antigüedad: 16 años, 10 meses Puntos: 0 | |
Respuesta: REPETIR DIV y productos // Sin encimarse! Y EL CODIGO DE LA WEB por si hace falta tambien:
Código:
<?php require_once('Connections/Nicolecron_DB.php'); ?>
<?php
$colname_Productos = "-1";
if (isset($_GET['1/12'])) {
$colname_Productos = (get_magic_quotes_gpc()) ? $_GET['1/12'] : addslashes($_GET['1/12']);
}
mysql_select_db($database_Nicolecron_DB, $Nicolecron_DB);
$query_Productos = sprintf("SELECT * FROM productos WHERE categoria = '1/12' ORDER BY id_db ASC", $colname_Productos);
$Productos = mysql_query($query_Productos, $Nicolecron_DB) or die(mysql_error());
$row_Productos = mysql_fetch_assoc($Productos);
$totalRows_Productos = mysql_num_rows($Productos);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Nicolecron Decals | Premium water slide decals</title>
<style type="text/css">
<!--
body {
background-image: url(imagenes/bgweb.jpg);
background-repeat: repeat;
}
.producto {width: 585px;
text-align: center;
float: left;
}
-->
</style>
<link href="css/nicolecron.css" rel="stylesheet" type="text/css" /></head>
<body>
<div id="cont_total_contacto">
<div id="cont_nico_webshop">
<div id="header_logo_pp">
<div id="paypal">
<div id="logo_pp_top"><img src="https://www.paypal.com/en_US/i/logo/PayPal_mark_50x34.gif" border="0" alt="Marca de aceptación" /></div>
<div class="textsafer" id="texto_pp_top">The safer <br />
<span class="text_easier">easier way to pay </span></div>
</div>
<div id="swf_logo"><img src="imagenes/logo.png" width="397" height="76" /></div>
</div>
<div id="titulosecshop"> <img src="imagenes/tit_webshop.png" width="648" height="50" /></div>
<div id="caja_texto_shop12">
<div id="caja_producto1">
<div id="cajaprod_titulo"><?php echo $row_Productos['descprip']; ?></div>
<div id="imagenes_prod">
<div id="img1"></div>
<div id="img2"></div>
</div>
<div id="descrip_prod"><span class="tit_desc_prod">ID PROD: </span><?php echo $row_Productos['id_prod']; ?><span class="tit_desc_prod"><br />
PRECIO/PRICE: </span><?php echo $row_Productos['precio']; ?><span class="tit_desc_prod"><br />
STOCK:</span> <?php echo $row_Productos['stock']; ?><br />
<span class="printed"><?php echo $row_Productos['printed']; ?> </span></div>
</div>
<p align="justify" class="texto_gris"> </p>
</div>
<div id="caja_menu">
<div id="bg_menu">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="50">
<param name="movie" value="flash/boton_home.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="flash/boton_home.swf" width="120" height="50" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
<img src="imagenes/sep.png" width="4" height="47" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="50">
<param name="movie" value="flash/boton_webshop.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="flash/boton_webshop.swf" width="120" height="50" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
<img src="imagenes/sep.png" width="4" height="47" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="50">
<param name="movie" value="flash/boton_gallery.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="flash/boton_gallery.swf" width="120" height="50" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
<img src="imagenes/sep.png" width="4" height="47" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="50">
<param name="movie" value="flash/boton_contact.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="flash/boton_contact.swf" width="120" height="50" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
<img src="imagenes/sep.png" width="4" height="47" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="50">
<param name="movie" value="flash/boton_world.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="flash/boton_world.swf" width="120" height="50" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>
<div id="sep_botom_menu"></div>
</div>
</div>
<div id="sombra_izq2"></div>
<div id="sombra_der2"></div>
<div id="menu_botom_contacto">
<div id="menu_boton_logo"><img src="imagenes/logo_botom.gif" width="288" height="24" /></div>
<div class="copyright" id="menu_botom_texto">NICOLECRON DECALS - COPYRIGHT 2010 <br />
<strong>PHONE</strong>: 54 02302 426943 (JUST FOR ENGLISH AND SPANISH SPEAKERS)<br />
<a href="mailto:[email protected]" class="mail">[email protected]</a></div>
<div id="menu_botom_links"><span class="links_botom">HOME</span> <span class="links_botom_sep">-</span> <span class="links_botom">GALLERY</span> <span class="links_botom_sep">-</span> <span class="links_botom">WEBSHOP</span> <span class="links_botom_sep">-</span> <span class="links_botom">CONTACT US</span></div>
</div>
</div>
</body>
</html>
<?php
mysql_free_result($Productos);
?>
|