#389 small corrections

This commit is contained in:
Ulrich Block 2014-05-01 20:00:46 +02:00
parent 8a716d4243
commit 41343068e6
2 changed files with 4 additions and 4 deletions

View File

@ -1338,7 +1338,7 @@ if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip,
$statsArray['gameserverSlotsUsed'] += (int) $row2['queryNumplayers'];
}
if ($row2['queryName'] != 'OFFLINE' and $row2['stopped'] == 'N' and $row['war'] == 'Y' and $row2['queryPassword'] == 'N') {
if ($row2['queryName'] != 'OFFLINE' and $row2['stopped'] != 'Y' and $row2['war'] == 'Y' and $row2['queryPassword'] == 'N') {
$statsArray['gameserverNoPassword']++;
} else if ($row2['queryName'] == 'OFFLINE' and $row2['stopped'] != 'Y') {
$statsArray['gameserverNotRunning']++;

View File

@ -9,7 +9,7 @@
<div class="row-fluid">
<?php if($easywiModules['gs'] and $pa['roots'] and $gserver_module) { ?>
<div class="span3">
<h5><a href="admin.php?w=ro&amp;d=md"><?php echo $statsArray['gameMasterInstalled'].' '.$gsprache->gameroot;?></a></h5>
<h5><a href="admin.php?w=ro"><?php echo $statsArray['gameMasterInstalled'].' '.$gsprache->gameroot;?></a></h5>
<strong><?php echo $gsprache->active;?></strong><span class="pull-right"><?php echo $statsArray['gameMasterActivePercent'];?>%</span>
<div class="progress">
<div class="bar bar-success" style="width: <?php echo $statsArray['gameMasterActivePercent'];?>%;"></div>
@ -151,7 +151,7 @@
<?php }?>
<?php if($easywiModules['my'] and $pa['mysql_settings']) { ?>
<div class="span3">
<h5><a href="admin.php?w=my"><?php echo $statsArray['mysqlMasterInstalled'].' MySQL '.$gsprache->master;?></a></h5>
<h5><a href="admin.php?w=ms"><?php echo $statsArray['mysqlMasterInstalled'].' MySQL '.$gsprache->master;?></a></h5>
<strong><?php echo $gsprache->active;?></strong><span class="pull-right"><?php echo $statsArray['mysqlMasterActivePercent'];?>%</span>
<div class="progress">
<div class="bar bar-success" style="width: <?php echo $statsArray['mysqlMasterActivePercent'];?>%;"></div>
@ -166,7 +166,7 @@
<?php }?>
<?php if($easywiModules['my'] and $pa['mysql']) { ?>
<div class="span3">
<h5><a href="admin.php?w=my&amp;d=ms"><?php echo $statsArray['webspaceInstalled'].' '.$gsprache->databases;?></a></h5>
<h5><a href="admin.php?w=my&amp;d=my"><?php echo $statsArray['webspaceInstalled'].' '.$gsprache->databases;?></a></h5>
<strong><?php echo $gsprache->active;?></strong><span class="pull-right"><?php echo $statsArray['mysqlActivePercent'];?>%</span>
<div class="progress">
<div class="bar bar-success" style="width: <?php echo $statsArray['mysqlActivePercent'];?>%;"></div>