1
0
Fork 0
Manager/pages/dashboard.php

15 lines
477 B
PHP
Raw Normal View History

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-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();