<li class="user-list" data-id="{{ID}}">
    <a href="<?php echo ($pt->config->server == 'ajax') ? "{{LINK messages/{{USERNAME}}}}" : "{{LINK @{{USERNAME}}}}"?>" <?php if ($pt->config->server == 'ajax') { ?>  data-load="?link1=messages&id={{USERNAME}}"<?php } ?> data-id="{{ID}}">
        <div class="user-avatar">
            <img src="{{AVATAR}}" alt="user avatar">
        </div>
		<div class="time">{{TIME}}</div>
        <div class="countunseen">{{COUNT}}</div>
        <div class="user-name">{{NAME}}</div>
        <div class="username hidden">{{USERNAME}}</div>
        <div class="user-last-message">{{LAST_MESSAGE}}</div>
        <div class="clear"></div>
    </a>
</li>