function(data){
							$('#content').html(data);
						}
					);
			}
			/*]]>*/
		</script>
		<div id="log_area">
		<?php 
    MessageManager::echoAll();
    ?>
		</div>
		<div id="footer">
			<?php 
    echo '<div class="">Server Version: ' . ServerInterface::getInstance()->getVersion() . '</div>';
    echo '<div class="">Script execution time: ' . sprintf('%6.3f', PHPStats::scriptExecTimeGet()) . 'ms | memory peak: ' . memory_get_peak_usage() / 1000 . ' kByte</div>';
    ?>
			<div class="updatecheck_result"></div>
		</div>
<?php 
    //if (!isset($_SESSION['mumpiVersionCheckLast'])) {
    //	$_SESSION['mumpiVersionCheckLast'] = 0;
    //}
    // only check every 60 minutes
    //TODO make this cache the result and display the cached one when not querying
    //if ($_SESSION['mumpiVersionCheckLast']+3600 < time()) {
    include_once MUMPHPI_MAINDIR . '/version.php';
    if (isset($mumpiVersion)) {
        $_SESSION['mumpiVersionCheckLast'] = time();
        ?>
				<script type="text/javascript">/*<![CDATA[*/
Beispiel #2
0
<div id="logarea">
	<?php 
MessageManager::echoAll();
?>
</div>
<div id="footer">
	<?php 
printf(tr('info_scriptexecutiontime'), PHPStats::scriptExecTimeGet(), ceil(memory_get_peak_usage() / 1000));
?>
</div>
<script type="text/javascript">
	/*<![CDATA[*/
			$('.helpicon').each(
					function(i, c) {
						var val = $(this).attr('title');
						if (val != undefined && val != '') {
							$(this).attr('title','')
								.hover(
										function(){
											$(this).html('<div class="helpicon_detail">'+val+'<\/div>');
										},
										function() {
											$(this).html('');
										}
									);
						}
					}
				);
		/*]]>*/
</script>