Esempio n. 1
0
: <?php 
echo $clan_info['clan_name'];
?>
<br>
    <?php 
echo Yii::t('main', 'Алли');
?>
: <?php 
echo $clan_info['ally_name'] ? e($clan_info['ally_name']) : Yii::t('main', 'Нет');
?>
<br>
    <?php 
echo Yii::t('main', 'Замок');
?>
: <?php 
echo $clan_info['hasCastle'] ? Lineage::getCastleName($clan_info['hasCastle']) : Yii::t('main', 'Нет');
?>
<br>
    <?php 
echo Yii::t('main', 'Лидер');
?>
: <?php 
echo e($clan_info['char_name']);
?>
 (<?php 
echo Lineage::getClassName($clan_info['base_class']);
?>
 <?php 
echo $clan_info['level'];
?>
)
Esempio n. 2
0
<table class="table">
    <tbody>
        <?php 
$i = 0;
foreach ($content as $row) {
    ?>
            <tr>
                <th colspan="2"><?php 
    echo Lineage::getCastleName($row['castle_id']);
    ?>
</th>
            </tr>
            <tr class="<?php 
    echo ++$i % 2 == 0 ? 'odd' : 'even';
    ?>
">
                <td width="150"><?php 
    echo Lineage::getCastleIcon($row['castle_id']);
    ?>
</td>
                <td>
                <?php 
    echo Yii::t('main', 'Налог');
    ?>
: <i><?php 
    echo $row['tax_percent'];
    ?>
%</i><br />
                <?php 
    echo Yii::t('main', 'Дата осады');
    ?>
Esempio n. 3
0
        echo $row['char_name'];
        ?>
 [<?php 
        echo Lineage::getClassName($row['base_class']);
        ?>
][<?php 
        echo $row['level'];
        ?>
]</p>
                    </td>
                    <td><?php 
        echo $row['clan_level'];
        ?>
</td>
                    <td><?php 
        echo $row['hasCastle'] != 0 ? Lineage::getCastleName($row['hasCastle']) : '-';
        ?>
</td>
                    <td><?php 
        echo $row['ccount'];
        ?>
</td>
                    <td><?php 
        echo number_format($row['reputation_score'], 0, '', '.');
        ?>
</td>
                    <td>
                        <?php 
        echo $row['ally_name'] != '' ? e($row['ally_name']) : '-';
        ?>
                    </td>