Ejemplo n.º 1
0
                        <p class="help-block" style="font-size: 13px;"><?php 
        echo Lineage::getClassName($row['base_class']);
        ?>
 [<?php 
        echo $row['level'];
        ?>
]</p></td>
                    <td><?php 
        echo $row['pvpkills'];
        ?>
/<?php 
        echo $row['pkkills'];
        ?>
</td>
                    <td><?php 
        echo clanAllyCrest('clan', $row['clan_id'], $this->_gs->id, $row['clan_crest']);
        ?>
                    <?php 
        $clan_link = e($row['clan_name']);
        if ($this->_gs->stats_clan_info) {
            $clan_link = HTML::link($row['clan_name'], array('/stats/default/index', 'gs_id' => $this->_gs_id, 'type' => 'clan-info', 'clan_id' => $row['clan_id']));
        }
        echo $row['clan_name'] == '' ? '-' : $clan_link;
        ?>
</td>
                    <td><?php 
        echo Lineage::getOnlineTime($row['onlinetime']);
        ?>
</td>
                    <td><?php 
        echo $row['online'] ? '<span class="status-online" title="' . Yii::t('main', 'В игре') . '"></span>' : '<span class="status-offline" title="' . Yii::t('main', 'Не в игре') . '"></span>';
Ejemplo n.º 2
0
if ($content) {
    ?>
            <?php 
    foreach ($content as $i => $row) {
        ?>
                <tr class="<?php 
        echo $i % 2 == 0 ? 'odd' : 'even';
        ?>
">
                    <td><?php 
        echo ++$i;
        ?>
</td>
                    <td>
                        <?php 
        echo clanAllyCrest('ally', $row['ally_id'], $this->_gs_id, $row['ally_crest']) . clanAllyCrest('clan', $row['clan_id'], $this->_gs_id, $row['clan_crest']);
        ?>
                        <?php 
        if ($this->_gs->stats_clan_info) {
            echo HTML::link($row['clan_name'], array('/stats/default/index', 'gs_id' => $this->_gs_id, 'type' => 'clan-info', 'clan_id' => $row['clan_id']));
        } else {
            echo '<font color="#9D6A1E">' . e($row['clan_name']) . '</font>';
        }
        ?>
                        <p class="help-block"><?php 
        echo Yii::t('main', 'Лидер');
        ?>
: <?php 
        echo $row['char_name'];
        ?>
 [<?php