[insert_php]
print ‘‘;
print ‘‘;
$root = “/home/orarija1/public_html/perpustakaan”;
$webroot = “/odj-ku/perpustakaan”;
$callbookurl = “/index.php/layanan/callbook/?callsign=”;
require “/home/orarija1/public_html/odj-ku/includes.php”;
$myDirectory = opendir($root);
while($entryName = readdir($myDirectory)) $dirArray[] = $entryName;
closedir($myDirectory);
$indexCount = count($dirArray);
sort($dirArray);
print(“
| Nama Berkas” . “ | Pengunggah” . “ | Tanggal Unggah” . “ | Ukuran KB” . “ |
|---|---|---|---|
| $filename | ” . oslash($uploader) . “ | “); print(date(“d M Y”, filemtime($root . “\\” . $dirArray[$index]))); print(“ |
“); print(number_format(filesize($root . “\\” . $dirArray[$index]) / 1024, 0, “,”, “.”)); print(“ |
print (“
” . ($indexCount – 2) . ” berkas
“);[/insert_php]