13 lines
402 B
PHP
13 lines
402 B
PHP
<?php
|
|
$HTML = new HTML();
|
|
if(isset($_SESSION['LOGIN']))
|
|
{
|
|
$HTML->importHTML("dashboard.html");
|
|
|
|
if(isset($_SESSION['LEVEL']) && $_SESSION['LEVEL'] > 100) {
|
|
$HTML->importHTML("dashboard-admin.html");
|
|
}
|
|
|
|
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", isset($_SESSION['DISPLAYNAME']) ? htmlspecialchars($_SESSION['DISPLAYNAME']) : '');
|
|
}
|
|
?>
|