tamam kardesim çok güveniosan kendine;


<table width="520" height="710" bgcolor="#000000"  border="0" cellspacing="8" cellpadding="8" align="center">
<table width="500" height="700" bgcolor="#f4f4f4"  border="0" cellspacing="8" cellpadding="8" align="center">
<td>
<center>
<?php
#
$dizin = "uploads/";
$buyuk = "Uploads/";
$tutucu = opendir($dizin);
while($dosya = readdir($tutucu)){
if(is_file($dizin."/".$dosya))
$resim[] = $dosya;
}
closedir($tutucu);
#
$limit = 16;
$sf = $_GET["sf"];
if($sf < 1) $sf = 1;
$toplam = count($resim);
#
$kactan = ($sf-1) * $limit;
$kaca = ($kactan+$limit);
if($kaca > $toplam) $kaca = $toplam;
# 
for($i=$kactan; $i < $kaca; $i++)
{
echo "
<a href='".$buyuk."/".$resim[$i]."' target='_blank'>
<img onContextMenu='return false' src='".$dizin."/".$resim[$i]."' width='100' height='100' border='0'></a>\n";
}
echo" </br></br></br>";
# 
for($i=1; $i < $toplam / $limit; $i++){
if($sf == $i)
echo "$i\n"; else
echo "<a href='imgyukleviewer.php?sf=$i'>$i</a>\n";
}
?>
</center><tr></td></tr></table>
<tr></td></tr></table>
imgyukleviewer.php adında kaydetip at ana dizinine konyrol edelim bakalım seninkinide.