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 | - | |
![]() | light_04.jpg | 2009-09-15 08:00 | 2.4K |
![]() | light_05.jpg | 2009-09-15 08:00 | 1.4K |
![]() | light_06.jpg | 2009-09-15 08:00 | 2.7K |
![]() | light_07.jpg | 2009-09-15 08:00 | 2.3K |
![]() | light_08.jpg | 2009-09-15 08:00 | 2.5K |
![]() | light_09.jpg | 2009-09-15 08:00 | 2.7K |
![]() | light_10.jpg | 2009-09-15 08:00 | 2.7K |
![]() | main_04.jpg | 2009-09-15 08:01 | 2.3K |
![]() | main_05.jpg | 2009-09-15 08:01 | 1.4K |
![]() | main_06.jpg | 2009-09-15 08:02 | 2.6K |
![]() | main_07.jpg | 2009-09-15 08:02 | 2.3K |
![]() | main_08.jpg | 2009-09-15 08:02 | 2.4K |
![]() | main_09.jpg | 2009-09-15 08:02 | 2.6K |
![]() | main_10.jpg | 2009-09-15 08:02 | 2.6K |
![]() | main_11.jpg | 2009-09-15 08:02 | 130K |