Вид материалов чата

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script type="text/javascript" src="/chats/chat.js"></script>
<div class="cBlock$PARITY$">
<div class="f-block">
<div class="a-block">
<?if($AVATAR_URL$)?>
<img src="$AVATAR_URL$" alt="$USERNAME$" />
<?else?>
<img src="/chats/user.png" alt="$USERNAME$" />
<?endif?>
</div>
<div class="cMessage">
<div class="u-block"> <span class="d-block" title="$DATE$"> $TIME$ </span>
<a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow">
<img alt="" src="http://s5.ucoz.net/img/icon/profile.png" style="width:11px;height:11px;border:0;vertical-align: middle" /></a>
<a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[i][color=orange]$NAME$[/color][/i], ';return false;"><?if($USER_ID$='1')?><font color="red"><b>$NAME$</b></font><?else?><b>$NAME$</b><?endif?></a></a></a> </div>
$MESSAGE$</div>
</div></div>
<script>
$('.cMessage:contains("$Admin")').attr('title', 'Системное сообщение администрации').css('color', '#aa4444').css('font-weight', 'bold');
</script>