Fix viewer welcome page
							parent
							
								
									143f8ef3ed
								
							
						
					
					
						commit
						8946511d46
					
				|  | @ -4,7 +4,7 @@ | |||
| 
 | ||||
| 	$HTML = new HTML(); | ||||
| 	$HTML->setHTMLTitle("Spalsh"); | ||||
| 	$HTML->importHTML("templates/viewerWelcomeImages.html"); | ||||
| 	$HTML->importHTML("viewerWelcomeImages.html"); | ||||
| 
 | ||||
| 	$IMAGES = array(); | ||||
| 	if ($handle = opendir('./data/viewerWelcomeImages'))  | ||||
|  | @ -22,12 +22,12 @@ | |||
| 
 | ||||
| 	shuffle($IMAGES); | ||||
| 
 | ||||
| 	$HTML->ReplaceSeitenInhalt("%%JSONIMAGEARRAY%%", json_encode($IMAGES));  | ||||
| 	$HTML->ReplaceSeitenInhalt("%%GRIDNAME%%", $RUNTIME['GRID']['NAME']);  | ||||
| 	$HTML->ReplaceSeitenInhalt("%%SHOWNEWS%%", $RUNTIME['GRID']['MAIN_NEWS']);  | ||||
| 	$HTML->ReplaceLayoutInhalt("%%JSONIMAGEARRAY%%", json_encode($IMAGES));  | ||||
| 	$HTML->ReplaceLayoutInhalt("%%GRIDNAME%%", $RUNTIME['GRID']['NAME']);  | ||||
| 	$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(); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Anonymous Contributor
						Anonymous Contributor