Minor changes for url

This commit is contained in:
alopexc0de 2012-11-16 04:16:01 -05:00
parent 3a9a44f608
commit 754befe4b5

View File

@ -1,12 +1,12 @@
<?php <?php
if ($handle = opendir('.')) { if ($handle = opendir('Pictures')) {
while (false !== ($file = readdir($handle))) while (false !== ($file = readdir($handle)))
{ {
if ($file != "." && $file != ".." && $file != "index.php" && $file != "getfiles.php" && $file != "imgup.php" && $file != ".htaccess") if ($file != "." && $file != ".." && $file != "index.php" && $file != "getfiles.php" && $file != "imgup.php" && $file != ".htaccess")
{ {
$last_modified = filemtime($file); $last_modified = filemtime($file);
//print(date("m/j/y h:i:s a", $last_modified)); //print(date("m/j/y h:i:s a", $last_modified));
$thelist .= '<a href="http://unps-gama.tk/img/?img='.$file.'">'.$file.'</a> Last Modified: <font align="right" color="green">'. date("m/j/y h:i:s a", $last_modified) .'</font><br />'; $thelist .= '<a href="http://img.unps-gama.info/?img='.$file.'">'.$file.'</a> Last Modified: <font align="right" color="green">'.'Not Availiable at the moment...'/*date("m/j/y h:i:s a", $last_modified) */.'</font><br />';
} }
} }
closedir($handle); closedir($handle);