?> " nowrap> <?php echo "<a href='{$directory}/profile.php?name={$name}'>{$name}</a>"; ?> </td> <td width="15%" nowrap> <?php echo "{$alias}"; ?> </td> <td width="10%" nowrap> <?php echo getVersionsImages($versions); ?> </td> <td width="10%" nowrap> <?php if ($cookie_name == 'null') { echo '<span style="color:#AAAAAA;">Hidden</span>'; } else { echo "{$icqpic} {$icqnumber}"; } ?> </td> <td width="10%" nowrap> <?php
} } else { if ($invalidEmail) { $showMessage = true; $messageText = '<p>' . $exc . 'Your email address <b>' . $mail . '</b> is invalid. Please <b><a href="/editprofile.php">edit your profile</a> to fix this</b>.</p>'; } else { $playerStatusLine = GetPlayerStatusLine($cookie_name); if (!empty($playerStatusLine)) { $showMessage = true; $messageText = $playerStatusLine; } } } } else { // not logged in $versionsImages = getVersionsImages(getSupportedVersions()); if (!$loggingOut) { //$showMessage = true; //$messageText = '<p><b>You want to play in evo-league? <a href="/join.php">Click here to sign up!</a></b></p>'; } } $showMessage2 = false; $sql = "SELECT maintenance FROM six_stats"; $row = mysql_fetch_array(mysql_query($sql)); if ($row[0] == 1) { $messageText2 = '<p>' . $exc . 'Sixserver is currently in <b>maintenance mode</b>. You can try to log in later.</p>'; $showMessage2 = true; } ?> <html> <head>
$boxtitle = "Season ".$cur." <span style='font-weight:normal;font-size:10px;'>(".$season_row['begindate']." - ".$season_row['enddate'].")</span>"; echo getBoxTop($boxtitle, "", false, null); ?> <table class="layouttable"> <tr> <td style="padding-bottom:10px;">Ladder - <b><?php echo $combinedLadders; ?> </b></td> <td style="padding-bottom:10px;" align="right"> <? foreach ($combinedLaddersArray as $combinedLadder) { // echo "getVersionsForLadder($combinedLadder):".getVersionsForLadder($combinedLadder); echo getVersionsImages(getVersionsForLadder($combinedLadder)); } ?> </td> </tr> <tr><td width="50%"> <table class="layouttable"> <? $count = 0; $rows = mysql_num_rows($result); while ($row = mysql_fetch_array($result)) { $count++; $position = $row['position']; $name = $row['player_name']; $points = $row['points'];
$columnTitlesArray = array('Id', 'Nat.', 'Loc.', 'Versions', 'Name', 'Alias', 'Games', 'Joined'); ?> <?= getRankBoxTop("Players List", $columnTitlesArray) ?> <? $cur = 1; while ($row = mysql_fetch_array($result)) { $id = $row['player_id']; $nationality = $row['nationality']; $country = $row['country']; $name = $row['name']; $nameClass = colorNameClass($name, $row['approved']); $alias = $row['alias']; $games = $row['totalgames']; $joined = formatDate($row['joindate']); $versionsImg = getVersionsImages($row['versions']); ?> <tr<? if (strcmp($cookie_name, $name) == 0) { echo " class='row_active'"; } else { echo " class='row'"; } ?>> <td width="5%" style="text-align:right;"><?= $id ?></td> <td width="5%" style="text-align:center;"> <?= "<img src='$directory/flags/$nationality.bmp' title='Nationality: $nationality' align='absmiddle' border='1'>" ?> </td> <td width="5%" style="text-align:center;"> <?= "<img src='$directory/flags/$country.bmp' title='Location: $country' align='absmiddle' border='1'>" ?>