<style>
        ._count { color: #fff; padding: 2px 5px 2px 5px; margin-bottom: 2px; border-radius: 3px; }
        .img_wrap { width: 12%; height: 100px; margin-right: 2px; overflow: hidden; display: inline-block; vertical-align: middle;}
</style>

  <div class='<?= empty($linvip) ? 'nav2' : 'mess' ?>' style='text-align: center;'>
    <a href='/plugins/lineykavip/go.php'>
    <img src='/plugins/lineykavip/top-tape_want.png' alt='IMG'>
    </a>

<?
    $qE = mysql_query("SELECT * FROM `lineykavip` ORDER BY `id` DESC LIMIT 5");

if (empty($linvip))
{

while ($line = mysql_fetch_assoc($qE))
 {
?>
 <div style='position:relative;display:inline-block;'>
   <a href='/info.php?id=<?= $line['id_user'] ?>'>
    <?= user::avatar($line['id_user'], 1) ?>
    <span class='_count' style='position:absolute;bottom: -2px; right: -5%;'><img src='/style/icons/<?= $line['nomer'] ?>.png' width="16px" alt='IMG'></span>
   </a>
 </div>
<?
 }

 } else{

while ($line = mysql_fetch_assoc($qE))
 {
  $avat14 = mysql_fetch_array(mysql_query("SELECT id FROM `gallery_foto` WHERE `id_user` = '$line[id_user]' AND `avatar` = '1' LIMIT 1"));
?>
 <div class='img_wrap'>
 <div style='position:relative;display:inline-block;'>
   <a href='/info.php?id=<?= $line['id_user'] ?>'>
    <img src='/foto/foto128/<?= $avat14['id'] ?>.jpg' alt=''>
   </a>
 </div>
 </div>
<?
  }
 }

 ?>
  </div>
<?