- \n";
$dir=$_SERVER['REQUEST_URI'];
if($dir!=='/'){
$str=substr(realpath(dirname(__FILE__).'/../'),25);
echo"
- back "; echo"
- ".$entry." \n"; }else{ echo"
- ".$entry." \n"; } } } ?>
"; } $dir=dir('/var/www/localhost/htdocs/'.$dir); while(false!==($entry=$dir->read())){ if($entry!=='.'&&$entry!=='..'&&$entry!=='index.php'&&$entry!=='res'&&$entry!=='highlight.php'){ $class=pathinfo($entry); $class=$class['extension']; $cwd=getcwd(); if(is_dir($cwd.'/'.$entry)){$class='folder';} if($class=='php'||$class=='html'||$class=='config'||$class=='source'){ if($_SERVER['REQUEST_URI']=='/'){ $file=$entry; }else{ $file=urlencode(substr($_SERVER['REQUEST_URI'].$entry,1)); } echo"