1
0
Fork 0
Manager/plugins/default-html.php

13 lines
402 B
PHP
Raw Normal View History

2020-08-04 09:44:59 +00:00
<?php
$HTML = new HTML();
if(isset($_SESSION['LOGIN']))
2020-08-04 09:44:59 +00:00
{
2023-08-23 16:16:35 +00:00
$HTML->importHTML("dashboard.html");
2020-08-04 09:44:59 +00:00
if(isset($_SESSION['LEVEL']) && $_SESSION['LEVEL'] > 100) {
2023-08-23 16:16:35 +00:00
$HTML->importHTML("dashboard-admin.html");
}
2020-08-04 09:44:59 +00:00
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", isset($_SESSION['DISPLAYNAME']) ? htmlspecialchars($_SESSION['DISPLAYNAME']) : '');
2020-08-04 09:44:59 +00:00
}
?>