<script type="text/javascript">

function tag(id, html) {
        var e = document.getElementById(id);
        if (e != null) {
            e.value += ' ' + html + ' ';
            e.focus();
        }
    }
    function showSmilies() {
        var e = document.getElementById('smiles');
        if (e != null) {
            if (e.style.display == 'block') { e.style.display = 'none'; } else { e.style.display = 'block'; }
        }
    }
</script>
<div class="smile" id="smiles" style="display: none;">
<div class="hrs"></div>
<small>
<img src="/images/ruby.png" width="17px" height="17px" alt=""> Рубины: <?=$users['gold'];?> <br>
<img src="/images/gold.png" width="17px" height="17px" alt=""> Золото: <?=$users['silver'];?><br>
<img src="/images/metal.png" width="17px" height="17px" alt=""> Железо: <?=$users['metal'];?><br>
<img src="/images/tkan.png" width="17px" height="17px" alt=""> Ткань: <?=$users['tkan'];?><br>
<img src="/images/kamen.png" width="17px" height="17px" alt=""> Камни: <?=$users['kamen'];?><br>
<img src="/images/swit.png" width="17px" height="17px" alt=""> Свитки: <?=$users['swit'];?><br>
<img src="/images/book.png" width="17px" height="17px" alt=""> Книги: <?=$users['book'];?><br>
<img src="/images/skills.png" width="17px" height="17px" alt=""> Очки умений: <?=$users['skills'];?><br>
<img src="/images/tour.png" width="17px" height="17px" alt=""> Кубки: <?=$users['tour'];?><br>
</small>
</div>