Вообщем в шаблоне - "Общий вид страниц форума", Ставим после $BODY$:
Код:
script type="text/javascript" language="javascript"> <!-- // function toggle( targetId ) { if (document.getElementById) { target = document.getElementById( targetId ); if (target.style.display == "none") { target.style.display = ""; } else { target.style.display = "none"; } } } // --> </script>
И в шаблон форума - "Вид материалов", вставляем следующие, причем куда вам это нужно:
Код:
<a href="#" onclick="toggle('id$ID$'); return false;"><b><img src='[color=red]http://nash-club.com/Ikoni/icon_profile.gif[/color]' title='Дополнительные данные' alt='Дополнительные данные' border="0" align="absmiddle" /> </b></a> <div id="id$ID$" style="display:none;position:absolute;z-index:1;border:1px solid; background: url('http://src.ucoz.ru/t/221/7.gif') #000;padding:0px;border:0px double #FFF;"> <table border="0" cellpadding="2" cellspacing="1" style="background: url('http://src.ucoz.ru/t/221/20.gif');" width="200"> <tr><td align="center" style="background: url('http://src.ucoz.ru/t/221/20.gif') #F3ECCD; height: 23px; color: #000000;"><b>Дополнительные данные</b></td></tr> <tr><td style="background: url('http://src.ucoz.ru/t/221/7.gif') center bottom no-repeat #FFFFFF;padding:5px 5px 10px 5px;"><div style="display:inline;" id="menuDiv"> <br><b><img src="http://www.interkonet.com/icq.gif" title="Номер ICQ"></a></b><?if($ICQ$)?> $ICQ$<?else?><font color="#ff0000"> неизвестен</font><?endif?> <br><b><img src="http://www.texho-plus.ru/images/skype-icon.png" title="Скайп идентификатор" width="16" height="16"></b><?if($AOL$)?> $AOL$<?else?><font color="#ff0000"> неизвестен</font><?endif?> <br><b><img src="http://redactores.es/images/16x16/sexo7.es16.gif" title="Пол"></a></b><?if($GENDER$)?><font color="#ff0000"> $GENDER$</font><?else?><font color="#ff0000"> неизвестно</font><?endif?> <br><b>Имя:</b><?if($USER_FULL_NAME$)?><b><font color="#ff0000"> $USER_FULL_NAME$</font><?else?><font color="#ff0000"> неизвестно</font><?endif?> <br><b>Город:</b><?if($CITY$)?><font color="#ff0000"> $CITY$</font><?else?><font color="#ff0000"> неизвестно</font><?endif?> <br><b>Страна:</b><?if($POST_COUNTRY_ID$)?><font color="#ff0000">$COUNTRY$</font><?else?><font color="#ff0000"> неизвестно</font><?endif?> <br><b>Группа:</b><?if($GROUP_NAME$)?><b> <font color="#ff0000"> $GROUP_NAME$</font><?else?> неизвестно<?endif?> <br><b>Пользователь №:</b> <font color="#ff0000"> $UID$</font> <br><b>Титул:</b><?if($USER_TITLE$)?><font color="#ff0000"> $USER_TITLE$</font><?else?><font color="#ff0000"> Нету</font><?endif?> <br><b>Ранг Пользователя</b><div onmouseover="this.firstChild.title='$USER_RANK_NAME$'">$USER_RANK_ICON$</div> <br><b>Репутация:<?if($DO_REP_URL$)?><a href="$DO_REP_URL$"><img onclick="repchange('plus','$ID$');" align="absmiddle" title="Повысить" src="http://src.ucoz.net/img/icon/plus.png" border="0" /></a><?endif?> <a href="$READ_REP_URL$">« $REP_RATING$ »</a> <?if($DO_REP_URL$)?><a href="$DO_REP_URL$"><img onclick="repchange('minus','$ID$');" title="Понизить" align="absmiddle" src="http://src.ucoz.net/img/icon/minus.png" border="0" /></a><?endif?> <br> </td> </tr></table> </div>