<table class="table">
    <tr>
        <td>
            <div class="text-center">
                <?= CHtml::link('<img src="/images/town.png" alt="Город"><br />Город', array('main/town')) ?>
            </div>
        </td>

        <td>
            <div class="text-center">
                <?= CHtml::link('<img src="/images/gateway.png" alt="Подворотня"><br />Подворотня', array('arena/index')) ?>
            </div>
        </td>
    </tr>


    <tr>
        <td>
            <div class="text-center">
                <?php $b = Pets_user::ownedmeornot(NULL) ?>
                <?php if ($b): ?>
                    <?= CHtml::link('<img src="/images/pets.png" alt="Питомцы"> <br />Питомцы', array('pets/panel')) ?> 
                <?php else: ?>
                    <?= CHtml::link('<img src="/images/pets.png" alt="Питомцы"> <br />Питомцы', array('pets/shop')) ?> 
                <?php endif ?>
            </div>
        </td>

        <td>
            <div class="text-center">
                <?= CHtml::link('<img src="/images/business.png" alt="Бизнес"><br />Бизнес', array('biz/index')) ?> 
            </div>
        </td>
    </tr>



</tr>
</table>
