1
0
Fork 0
Manager/plugins/default-html.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']) : '');
}
?>