</tfoot>

    <tbody>
      <?php 
foreach ($this->top as $player) {
    ?>
        <tr class="list" >
          <td><?php 
    echo $player['player_rank'];
    ?>
</td>
          <td class="playername"><a href="player_details.php?player_id=<?php 
    echo $player['player_id'];
    ?>
"><?php 
    echo replace_color_codes($player['player_name']);
    ?>
</a></td>
          <td><?php 
    echo $player['player_score_total'];
    ?>
</td>
          <td><?php 
    echo $player['player_kills'];
    ?>
</td>
          <td><?php 
    echo $player['player_deaths'];
    ?>
</td>
          <td><?php 
      <tr>
        <td rowspan="5">
          <img width="160" height="120" alt="<?php 
echo htmlspecialchars($this->overview['most_played_map']['map_text_name'], ENT_QUOTES);
?>
" src="_levelshot.php?map_id=<?php 
echo $this->overview['most_played_map']['map_id'];
?>
" />
        </td>
        <td><strong>Map Name</strong></td>
        <td><strong><a href="map_details.php?map_id=<?php 
echo $this->overview['most_played_map']['map_id'];
?>
"><?php 
echo replace_color_codes($this->overview['most_played_map']['map_text_name']);
?>
</a></strong></td>
        <td rowspan="5">
          <img width="200" height="120" alt="Winners in Games" src="_graph.php?type=wins_in_game&amp;map_id=<?php 
echo $this->overview['most_played_map']['map_id'];
?>
" />
        </td>
      </tr>
      <tr>
        <td>Times Played</td>
        <td><?php 
echo $this->overview['most_played_map']['mapstat_games'];
?>
</td>
                echo "teamvote";
            }
            ?>
</span></td>
         <td>
          <?php 
            echo $log['vote_type'];
            ?>
          <?php 
            if (!empty($log['victim_id'])) {
                ?>
<a href="player_details.php?player_id=<?php 
                echo $log['victim_id'];
                ?>
"><?php 
                echo replace_color_codes($log['victim_name']);
                ?>
</a><?php 
            }
            ?>
          <?php 
            if (!empty($log['vote_arg'])) {
                echo $log['vote_arg'];
            }
            ?>
        </td>

        <?php 
        } elseif (isset($log['endvote_gametime'])) {
            ?>
         <td><?php 
        <tr>
          <td rowspan="5">
            <img width="160" height="120" alt="<?php 
    echo htmlspecialchars($game['map_name'], ENT_QUOTES);
    ?>
" src="_levelshot.php?map_id=<?php 
    echo $game['map_id'];
    ?>
" />
          </td>
          <td><strong>Map Name</strong></td>
          <td><strong><a href="map_details.php?map_id=<?php 
    echo $game['map_id'];
    ?>
"><?php 
    echo replace_color_codes($game['map_text_name']);
    ?>
</a></strong></td>
          <td rowspan="5">
            <img width="200" height="120" alt="Winners in Games" src="_graph.php?type=wins_in_game&amp;map_id=<?php 
    echo $game['map_id'];
    ?>
" />
          </td>
        </tr>
        <tr>
          <?php 
    if ($this->order == "mapname") {
        ?>
            <td>Simple Name</td>
            <td><?php 
    <div id="header">
      <form class="search" method="get" accept-charset="utf-8" action="search_player.php">
        <fieldset>
          <label for="query">Player search:</label>
          <input type="text" name="query" id="query" value="<?php 
if (isset($_GET['query'])) {
    echo htmlspecialchars($_GET['query'], ENT_QUOTES);
}
?>
" />
          <input type="submit" value="search" />
        </fieldset>
      </form>

      <h1>Tremstats<sup class="too">(Too)</sup><span class="for"><br></span><?php 
echo replace_color_codes(TREMULOUS_SERVER_NAME);
?>
</h1>
    </div>

    <ul class="menu">
      <li><a href="index.php">Overview</a>
      </li><li><a href="top_players.php">Top Players</a>
      </li><li><a href="top_feeders.php">Feeders</a>
      </li><li><a href="top_teamkillers.php">Team Killers</a>
      </li><li><a href="most_active_players.php">Most Active Players</a>
      </li><li><a href="votes.php">Votes</a>
      </li><li><a href="most_played_maps.php">Maps</a>
      </li><li><a href="map_balance.php">Balance</a>
      </li><li><a href="games.php">Games</a></li>
    </ul>
        <?php 
if (constant('PRIVACY_NAME') == '1') {
    ?>
          <td colspan="3"><div class="privacy">( Aliases not shown )</div></td>
        <?php 
} else {
    ?>
          <?php 
    $column = 0;
    ?>
          <?php 
    foreach ($this->player_nicks as $other_nick) {
        ?>
            <td class="playername">
              <?php 
        echo replace_color_codes($other_nick['nick_name']);
        ?>
            </td>
            <?php 
        if ($column == 2) {
            ?>
              </tr><tr>
            <?php 
            $column = 0;
        } else {
            $column++;
        }
        ?>
          <?php 
    }
    ?>
Exemple #7
0
    } else {
        ?>
          <td colspan="2"></td>
        <?php 
    }
    ?>

        <?php 
    if (!empty($this->mute_happy[$i])) {
        $mute = $this->mute_happy[$i];
        ?>
          <td class="playername"><a href="player_details.php?player_id=<?php 
        echo $mute['player_id'];
        ?>
"><?php 
        echo replace_color_codes($mute['player_name']);
        ?>
</a></td>
          <td><?php 
        echo $mute['votes'];
        ?>
</td>
        <?php 
    } elseif ($i == 0) {
        ?>
          <td colspan="2">No Votes</td>
        <?php 
    } else {
        ?>
          <td colspan="2"></td>
        <?php 
<?php

include '__header__.tpl.php';
?>

<div id="box">
  <div class="heading">
    <span class="heading"><h2>Map Details for <?php 
echo replace_color_codes($this->map_details['map_text_name']);
?>
</h2></span>
    <span class="headinglink"><a href="games.php?map_id=<?php 
echo $this->map_details['map_id'];
?>
">See game list for this map</a></span>
  </div>

  <table>
    <colgroup>
      <col class="item" />
      <col />
      <col class="levelshot" />
    </colgroup>

    <thead>
      <tr>
        <th colspan="3">Summary</th>
      </tr>
    </thead>

    <tbody>
<?php

include '__header__.tpl.php';
?>

<?php 
$styles = array(array('id' => '0', 'width' => 400, 'height' => 46), array('id' => '1', 'width' => 500, 'height' => 40), array('id' => '2', 'width' => 500, 'height' => 40));
?>

<div id="box">
  <h2>Player Signature for <a href="player_details.php?player_id=<?php 
echo $this->player_details['player_id'];
?>
"><?php 
echo replace_color_codes($this->player_details['player_name']);
?>
</a></h2>

  <table>
    <colgroup>
      <col class="item" />
      <col />
    </colgroup>

    <?php 
foreach ($styles as $style) {
    $path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
    $base = "http://" . $_SERVER['HTTP_HOST'] . substr($path, 0, strrpos($path, "/") + 1);
    $playerurl = $base . "player_details.php?player_id=" . $this->player_details['player_id'];
    $sigurl = $base . "player_sig.php?player_id=" . $this->player_details['player_id'] . "&amp;style=" . $style['id'];
    $imgurl = "&lt;img src=&quot;" . $sigurl . "&quot; width=&quot;" . $style['width'] . "&quot; height=&quot;" . $style['height'] . "&quot;&gt;";
Exemple #10
0
foreach ($this->games as $game) {
    ?>
        <tr class="list" >
          <td><a href="game_details.php?game_id=<?php 
    echo $game['game_id'];
    ?>
"><?php 
    echo $game['game_id'];
    ?>
</a></td>
          <td><?php 
    echo $game['game_timestamp'];
    ?>
</td>
          <td><?php 
    echo replace_color_codes($game['game_map_name']);
    ?>
</td>
          <td align="right"><?php 
    echo $game['game_length'];
    ?>
</td>
          <td align="center"><?php 
    echo $game['game_winner'];
    ?>
</td>
          <?php 
    if (isset($this->order_name)) {
        ?>
            <td><?php 
        echo $game['stats_count'];