<button type="button" class="btn btn-default btn-sm" onclick="Wo_OpenChatTab(<?php echo $wo['message']['user_id'];?>);">
<i class="fa fa-comment"></i> 
<span class="button-text"> <?php echo $wo['lang']['message'];?></span>
</button>