gösterdiğin kadar olan kodların hepsini sil aşağıdakileri yapıştır yerine... resimsayisi = 1 olan yeri kafana göre değiştir. tasarımı bozabilir ama diğer kodlardaki limiti arttırıp yapamazsın çünkü her şekilde 1 satırını alıyor..
aşağıdakileri diğerlerinin yerine yazarken eskisini yedeklemeyi unutma sakin
<?
function dle_img () {
global $db;
$resimsayisi = 1;
$result = $db->query("SELECT * FROM dle_images ORDER BY RAND() LIMIT $resimsayisi");
$out = '';
while ($row = mysql_fetch_assoc($result)) {
$images = $row['images'];
$images = explode("|||",$images);
$images = $images[0];
$aurthor_hint = urlencode($row['author']);
$out .="<div align=\"center\"><a onMouseover=\"showhint('<center><img src=/uploads/posts/{$images} border=0></center>', this, event, '500px')\" href=\"/index.php?newsid={$row['news_id']}\"><img border=\"0\" src=\"/uploads/posts/{$images}\" width=\"150 \"></a> <br /> Àâòîğ: <a onMouseover=\"showhint('Àâòîğ - {$row['author']}', this, event, '160px')\" href=\"/user/{$row['author']}\">{$row['author']}</a><br /></div>";
}
return $out;
}
$dle_img = dle_img ();
?>