Làm sao để đưa tác giả ngnag hàng ở index box hả mọi người. Như ở 4r mình nè !!!
DEMO :
DEMO :
Code:
{catrow.forumrow.USER_LAST_POST}
Code:
<script>last('{catrow.forumrow.USER_LAST_POST}');</script>
Code:
<script>
function last(a) {
if (a != '') {
var b = a.split('<br />');
document.write('<span class="lastbox">' + b[1] + '</span><abbr class="lastdate" title="' + b[0] + '"> ' + b[0] + '.</abbr>');
}
}
</script>
|
|