";
print "
";
if (!(@opendir($home_directory)))
print "$StrInvalidHomeFolder";
else if (!(@opendir($home_directory.$path)))
print "$StrInvalidPath";
if (substr($home_directory, -1) != "/")
print " $StrMissingTrailingSlash";
print " |
";
print "
";
}
if (isset($_GET['action']) && is_file("incl/".$_GET['action'].".inc.php") && is_valid_name($_GET['action']))
include("./incl/".basename($_GET['action']).".inc.php");
else if (isset($_GET['output']) && is_file("incl/".$_GET['output'].".inc.php") && is_valid_name($_GET['output']))
{
print "";
print "";
include("./incl/".basename($_GET['output']).".inc.php");
print " |
";
print "
";
include("./incl/filebrowser.inc.php");
}
else
{
include("./incl/filebrowser.inc.php");
}
}
else
{
include("./incl/login.inc.php");
}
include("./incl/footer.inc.php");
?>