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 = "
Name | Last modified | Size | |
---|---|---|---|
Parent Directory | - | ||
BabyILoveYou1.mp3 | 2009-09-30 20:07 | 3.3M | |
babyiloveyoufade.mp3 | 2009-09-30 20:08 | 1.4M | |
bigband2.mp3 | 2009-09-30 20:08 | 1.0M | |
Blues.mp3 | 2009-09-30 20:08 | 1.1M | |
Classical.mp3 | 2009-09-30 20:08 | 412K | |
Electronica.mp3 | 2009-09-30 20:09 | 403K | |
Funk.mp3 | 2009-09-30 20:09 | 492K | |
Funk2.mp3 | 2009-09-30 20:09 | 493K | |
HipHop.mp3 | 2009-09-30 20:09 | 1.1M | |
PopBallad.mp3 | 2009-09-30 20:10 | 1.3M | |
Salsa.mp3 | 2009-09-30 20:10 | 1.6M | |
Ska.mp3 | 2009-09-30 20:10 | 1.3M | |
SmoothJazz.mp3 | 2009-09-30 20:11 | 1.1M | |
Stax-Motown.mp3 | 2009-09-30 20:11 | 587K |