15 lines
477 B
PHP
15 lines
477 B
PHP
<?php
|
|
include_once 'app/OpenSim.php';
|
|
$opensim = new OpenSim();
|
|
|
|
$HTML->setHTMLTitle("Dashboard");
|
|
$HTML->importSeitenInhalt("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();
|