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
[PARENTDIR]Parent Directory  -
[DIR]JijiBlock/2010-09-02 05:50 -
[DIR]kickstarter/2010-07-28 18:11 -
[DIR]mowssii/2008-05-29 11:09 -
[   ]all-your-new-passwords.html2014-04-11 09:10 2.5M
[   ]baltimore.zip2009-10-27 12:41 44M
[   ]BrainFactory.zip2010-06-03 02:53 44M
[   ]CHANNEL-4-Roadshow-Banksy.mp42011-08-19 11:05 169M
[   ]CompleteFirstSeasonTrailer.mov2009-07-21 09:17 66M
[   ]Creatorimages.zip2010-06-08 07:26 93M
[   ]Endlich_alle_Y-titty_Parodien_als_MP3_stand_Mai_2013.zip2013-05-30 03:09 77M
[   ]FAT-logo-nbc-vector-LEFT.ai2011-05-28 07:18 214K
[   ]FAT-logo-nbc-vector-LEFT.eps2011-05-28 07:18 500K
[   ]FAT-logo-nbc-vector.eps2010-02-25 04:31 1.0M
[   ]FAT-medall-vector.eps2010-02-25 04:33 594K
[   ]FATBUSUK3.mov2009-05-20 03:29 167M
[   ]fffffat_yellow.jpg2007-10-12 08:37 74K
[   ]fffffat_yellow_55px.jpg2007-10-12 08:37 24K
[   ]Frank_Ocean-Channel_ORANGE.zip2012-11-27 01:29 105M
[   ]FREE-Ai-Weiwei-glasses.pdf2011-06-17 08:36 61K
[   ]FUCK3D.pdf2009-09-04 07:21 479K
[   ]fuckflickr-1-0.tgz2008-04-28 18:49 213K
[   ]fuckflickr-2-0-rc3.zip2008-04-28 18:49 265K
[   ]fuckflickr-2-0.zip2008-05-08 14:06 265K
[   ]fuckflickr-rc1.tgz2008-03-11 11:54 213K
[   ]gerhard_richter_docu_set_video_to_16-9.avi2012-04-10 19:25 914M
[   ]GRL_bio.pdf2008-07-08 09:16 3.5M
[   ]GRL_CV.doc2008-07-08 09:17 124K
[   ]GRL_TheCompl3371stSeason_LAN.mov2008-04-18 23:41 551M
[   ]GuggenheimForFree.mov2009-05-19 20:42 325M
[   ]HELLOFROMTHEUK.mov2009-07-14 11:07 67M
[   ]jihoifamily.zip2009-09-16 16:25 108M
[   ]KATSU_HD2.mov2009-04-27 19:00 496M
[   ]korean_been_HD3.mov2009-05-20 04:03 407M
[   ]koreanbeef.mov2009-05-20 02:06 33M
[   ]moma-pass.pdf2011-01-31 20:30 735K
[   ]moscow.zip2009-10-17 10:44 8.8M
[   ]Nuri.zip2010-08-20 04:11 78M
[   ]Obama-mask-with-Google-Glass-and-PRISM-label.pdf2013-06-20 04:28 147K
[   ]OLES_xmas_MIX_2011.zip2011-12-21 13:24 220M
[   ]open_discussion09.mp32009-07-01 11:44 94M
[   ]phil.zip2008-01-31 08:01 21M
[   ]PowderlyWorkImg.zip2009-08-26 22:25 42M
[   ]Radical_Fanaticals.zip2009-07-06 20:03 13M
[   ]The.Great.Contemporary.Art.Bubble.avi2011-10-28 00:59 804M
[   ]TourettesDE.zip2008-02-21 04:12 16K
[   ]worse3.mp32014-04-11 08:58 74K
[   ]worse3.ogg2014-04-11 08:58 33K
[   ]youth.mov2010-08-20 04:09 42M
Indices 1.0