tag. %DIR is replaced with the directory path. // for instance: // $titleformat = "antisleep: %DIR"; $titleformat = "Rocketboom: 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 = "/images/rocketboom_logo.jpg"; $logolink = "http://www.rocketboom.com"; //======================================================================= // (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
"; } ?> <?php echo $titletext ?>
[ICO]NameLast modifiedSize
[DIR]Parent Directory  -
[DIR]archive_update/09-Mar-2011 07:00 -
[DIR]bill_gates_uh/09-Mar-2011 07:00 -
[DIR]burger/09-Mar-2011 07:00 -
[DIR]chris_christmas/09-Mar-2011 07:00 -
[DIR]danceflash/09-Mar-2011 07:00 -
[DIR]debate_wars/09-Mar-2011 07:00 -
[DIR]itunes/09-Mar-2011 07:00 -
[DIR]ivr/09-Mar-2011 07:00 -
[DIR]music/09-Mar-2011 07:00 -
[DIR]nwa/09-Mar-2011 07:00 -
[DIR]sxsw2005/09-Mar-2011 07:01 -
[DIR]t/09-Mar-2011 07:01 -
[DIR]tahoe/09-Mar-2011 07:01 -
[DIR]terranova/09-Mar-2011 07:01 -
[DIR]top/09-Mar-2011 07:04 -
[DIR]torrent_tutorial/09-Mar-2011 07:04 -
[DIR]video_links/09-Mar-2011 07:05 -
[DIR]video_tools/09-Mar-2011 07:05 -
[   ]retro_ipod.html09-Mar-2011 06:39 242
[   ]retro_ipod.jpg09-Mar-2011 06:39 62K
Copyright © 2005-2008 Rocketboom