Вид материалов:
Code
<div style="white-space:normal">
<script type="text/javascript" src="/jss/mchat.js"></script>
<div class="Mchat" style="padding:0 4px 5px 2px;margin-bottom:3px;">
<div class="forumP"/>
<table width="100%"><tr><td><?if($CUSTOM1$)?><img alt="" src="$CUSTOM1$" border="0" style="vertical-align:-2px"/>
<?else?><img src="http://uweber.3dn.ru/other/user.png" align="absmiddle" width="13" border="0"><?endif?>
<span style='cursor: pointer;' onclick='show_bar(event, $USER_ID$)'><b>$USERNAME$</b></span></td>
<td align="right"><span style="font-size:8px">$TIME$</span></td></tr></table>
</div>
<div align="center" style="display:none" id="hide2"></div>
<table id="win_$USER_ID$" onclick='hide_bar(860)' style='background: #eeeeee; position:absolute; visibility:hidden; filter:alpha(opacity=85);
opacity: 0.85; width: 110px; border: 1px solid #999999;'>
<tbody>
<tr><td onmouseover="this.bgColor='ffffff';" onmouseout="this.bgColor='#eeeeee';" style="padding: 5px; border: 1px solid #999999;">
<a href="javascript:void('Apply to')" onclick="parent.window.document.getElementById('mchatMsgF').focus();parent.window.document.getElementById('mchatMsgF').value+='[b]$USERNAME$[/b], ';return false;"><font color="222222">Цитировать</font></a></td></tr>
<tr><td onmouseover="this.bgColor='ffffff';" onmouseout="this.bgColor='#eeeeee';" style="padding: 5px; border: 1px solid #999999;">
<a href="/index/14-$USER_ID$-0-1" target="self" ><font color="222222">Отправить ЛС</font></a></td></tr>
<tr><td onmouseover="this.bgColor='ffffff';" onmouseout="this.bgColor='#eeeeee';" style="padding: 5px; border: 1px solid #999999;">
<a href="javascript://" rel="nofollow" onclick="new _uWnd('Rd',' ',400,250,{autosize:1,maxh:300,minh:100,closeonesc:1},{url:'/index/23-$USER_ID$'});return false;">
<font color="222222">
Репутация ±</font></a></td></tr>
<tr><td onmouseover="this.bgColor='ffffff';" onmouseout="this.bgColor='#eeeeee';" style="padding: 5px; border: 1px solid #999999;">
<a href="/index/8-$USER_ID$" target="blank" ><font color="222222">Профиль</font></a></td></tr>
<tr><td style="text-align: left;">
<img onclick="hide_bar($USER_ID$)" src="/images/close.png" alt="Закрыть" border="0"></td></tr>
</tbody></table>
<div class="cMessage" style="text-align:left;">$MESSAGE$</div>
</div>
<style type="text/css" media="all">
.cMessage {color:#707070}
.mchat {background:url('') repeat-x #ffffff; border: #eeeeee 1px solid; color:#707070;}
</style>
Форма добавления сообщений:
Code
<?if(!$CAN_ADD$)?><div align="center"><?if($LOGIN_LINK$)?><a href="$LOGIN_LINK$">Для добавления необходима авторизация</a><?else?>Доступ запрещен<?endif?></div><?else?>
<style>
input[type="submit"] {background-attachment: scroll;background-color: #ffffff;background-image: url("");background-position: 0% 0%;background-repeat: repeat;border-bottom-color: #292929;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #292929;border-left-style: solid;border-left-width: 1px;border-right-color: #292929;border-right-style: solid;border-right-width: 1px;border-top-color: #292929;border-top-style: solid;border-top-width: 1px;color: #000000;font-size: 7pt;padding-bottom: 2px;padding-left: 3px;padding-right: 3px;padding-top: 2px;}
.mchat {background-attachment: scroll;background-color: #ffffff;background-image: url("");background-position: 0% 0%;background-repeat: repeat-x;border-bottom-color: #222222;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #222222;border-left-style: solid;border-left-width: 1px;border-right-color: #222222;border-right-style: solid;border-right-width: 1px;border-top-color: #000000;border-top-style: solid;border-top-width: 1px;color: #707070;}
.checkbtn, .pollreSultsBut, .allUsersBtn, .codeButtons {background-attachment: scroll;background-color: #eeeeee;background-image: url("");background-position: 0% 0%;background-repeat: repeat;border-bottom-color: #292929;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #292929;border-left-style: solid;border-left-width: 1px;border-right-color: #000000;border-right-style: solid;border-right-width: 1px;border-top-color: #292929;border-top-style: solid;border-top-width: 1px;color: #000000;font-size: 7pt;padding-bottom: 2px;padding-left: 3px;padding-right: 3px;padding-top: 2px;}
</style>
<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 alt="" border="0" align="absmiddle" src="http://uweber.3dn.ru/images/tf.png" width="13" height="15"></a>
<?if($SMILES_URI$)?> <a href="$SMILES_URI$" title="Вставить смайл"><img alt="" border="0" align="absmiddle" src="http://uweber.3dn.ru/images/s.png" width="16" height="15"></a><?endif?>
<?if($BBCODES_URI$)?> <a href="$BBCODES_URI$" title="BB-Коды"><img alt="" border="0" align="absmiddle" src="http://uweber.3dn.ru/images/b.png" width="16" height="15"></a><?endif?>
<?if($MSGCTRL_URI$)?> <a href="$MSGCTRL_URI$" title="Управление сообщениями"><img alt="" border="0" align="absmiddle" src="http://uweber.3dn.ru/images/cmt.png" width="15" height="15"></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 style="font-size:10px;">$LENGTH_COUNTER$</div></td>
</tr><tr><td align="center" valign="bottom">$SUBMIT$</td></tr></table>
<?endif?>
Вот и всё всем спасибо=) жду плюсов