예제 #1
0
do {
    ?>
        <tr class="tabelinhoud">
          <td>
            <?php 
    echo $row_rs_toppenalties['Penalty'];
    ?>
          </td>
          <td>
            <?php 
    echo $row_rs_toppenalties['ratio'];
    ?>
          </td>
          <td>
            <?php 
    echo humanReadableDuration($row_rs_toppenalties['duration'] * 60);
    ?>
          </td>
          <td>
            <a href="clientdetails.php?game=<?php 
    echo $game;
    ?>
&id=<?php 
    echo $row_rs_toppenalties['client_id'];
    ?>
">
              <?php 
    echo htmlspecialchars($row_rs_toppenalties['name']);
    ?>
</a>
          </td>
예제 #2
0
    ?>
">
              <?php 
    echo htmlspecialchars($row_rs_activebans['target_name']);
    ?>
</a>
          </td>
          <td>
            <?php 
    echo $row_rs_activebans['type'];
    ?>
          </td>
          <td>
            <?php 
    if ($row_rs_activebans['duration'] != 0) {
        echo humanReadableDuration($row_rs_activebans['duration'] * 60);
    }
    ?>
          </td>
          <td>
            <?php 
    echo date('l, d/m/Y (H:i)', $row_rs_activebans['time_add']);
    ?>
          </td>
          <td>
<?php 
    if ($row_rs_activebans['type'] == 'Notice') {
        echo "<span class=\"inactive\">Notice added by Admin</span>";
    } elseif ($row_rs_activebans['type'] == 'Ban') {
        echo "<span class=\"permanent\">permanent</span>";
    } elseif ($row_rs_activebans['type'] == 'TempBan') {