tag. %DIR is replaced with the directory path. // for instance: // $titleformat = "antisleep: %DIR"; $titleformat = "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 = ""; $logolink = ""; //======================================================================= // (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
[PARENTDIR]Parent Directory  -
[DIR]backup/2010-04-15 09:53 -
[DIR]jakumbers/2011-08-30 14:24 -
[DIR]navbar/2009-09-15 08:22 -
[DIR]priv/2023-10-13 10:14 -
[DIR]psd files/2010-04-15 10:07 -
[   ]about.jpg2009-09-15 07:53 110K
[   ]about2.jpg2009-09-15 07:54 97K
[   ]blog.jpg2009-09-15 07:54 85K
[   ]cnphorns.jpg2009-09-15 07:54 4.6K
[   ]cnphornsbanner.gif2009-09-15 07:54 15K
[   ]favicon.ico2015-09-17 17:34 43
[   ]filmmusicadvert.tif2009-09-15 08:00 8.0M
[   ]firebird.jpg2010-04-15 11:24 55K
[   ]firebird_300.jpg2012-10-23 10:25 62K
[   ]firebirdbg.jpg2009-09-15 08:00 99K
[   ]light_04.jpg2010-04-15 09:54 1.5K
[   ]light_05.jpg2010-04-15 09:53 1.5K
[   ]light_06.jpg2010-04-15 09:53 1.7K
[   ]light_07.jpg2010-04-15 09:53 1.5K
[   ]light_08.jpg2010-04-15 09:53 2.5K
[   ]light_09.jpg2010-04-15 09:53 1.6K
[   ]light_10.jpg2010-04-15 09:53 1.6K
[   ]light_11.jpg2010-04-15 09:56 2.1K
[   ]links.jpg2009-09-15 08:01 104K
[   ]main_01.jpg2009-09-15 08:01 17K
[   ]main_02.jpg2009-09-15 08:01 887
[   ]main_02_short.jpg2009-09-15 08:01 661
[   ]main_03.jpg2009-09-15 08:01 660
[   ]main_03_short.jpg2009-09-15 08:01 382
[   ]main_04.jpg2010-04-15 09:53 1.5K
[   ]main_05.jpg2010-04-15 09:53 1.5K
[   ]main_06.jpg2010-04-15 09:53 1.6K
[   ]main_07.jpg2010-04-15 09:53 1.5K
[   ]main_08.jpg2010-04-15 09:53 2.4K
[   ]main_09.jpg2010-04-15 09:53 1.6K
[   ]main_10.jpg2010-04-15 09:53 1.6K
[   ]main_11.jpg2010-04-15 09:56 2.0K
[   ]mainimage.jpg2009-09-15 08:01 92K
[   ]myspace_redirect.gif2010-03-02 12:16 27K
[   ]myspacelogo.jpg2009-09-15 08:02 14K
[   ]photography_300.jpg2012-10-23 10:39 54K
[   ]polyrhythmic.jpg2010-04-15 14:30 53K
[   ]s&gp.jpg2009-09-15 08:02 66K
[   ]saraswati.jpg2009-09-15 08:03 134K
[   ]saraswatispeaker.jpg2009-09-15 08:03 22K
[   ]soundcloud_300.jpg2012-10-23 10:30 15K
[   ]studio.jpg2009-09-15 08:03 90K
[   ]studio2.jpg2009-09-15 08:03 85K
[   ]studio3.jpg2010-02-15 10:34 60K
[   ]televizzies-gigs.jpg2009-09-15 08:03 98K
[   ]WS_FTP.LOG2009-09-15 08:04 3.9K
Indices 1.0