<script type="text/javascript">

function tag(id, html) {
        var e = document.getElementById(id);
        if (e != null) {
            e.value += ' ' + html + ' ';
            e.focus();
        }
    }
    function showSmilies2() {
        var e = document.getElementById('smiles2');
        if (e != null) {
            if (e.style.display == 'block') { e.style.display = 'none'; } else { e.style.display = 'block'; }
        }
    }
</script>
<div class="smile" id="smiles2" style="display: none;">
<div class="hrs"></div>
<small>
<?
if($users['premium_time'] >time()){
?>
<img src="/images/vip.png" width="17px" height="17px" alt=""> <a href="premium.php"><span class="orange"><u>Премиум аккаунт</u></span></a> - <?=timer($users['premium_time']);?><br>
<?
}
?>
</small>
</div>