2020-06-03 15:31:18 +00:00
|
|
|
<?php
|
2023-08-27 03:31:32 +00:00
|
|
|
include_once 'app/OpenSim.php';
|
|
|
|
$opensim = new OpenSim();
|
2023-08-23 16:16:35 +00:00
|
|
|
|
2023-08-27 03:31:32 +00:00
|
|
|
$HTML->setHTMLTitle("Dashboard");
|
|
|
|
$HTML->importSeitenInhalt("dashboard-home.html");
|
2020-06-03 15:31:18 +00:00
|
|
|
|
2023-08-27 03:31:32 +00:00
|
|
|
$HTML->ReplaceSeitenInhalt("%%GLOBAL-USER-COUNT%%", $opensim->getUserCount());
|
|
|
|
$HTML->ReplaceSeitenInhalt("%%GLOBAL-REGION-COUNT%%", $opensim->getRegionCount());
|
2020-06-03 15:31:18 +00:00
|
|
|
|
2023-08-27 03:31:32 +00:00
|
|
|
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", htmlspecialchars($_SESSION['DISPLAYNAME']));
|
2020-06-03 15:31:18 +00:00
|
|
|
|
2023-08-27 03:31:32 +00:00
|
|
|
$HTML->build();
|
|
|
|
echo $HTML->ausgabe();
|