tag. %DIR is replaced with the directory path. // for instance: // $titleformat = "antisleep: %DIR"; $titleformat = "F.A.T. -- index of %DIR"; // logoimageurl, logolink // If these are provided, the provided logo URL will be inserted as an tag // at the top of the directory listing. If logolink is non-empty, the logo image // will link to the provided URL. // for instance: // $logoimageurl = "/images/titlebar-small.gif"; // $logolink = "http://antisleep.com/"; $logoimageurl = "http://fffff.at/images/fffffat_banner_2.jpg"; $logolink = "http://fffff.at/"; //======================================================================= // (end of config) //======================================================================= if ($use_js) { $cssfile = "style-js.css"; $jstext = file_get_contents("script.js"); $pcjstext = "document.getElementById('pagecontainer').style.display = 'none';\n"; } else { $cssfile = "style-nojs.css"; $jstext = ""; $pcjstext = ""; } $csstext = file_get_contents($cssfile); $uri = urldecode($_SERVER['REQUEST_URI']); $uri = preg_replace("/\/ *$/", "", $uri); $uri = preg_replace("/\?.*$/", "", $uri); $titletext = str_replace("%DIR", $uri, $titleformat); $logohtml = ""; if ($logoimageurl != "") { $logohtml = ""; if ($logolink != "") { $logohtml = "" . $logohtml . ""; } $logohtml = "
$logohtml
"; } // this is hacky, but in almost every situation there's no real harm. // it just might fail if you're doing something funky with directory mappings. $readmetext = ""; $pathtext = ""; $readmefile = $_SERVER["DOCUMENT_ROOT"] . $uri . "/readme.html"; if ($show_readme && file_exists($readmefile)) { $readmetext = "
" . file_get_contents($readmefile) . "
"; } else { // If no readme, show URI. $pathtext = "
$uri
"; } ?> <?=$titletext?>
[ICO]NameLast modifiedSize
[DIR]Parent Directory  -
[   ]EYEWRITER_2_0.mov02-Sep-2010 06:27 376M
[   ]IMG_1245.JPG18-Aug-2009 00:56 3.3M
[   ]IMG_1246.JPG18-Aug-2009 00:56 3.4M
[   ]IMG_1247.JPG18-Aug-2009 01:00 3.3M
[   ]IMG_1248.JPG18-Aug-2009 00:57 3.3M
[   ]IMG_1249.JPG18-Aug-2009 00:58 3.2M
[   ]IMG_1250.JPG18-Aug-2009 00:59 3.2M
[   ]IMG_1251.JPG18-Aug-2009 01:00 3.4M
[   ]IMG_1253.JPG18-Aug-2009 01:01 3.6M
[   ]IMG_1268.JPG18-Aug-2009 01:01 3.5M
[   ]IMG_1282.JPG18-Aug-2009 01:02 3.3M
[   ]IMG_1288.JPG18-Aug-2009 01:02 3.4M
[   ]IMG_1291.JPG18-Aug-2009 01:03 5.3M
[   ]IMG_1292.JPG18-Aug-2009 01:04 5.0M
[   ]IMG_1293.JPG18-Aug-2009 01:05 4.5M
[   ]IMG_1294.JPG18-Aug-2009 01:05 4.4M
[   ]IMG_1295.JPG18-Aug-2009 01:06 3.5M
[   ]IMG_1296.JPG18-Aug-2009 01:06 3.6M
[   ]IMG_1297.JPG18-Aug-2009 01:08 3.7M
[   ]IMG_1298.JPG18-Aug-2009 01:07 3.6M
[   ]IMG_1299.JPG18-Aug-2009 01:08 3.7M
[   ]IMG_1300.JPG18-Aug-2009 01:09 3.9M
[   ]IMG_1301.JPG18-Aug-2009 01:09 3.6M
[   ]IMG_1302.JPG18-Aug-2009 01:10 3.7M
[   ]IMG_1303.JPG18-Aug-2009 01:10 3.7M
[   ]IMG_1304.JPG18-Aug-2009 01:11 3.3M
[   ]IMG_1305.JPG18-Aug-2009 01:11 3.4M
[   ]IMG_1306.JPG18-Aug-2009 01:12 3.6M
[   ]IMG_1307.JPG18-Aug-2009 01:12 3.5M
[   ]IMG_1308.JPG18-Aug-2009 01:13 3.6M
[   ]IMG_1309.JPG18-Aug-2009 01:13 3.1M
[   ]IMG_1310.JPG18-Aug-2009 01:14 3.5M
[   ]IMG_1311.JPG18-Aug-2009 01:14 3.6M
[   ]IMG_1385.JPG18-Aug-2009 01:15 3.6M
[   ]IMG_1394.JPG18-Aug-2009 01:15 3.2M
[   ]IMG_1437.JPG18-Aug-2009 01:16 3.6M
[   ]IMG_1442.JPG18-Aug-2009 01:16 3.0M
[   ]IMG_1443.JPG18-Aug-2009 01:17 3.2M
[   ]IMG_1486.JPG18-Aug-2009 01:17 2.5M
[   ]IMG_1487.JPG18-Aug-2009 01:18 3.5M
[   ]IMG_1531.JPG18-Aug-2009 01:18 3.5M
[   ]perfecterThings.zip21-Aug-2009 22:04 15M
[   ]Thumbs.db18-Aug-2009 01:18 139K
Indices 1.0