if (isset($_POST['username']) & isset($_POST['password']))
{
$_SESSION['username'] = $_POST['username'];
$_SESSION['password'] = $_POST['password'];
require_once('php/auth.inc');
if (allowModify())
{
$pagename = $SESSION['prelogin'];
if ($pagename == '')
$pagename = 'welcome';
include("php/allfunctions.inc");
if (file_exists($pagename.'.inc'))
include($pagename.'.inc');
// include("head.php");
include("body.php");
// $loggedin = true;
// break;
}
} else {
?>
}
?>