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

12 lines
396 B
PHP
Raw Normal View History

2020-08-04 09:44:59 +00:00
<?php
$HTML = new HTML();
2023-08-27 03:31:32 +00:00
if (isset($_SESSION['LOGIN'])) {
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
2023-08-27 03:31:32 +00:00
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", isset($_SESSION['DISPLAYNAME']) ? htmlspecialchars($_SESSION['DISPLAYNAME']) : '');
2020-08-04 09:44:59 +00:00
}