Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/10/2004, 15:42
YDIABLOY
 
Fecha de Ingreso: septiembre-2004
Mensajes: 58
Antigüedad: 19 años, 7 meses
Puntos: 0
aun mas no hagas caso a ese codigo de columnas ya que era para otro tipo de variable de columna el codigo en realidad serria asi aclaro a mi parecer el pedaso de php a modificar

<form method="post">
<table border="0" cellspacing="5" cellpadding="5">
<?php

// avoid starting record > total records
if ($startRec > $totalRecs) {
$startRec = $totalRecs;
}

// set the last record to display
$stopRec = $startRec + $displayRecs - 1;
$recCount = $startRec - 1;

// move to the first record
@mysql_data_seek($rs, $recCount);
$recActual = 0;
while (($row = @mysql_fetch_array($rs)) && ($recCount < $stopRec)) {
$recCount++;
if ($recCount >= $startRec) {
$recActual++;
$bgcolor = "#FFFFFF"; // row color
if (($recCount % 2) <> 0) { // display alternate color for rows
$bgcolor = "#F5F5F5";
}

// load key for record
$key = @$row["row_id"];
$x_row_id = @$row["row_id"];
$x_nstock = @$row["nstock"];
$x_imagen = @$row["imagen"];
$x_marca = @$row["marca"];
$x_modelo = @$row["modelo"];
$x_aF1o = @$row["año"];
$x_version = @$row["version"];
$x_vidrios = @$row["vidrios"];
$x_cierre = @$row["cierre"];
$x_direccion = @$row["direccion"];
$x_aire = @$row["aire"];
$x_transmision = @$row["transmision"];
$x_motor = @$row["motor"];
$x_precio = @$row["precio"];
$x_otros = @$row["otros"];
?>
<!--multi-column-->
<?php
if (($recActual % $recPerRow == 1) || ($recPerRow < 2)) {
?>
<tr>
<?php
}
?>
<td width="268" valign="top">
<table border="0" cellspacing="1" cellpadding="4" bgcolor="#CCCCCC"><tr>
<td bgcolor="#F5F5F5"><span class="phpmaker"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="125" height="125">
<param name="flash_component" value="ImageViewer.swc">
<param name="movie" value="<?php echo $x_imagen; ?>">
<param name="quality" value="high">
<param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionF ont:'Ve rdana',titleFont:'Verdana',showControls:true,frame Show:false,slideDelay:5,captionSize:10,captionColo r:#333333,titleSize:10,transitionsType:'Random',ti tleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions: []}">
<embed src="<?php echo $x_imagen; ?>" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',capt ionFont:'Ve rdana',titleFont:'Verdana',showControls:true,frame Show:false,slideDelay:5,captionSize:10,captionColo r:#333333,titleSize:10,transitionsType:'Random',ti tleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions: []}" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="207" height="270"></embed>
</object></span>&nbsp;</td>
</table>
</td>
<?php
if (($recActual % $recPerRow == 0) || ($recPerRow < 2)) {
?>

<?php
}
?>
<?php
}
}
?>