В вид материалов:
Code
<div style="padding:0px 4px 0px 3px;">
<div style="float:right;font-size:9px;" title="$DATE$">$TIME$</div>
<?if($USERNAME$)?><a class="m" href="javascript://" onclick="ffoc(document.forms.addform.message,2);document.forms.addform.message.value+='[b]$USERNAME$[/b], '" title="Цитировать $USERNAME$">
<?if($USER_ID$=1)?><span style="color:#B22222;">$USERNAME$</span><?else?><span>$USERNAME$</span><?endif?>
</a><?endif?>
<div class="cMessage" style="margin:0px 0px 5px 0px;border-bottom: #e5e5e5 1px solid;">$MESSAGE$
<div style="padding:1px"></div>
</div>
</div>
В форму добавления материалов:
Code
<style type="text/css"> .postSubmit {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #0a88f7;
color: #ffffcc;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postSubmit:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #1b58f2;
color: #ffffcc;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
</style>
<table width="100%" border="0" cellpadding="2" cellspacing="1">
<tbody><tr>
<td width="70%" align="right"><div align="left"><a class="noun" href="javascript:void('smiles')" onclick="ffoc(document.forms.addform.message,2);wasclk[2]=2;window.open('$SMILES_URI$','csmiles','scrollbars=1,width=250,height=350,left=0,top=0'); return false;" title="Вставить смайл"><img src="http://dotahack.net/images/msat/s.png" width="16" align="absmiddle" border="0" height="16"></a><!--ENDIF-->
<a class="noun" href="javascript:void('Message control')" onclick="window.open('$MSGCTRL_URI$','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" title="Управление сообщениями"><img src="http://dotahack.net/images/msat/cmt.png" width="15" align="absmiddle" border="0" height="15"></a></div>
</td></tr></tbody></table>
<input maxlength="60" name="uname" size="8" class="mchat" id="mchatNmF" value="" onfocus="ffoc(this,0)" onblur="fblur(this,0)" title="$STR_NAME$" style="border: 1px solid rgb(170, 170, 170); background: transparent url(http://coool.net.ru/images/1/main_top_gradient.png) repeat-x scroll left top; display: none; height: 24px; color: rgb(119, 119, 119); font-family: Verdana; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" type="text">
<input maxlength="$MAX_MESSAGE_LEN$" name="message" size="22" class="mchat" id="mchatMsgF" value="" onfocus="ffoc(this,2)" onblur="fblur(this,2)" title="Пиши сюда" style="border: 1px solid rgb(170, 170, 170); margin: 0px; padding: 5px; width: 68%; font-size: 7pt; height: 24px; color: rgb(255, 255, 255); font-family: Verdana; background-color: rgb(255, 255, 255); background-repeat: repeat-x; background-position: left top;" type="text">
<input style="margin: 0px; height: 24px; width: 30px;" value="»" class="postSubmit" id="mchatBtn" onclick="return checkform(this.form);" type="submit">