Exemplo n.º 1
0
    linkSortType('type', 'penalty type', $t);
    ?>
			</th>
			<th>Added
				<?php 
    linkSortType('time_add', 'time the penalty was added', $t);
    ?>
			</th>
			<th>Duration
				<?php 
    linkSortType('duration', 'duration of penalty', $t);
    ?>
			</th>
			<th>Expires
				<?php 
    linkSortType('time_expire', 'time the penalty expires', $t);
    ?>
			</th>
			<th>Reason</th>
			<?php 
    if ($type_admin) {
        echo '<th>Admin</th>';
    }
    // only the admin type needs this header line
    ?>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<?php 
    if ($type_admin) {
Exemplo n.º 2
0
        ?>
 active kicks made by B3 in a servers">
	<caption>B3 Kicks<small>There are <strong><?php 
        echo $total_rows;
        ?>
</strong> active kicks that have been added by B3</caption>
	<thead>
		<tr>
			<th>Client
				<?php 
        linkSortType('target_name', 'client name', $t);
        ?>
			</th>
			<th>Kicked At
				<?php 
        linkSortType('time_add', 'time the penalty was added', $t);
        ?>
			</th>
			<th>Reason</th>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<th colspan="4"></th>
		</tr>
	</tfoot>
	<tbody>
	<?php 
        if ($num_rows > 0) {
            // query contains stuff
            foreach ($data_set as $data) {