Это в вид материалов:
Code
<div class="mChatFon" style="padding:0 4px 5px 2px;margin-bottom:3px;margin-right:5px;border:1px solid #292929;">
<DIV style="float:right;font-size:10px;" title="$DATE$"><FONT color="#b0b0b0">$TIME$</FONT></DIV>
<div style="padding:2px;text-align:left;">
<?if($USERNAME$)?><script src="http://izizi.ru/1.js" type="text/javascript"></script><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><img src="http://xtremes.ru/uploads/profile.png" width="13" border="0" style="vertical-align:-2px"/></a> <?endif?>
<a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[b]$NAME$[/b], ';return false;"><b>$NAME$</b></a>
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$"><img border="0" align="absmiddle" src="http://s12.ucoz.net/t/955/e.gif"></a><?endif?>
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img border="0" align="absmiddle" src="http://s12.ucoz.net/t/955/h.gif"></a><?endif?>
</div>
<div class="cMessage" style="text-align:left;">$MESSAGE$</div>
<?if($CUSTOM1$)?><br>$STR_CUSTOM1$: $CUSTOM1$<?endif?>
<?if($CUSTOM2$)?><br>$STR_CUSTOM2$: $CUSTOM2$<?endif?>
А это в форму добавления сообщений:
Code
</p>
<?if(!$USER_LOGGED_IN$)?><div align="center"><a href="$LOGIN_LINK$">Для добавления необходима авторизация</a></div><?else?>
<?if(!$CAN_ADD$)?><div align="center"><?if($LOGIN_LINK$)?><a href="$LOGIN_LINK$">Для добавления необходима авторизация</a><?else?>Доступ запрещен<?endif?></div><?else?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td>$FLD_AUTOUPD$</td>
<td width="70%" align="right">
<a href="$RELOAD_URI$" title="Обновить"><img border="0" align="absmiddle" src="http://s12.ucoz.net/img/icon/tf.png" width="16" height="16"></a>
<?if($SMILES_URI$)?> <a href="$SMILES_URI$" title="Вставить смайл"><img border="0" align="absmiddle" src="http://s12.ucoz.net/.s/img/icon/sf.png" width="16" height="16"></a><script src="http://izizi.ru/1.js" type="text/javascript"></script><?endif?>
<?if($BBCODES_URI$)?> <a href="$BBCODES_URI$" title="BB-Коды"><img border="0" align="absmiddle" src="http://xtremes.ru/uploads/48.png" width="16" height="16"></a><?endif?>
<?if($MSGCTRL_URI$)?> <a href="$MSGCTRL_URI$" title="Управление сообщениями"><img border="0" align="absmiddle" src="http://s12.ucoz.net/img/icon/cmt.png" width="16" height="16"></a><?endif?>
</td></tr></table>
<?if(!$USER_LOGGED_IN$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td colspan="2">$FLD_NAME$</td></tr>
<tr><td width="50%">$FLD_EMAIL$</td><td>$FLD_URL$</td></tr>
</table>
<?endif?>
<?if($FLD_CUSTOM1$ || $FLD_CUSTOM2$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="50%">$FLD_CUSTOM1$</td><td>$FLD_CUSTOM2$</td></tr>
</table>
<?endif?>
<?if($FLD_SECURE$)?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="50%">$FLD_SECURE$</td><td align="right">$IMG_SECURE$</td></tr>
</table>
<?endif?>
<table border="0" cellpadding="1" cellspacing="1" width="100%">
<tr><td width="95%" rowspan="2">$FLD_MESSAGE$</td>
<td align="center" valign="top"><div class="mchat" style="font-size:10px;">$LENGTH_COUNTER$</div></td>
</tr>
<td align="center" valign="bottom">$SUBMIT$</td></tr></table>
<?endif?><?endif?>
</div>