<center> 
    <?= $user->login ?>, <?= $user->level ?> ур.
</center>

    <hr />

<table align="center">
    <tr>
        <td>
            <?php if (!empty($head)): ?>
                <img src="/images/shop/cat_<?= $head->type ?>/<?= $head->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/head.jpg" alt="">
            <?php endif ?>
        </td>
        <td rowspan="5">
            <div class="con">
            <img src="/images/side<?= $user->side ?>_avatar.png" alt=""> 
            <?php $b = Pets_user::ownedmeornot(NULL) ?>
            <?php if ($b): ?>
            <img src="/images/pet_info/<?= $b->pet ?>.png" alt="" class="top" />
            <?php endif ?>
            </div>
        </td>
        <td>
            <?php if (!empty($amulet)): ?>
                <img src="/images/shop/cat_<?= $amulet->type ?>/<?= $amulet->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/amulet.jpg" alt="">
            <?php endif ?>
        </td>
    </tr>
    <tr>
        <td>
            <?php if (!empty($body)): ?>
                <img src="/images/shop/cat_<?= $body->type ?>/<?= $body->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/body.jpg" alt="">
            <?php endif ?>
        </td>
        <td>
            <?php if (!empty($weapon)): ?>
                <img src="/images/shop/cat_<?= $weapon->type ?>/<?= $weapon->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/weapon.jpg" alt="">
            <?php endif ?>
        </td>
    </tr>
    <tr>
        <td>
            <?php if (!empty($belt)): ?>
                <img src="/images/shop/cat_<?= $belt->type ?>/<?= $belt->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/belt.jpg" alt="">
            <?php endif ?>
        </td>
        <td>
            <?php if (!empty($potion)): ?>
                <img src="/images/shop/cat_<?= $potion->type ?>/<?= $potion->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/potion.jpg" alt="">
            <?php endif ?>
        </td>
    </tr>
    <tr>
        <td>
            <?php if (!empty($pants)): ?>
                <img src="/images/shop/cat_<?= $pants->type ?>/<?= $pants->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/pants.jpg" alt="">
            <?php endif ?>
        </td>
        <td>
            <?php if (!empty($shoes)): ?>
                <img src="/images/shop/cat_<?= $shoes->type ?>/<?= $shoes->item ?>.png" alt=""> 
            <?php else: ?>
                <img src="/images/eq/shoes.jpg" alt="">
            <?php endif ?>
        </td>
    </tr>
</table>




