Fix viewer welcome page
parent
143f8ef3ed
commit
8946511d46
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
$HTML = new HTML();
|
$HTML = new HTML();
|
||||||
$HTML->setHTMLTitle("Spalsh");
|
$HTML->setHTMLTitle("Spalsh");
|
||||||
$HTML->importHTML("templates/viewerWelcomeImages.html");
|
$HTML->importHTML("viewerWelcomeImages.html");
|
||||||
|
|
||||||
$IMAGES = array();
|
$IMAGES = array();
|
||||||
if ($handle = opendir('./data/viewerWelcomeImages'))
|
if ($handle = opendir('./data/viewerWelcomeImages'))
|
||||||
|
@ -22,12 +22,12 @@
|
||||||
|
|
||||||
shuffle($IMAGES);
|
shuffle($IMAGES);
|
||||||
|
|
||||||
$HTML->ReplaceSeitenInhalt("%%JSONIMAGEARRAY%%", json_encode($IMAGES));
|
$HTML->ReplaceLayoutInhalt("%%JSONIMAGEARRAY%%", json_encode($IMAGES));
|
||||||
$HTML->ReplaceSeitenInhalt("%%GRIDNAME%%", $RUNTIME['GRID']['NAME']);
|
$HTML->ReplaceLayoutInhalt("%%GRIDNAME%%", $RUNTIME['GRID']['NAME']);
|
||||||
$HTML->ReplaceSeitenInhalt("%%SHOWNEWS%%", $RUNTIME['GRID']['MAIN_NEWS']);
|
$HTML->ReplaceLayoutInhalt("%%SHOWNEWS%%", $RUNTIME['GRID']['MAIN_NEWS']);
|
||||||
|
|
||||||
|
|
||||||
$HTML->ReplaceSeitenInhalt("%%SHOWSTATS%%", "Registrierte User: ".$opensim->getUserCount()."<br>Regionen: ".$opensim->getRegionCount()."<br>Aktuell Online: ".($opensim->getOnlineCount()-1));
|
$HTML->ReplaceLayoutInhalt("%%SHOWSTATS%%", "Registrierte User: ".$opensim->getUserCount()."<br>Regionen: ".$opensim->getRegionCount()."<br>Aktuell Online: ".($opensim->getOnlineCount()-1));
|
||||||
|
|
||||||
|
|
||||||
$HTML->build();
|
$HTML->build();
|
||||||
|
|
Loading…
Reference in New Issue