showing in directory images
Download
View Source (print view)
Rating : 4.7
Views : 330
<?
// adil@ispro.net.tr
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Adil KAZANOGLU</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<center>
<?
$handle=opendir('.');
$i=0;
while ($file = readdir($handle)) {
if((strpos($file,".JPG")>0) OR (strpos($file,".jpg")>0) OR (strpos($file,".gif")>0) OR (strpos($file,".GIF")>0)){
$i++;
$array[$i]=$file;
}
}
closedir($handle);
if($sayac=='') {
$sayac=1;
}
$asagi=$sayac-1;
$yukari=$sayac+1;
if ($sayac==1){
$asagi=$i;
}
if ($sayac==$i){
$yukari=1;
}
?>
<table border="0">
<tr>
<td colspan="3"><font size="5">IMAGES(<? print "$sayac"; ?>)</font></td>
</tr>
<tr>
<td colspan="1" align="right"><a href="index.php?sayac=<? print "$asagi";?>"> <<<<< </a></td>
<td colspan="1" align="center"><a href="index.php?sayac=1"> Basa DON ! </a></td>
<td colspan="1" align="left"><a href="index.php?sayac=<? print "$yukari";?>"> >>>>> </a></td>
</tr>
</table><table border="1">
<tr>
<td colspan="3"><img src="<? print "$array[$sayac]"; ?>"></td>
</tr>
<tr>
</tr>
</table>
</center>
</BODY>
</HTML>
guest, enfactuation, rent a car, download, regirstration form, php_snips, fedex, call php', userstatusinonline, php_script"_class="neww"_target="_blank"_title="im_neuen, best ide, php script" class="neww" target="_b..., forum, p t test paired, php_tools, href php function, utfraw, php jobs, php script and char(124) (select cast(count(1) as varchar(8000)) char(124) from [sysobjects] where 1=1)>0 and =, commit