"") {
if (file_exists ($pagina . ".php")) {
require ($pagina . ".php");
} else {
echo "
Sorry! I can't find the page!";
}
}
} elseif (isset ($_GET["sec"])) {
$pagina = parametro_limpio ($_GET["sec"]);
if (file_exists ($pagina . ".php")) {
require ($pagina . ".php");
} else {
echo "
Sorry! I can't find the page!";
}
} else {
require ("general/logon_ok.php"); //default
}
?>