示例#1
0
        echo $DeathArena->Ranking['object_name'][$i];
        ?>
</span></td>
									<td><?php 
        echo $DeathArena->Ranking['wins'][$i];
        ?>
</td>
									<td><?php 
        echo $DeathArena->Ranking['loss'][$i];
        ?>
</td>
						<?php 
        if ($type == 0) {
            ?>
									<td><?php 
            echo $DeathArena->GetCharInfo($DeathArena->Ranking['object_id'][$i], 0);
            ?>
</td>
									<td><?php 
            echo $DeathArena->GetCharInfo($DeathArena->Ranking['object_id'][$i], 1);
            ?>
</td>
						<?php 
        }
        $player_online = $DeathArena->GetOnline($DeathArena->Ranking['object_id'][$i], $type);
        ?>
									<td><?php 
        echo $DeathArena->Ranking['ration'][$i];
        ?>
</td>
									<td id="<?php 
示例#2
0
">
					<td width="16%"><?php 
        echo $position <= 3 ? '<img src="images/medal_0' . $position . '.png" width="16" />' : $position;
        ?>
</td>
					<td>
						<span title="
									<span class='title'><?php 
        echo $type == 1 ? 'Clã' : ($type == 2 ? 'Grupo' : 'Jogador');
        ?>
</span>: <?php 
        echo $DeathArena->Ranking['object_name'][$i];
        ?>
</span><br/>
									<?php 
        echo !$type ? '<span class=\'title\'>Clã</span>: ' . $DeathArena->GetCharInfo($DeathArena->Ranking['object_id'][$i], 0) . '<br/><span class=\'title\'>Grupo</span>: ' . $DeathArena->GetCharInfo($DeathArena->Ranking['object_id'][$i], 1) . '<br/>' : '';
        ?>
									<span class='title'>Vitórias</span>: <?php 
        echo $DeathArena->Ranking['wins'][$i];
        ?>
</br>
									<span class='title'>Derrotas</span>: <?php 
        echo $DeathArena->Ranking['loss'][$i];
        ?>
</br>
									<span class='title'>Proporcional</span>: <?php 
        echo $DeathArena->Ranking['ration'][$i];
        ?>
<br/>
									<span class='title'>Status</span>: <?php 
        echo $type == 0 ? !$player_online ? "off-line" : "on-line" : (!$player_online ? "off-line" : $player_online . " on-line");