0 AND tribe < 4"));
?>
| Player Information | |
|---|---|
| Registered players | |
| Active players | |
| Players online | ".($t - 300)) or die(mysqli_error($database->dblink)); $num_rows = mysqli_num_rows($result); echo $num_rows;?> |
| Players Banned | |
| Villages settled | |
| Player Information | Tribe | Registered | Percent |
|---|---|---|
| Romans | 0) ? ($percents[0] = round(100 * ($tribes[0] / $users), 2))."%" : "---"; ?> | |
| Teutons | 0) ? ($percents[1] = round(100 * ($tribes[1] / $users), 2))."%" : "---"; ?> | |
| Gauls | 0) ? (100-$percents[0]-$percents[1])."%" : "---"; ?> | |
| Server Information | Total | Average |
|---|---|---|
Gold |
||
| Troops on the Server | '.$troop['sumof'].' | '; } echo ""; for($i=11; $i<21; $i++) { echo '![]() | ';
}
echo '';
for($i=11; $i<21; $i++)
{
$t = mysqli_query($GLOBALS["link"], "SELECT SUM(u".$i.") AS sumof FROM ".TB_PREFIX."units");
$troop = mysqli_fetch_assoc($t);
echo ''.$troop['sumof'].' | '; } echo ""; for($i=21; $i<31; $i++) { echo '![]() | ';
}
echo '';
for($i=21; $i<31; $i++)
{
$t = mysqli_query($GLOBALS["link"], "SELECT SUM(u".$i.") AS sumof FROM ".TB_PREFIX."units");
$troop = mysqli_fetch_assoc($t);
echo ''.$troop['sumof'].' | '; } echo ""; for($i=31; $i<41; $i++) { echo '![]() | ';
}
echo '';
for($i=31; $i<41; $i++)
{
$t = mysqli_query($GLOBALS["link"], "SELECT SUM(u".$i.") AS sumof FROM ".TB_PREFIX."units");
$troop = mysqli_fetch_assoc($t);
echo ''.$troop['sumof'].' | '; } echo ""; for($i=41; $i<51; $i++) { echo '![]() | ';
}
echo '';
for($i=41; $i<51; $i++)
{
$t = mysqli_query($GLOBALS["link"], "SELECT SUM(u".$i.") AS sumof FROM ".TB_PREFIX."units");
$troop = mysqli_fetch_assoc($t);
echo ''.$troop['sumof'].' | '; } ?>
|---|