Ejemplo n.º 1
0
if ($division->id == 3) {
    ?>
					<th class='text-center'><b>Last Battle</b></th>	
				<?php 
}
?>

			</tr>
		</thead>
		<tbody>

			<?php 
foreach ($members as $member) {
    ?>
				<?php 
    $position = Position::convert($member->position_id);
    ?>
				<tr title='Click to view profile' data-id='<?php 
    echo $member->member_id;
    ?>
'>
					<td class='text-center col-hidden'><?php 
    echo $member->rank_id;
    ?>
</td>
					<td class='text-center col-hidden'><?php 
    echo $member->last_activity;
    ?>
</td>

					<?php 
Ejemplo n.º 2
0
                class='text-muted'><?php 
echo $divisionInfo->full_name;
?>
</span></li>
        <li class='list-group-item text-right'><span class='pull-left'><strong>Last promoted: </strong></span>
            <span class='text-muted'><?php 
echo !is_null($memberInfo->last_promotion) ? date('Y-m-d', strtotime($memberInfo->last_promotion)) : "Not available";
?>
</span>
        </li>

        <?php 
echo property_exists($platoonInfo, 'item') ? $platoonInfo->item : null;
?>
        <?php 
$position = $memberInfo->position_id ? Position::convert($memberInfo->position_id)->desc : 'Unknown';
?>
        <li class='list-group-item text-right'><span class='pull-left'><strong>Position: </strong></span> <span
                class='text-muted'><?php 
echo Locality::run($position, $memberInfo->game_id);
?>
</span></li>
        <?php 
$squadleader = property_exists($memberInfo, 'squad_leader_id') ? $memberInfo->squad_leader_id : null;
?>

        <?php 
if ($squadleader != 0) {
    ?>
            <a href="member/<?php 
    echo $squadleader;