15 lines
466 B
PHP
15 lines
466 B
PHP
<?php
|
|
include '../app/OpenSim.php';
|
|
$opensim = new OpenSim();
|
|
|
|
$HTML->setHTMLTitle("Dashboard");
|
|
$HTML->importSeitenInhalt("../templates/dashboard-home.html");
|
|
|
|
$HTML->ReplaceSeitenInhalt("%%GLOBAL-USER-COUNT%%", $opensim->getUserCount());
|
|
$HTML->ReplaceSeitenInhalt("%%GLOBAL-REGION-COUNT%%", $opensim->getRegionCount());
|
|
|
|
$HTML->ReplaceLayoutInhalt("%%USERNAME%%", htmlspecialchars($_SESSION['DISPLAYNAME']));
|
|
|
|
$HTML->build();
|
|
echo $HTML->ausgabe();
|
|
?>
|