12 lines
396 B
PHP
12 lines
396 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']) : '');
|
|
}
|