Вид материалов
Code
<div class="cBlock$PARITY$" style="padding: 0pt 4px 5px 2px; margin-bottom: 3px;">
<div style="float: right; font-size: 8px;" title="$DATE$">$TIME$</div>
<?if($USERNAME$)?><a href="$PROFILE_URL$" title="$USERNAME$" rel="nofollow"><b><font color="#ff0000">$NAME$</font></b></a>
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$"><img src="http://s19.ucoz.net/t/831/e.gif" align="absmiddle" border="0"></a><?endif?>
<?if($SITE$)?> <a rel="nofollow" href="$SITE$" target="_blank" title="$STR_URL$"><img src="http://s19.ucoz.net/t/831/h.gif" align="absmiddle" border="0"></a><?endif?>
<?else?>
<?if($SITE$)?><a rel="nofollow" href="$SITE$" target="_blank"><b>$NAME$</b></a>
<?if($EMAIL$)?> <a href="$EMAIL_JS$" title="$STR_EMAIL$" rel="nofollow"><img border="0" align="absmiddle" src="http://s19.ucoz.net/t/831/e.gif"></a><?endif?>
<?else?>
<?if($EMAIL$)?><a href="$EMAIL_JS$" rel="nofollow"><b>$NAME$</b></a>
<?else?><b>$NAME$</b><?endif?>
<?endif?>
<?endif?>
<?if($USER_1$ = ID)?><font color="#008000">$MESSAGE$</font><?else?><font color="#ffff00">$MESSAGE$</font><?endif?>
<?if($CUSTOM1$)?><br><font color="#808000">$STR_CUSTOM1$</font>: <font color="#1e90ff">$CUSTOM1$</font><?endif?>
<?if($CUSTOM2$)?><br><font color="#800000">$STR_CUSTOM2$</font>: <font color="#1e90ff">$CUSTOM2$</font><?endif?>
</div>
Форма добавления сообщения
Code
<style type="text/css">
.postSubmit {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #ff0000;
color: #ffffff;
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: #83ca12;
color: #f3f3f3;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #ffffff;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #e33939;
color: #6495ED;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postPreview {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #ffffff;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postPreview:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #f3f3f3;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #FFFFFF;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
.postReset:hover {
border: 0px;
padding: 5px;
text-align: center;
font-size: 10px;
margin: 0px;
width: auto;
background: #6495ED;
color: #FFFFFF;
cursor: pointer;
letter-spacing: 0px;
font-family: verdana;
}
</style>
<div align="center"><?if($LOGIN_LINK$)?><a href="$LOGIN_LINK$">Для добавления необходима авторизация</a></div><?else?>
<input class="postPreview" onclick="window.open('/mchat/0-1','mchatCtrl','scrollbars=1,width=550,height=550,left=0,top=0'); return false;" style="margin: 0px; height: 24px; width: 30px;" value="mail" type="button"> <a href="javascript:$SMILES_URI$"><img src="http://worldprog.at.ua/news/bbcodes/emo.gif" width="25" border="0" height="24"></a></p><table style="width: 100%; height: 40px;" width="" align="" border="0" cellpadding="1" cellspacing="1"><tbody><tr></tr><tr><td rowspan="2" width="95%">$FLD_MESSAGE$</td><td align="center" valign="top"><div style="font-size: 10px;">$LENGTH_COUNTER$</div></td></tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></tbody></table>
<?endif?>