=’$rango’ and caption like ‘%$iden%’ ORDER BY fecha DESC, hora DESC, foto_id DESC”; $result = mysql_query($sql); $cont = mysql_num_rows($result); if ($cont==0) echo “No existen fotos que coincidan con el criterio de búsqueda dado”; else{ $notas = array(); while($this = mysql_fetch_array($result)){ array_push($notas, $this); } if(($mas+1)==$indices and $mas) $salto=$cont; else { /* desde aqui quite el 10 */ if (ceil($cont/12)<2) $salto=$cont; else $salto=12+($mas*12); } ?>
“; $peso=filesize(“/respaldo/web/notimex/publico/admon/fotos/fuentes/$dato[0]”); $peso=ceil($peso/1024); if ($peso > 0){ ?> “; echo ” “; } //for ($p=0+($mas*12);$p<$salto;$p++) echo "“; if (!$indices) $indices= ceil($cont/12); if ($indices<11){ $hasta=$indices; if (($mas+1)==$indices) $quita=1; } else{ $hasta=11+$mas; if ($hasta>$indices){ $hasta=$hasta-($hasta-$indices); if(($mas+1)==$indices) $quita=1; } }?>

” width=”92″ height=”25″ border=0 onLoad=”precarga(this,’images/descargar2_on.gif’);” />

210){?> “>
Fecha:

” onLoad=”precarga(this,’images/descargar2_on.gif’);” />

210){?> “>
Fecha:

21){ $otro++; if ($mas>11) $otro=$hasta-21; } else{ $otro–; if ($otro<0 or $mas<11) $otro=0; else $otro=$mas-12; } ?>
Anterior “.$j.”“; else { if(($mas+1)!=$j) ?> Siguiente