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
[DIR]Parent Directory  -
[DIR]JijiBlock/02-Sep-2010 05:50 -
[DIR]kickstarter/28-Jul-2010 18:11 -
[DIR]mowssii/29-May-2008 11:09 -
[   ]baltimore.zip27-Oct-2009 12:41 44M
[   ]BrainFactory.zip03-Jun-2010 02:53 44M
[   ]CHANNEL-4-Roadshow-Banksy.mp419-Aug-2011 11:05 169M
[   ]CompleteFirstSeasonTrailer.mov21-Jul-2009 09:17 66M
[   ]Creatorimages.zip08-Jun-2010 07:26 93M
[   ]FAT-logo-nbc-vector-LEFT.ai28-May-2011 07:18 214K
[   ]FAT-logo-nbc-vector-LEFT.eps28-May-2011 07:18 500K
[   ]FAT-logo-nbc-vector.eps25-Feb-2010 04:31 1.0M
[   ]FAT-medall-vector.eps25-Feb-2010 04:33 594K
[   ]FATBUSUK3.mov20-May-2009 03:29 167M
[   ]fffffat_yellow.jpg12-Oct-2007 08:37 74K
[   ]fffffat_yellow_55px.jpg12-Oct-2007 08:37 24K
[   ]FREE-Ai-Weiwei-glasses.pdf17-Jun-2011 08:36 61K
[   ]FUCK3D.pdf04-Sep-2009 07:21 479K
[   ]fuckflickr-1-0.tgz28-Apr-2008 18:49 213K
[   ]fuckflickr-2-0-rc3.zip28-Apr-2008 18:49 265K
[   ]fuckflickr-2-0.zip08-May-2008 14:06 265K
[   ]fuckflickr-rc1.tgz11-Mar-2008 11:54 213K
[   ]GRL_bio.pdf08-Jul-2008 09:16 3.5M
[   ]GRL_CV.doc08-Jul-2008 09:17 124K
[   ]GRL_TheCompl3371stSeason_LAN.mov18-Apr-2008 23:41 551M
[   ]GuggenheimForFree.mov19-May-2009 20:42 325M
[   ]HELLOFROMTHEUK.mov14-Jul-2009 11:07 67M
[   ]jihoifamily.zip16-Sep-2009 16:25 108M
[   ]KATSU_HD2.mov27-Apr-2009 19:00 496M
[   ]korean_been_HD3.mov20-May-2009 04:03 407M
[   ]koreanbeef.mov20-May-2009 02:06 33M
[   ]moma-pass.pdf31-Jan-2011 20:30 735K
[   ]moscow.zip17-Oct-2009 10:44 8.8M
[   ]Nuri.zip20-Aug-2010 04:11 78M
[   ]OLES_xmas_MIX_2011.zip21-Dec-2011 13:24 220M
[   ]open_discussion09.mp301-Jul-2009 11:44 94M
[   ]phil.zip31-Jan-2008 08:01 21M
[   ]PowderlyWorkImg.zip26-Aug-2009 22:25 42M
[   ]Radical_Fanaticals.zip06-Jul-2009 20:03 13M
[   ]The.Great.Contemporary.Art.Bubble.avi28-Oct-2011 00:59 804M
[   ]TourettesDE.zip21-Feb-2008 04:12 16K
[   ]youth.mov20-Aug-2010 04:09 42M
Indices 1.0