FAKIR
Offline | Дата: Вторник, 19.04.2011, 02:07 | Сообщение # 1 |
Сообщений пользователя: 456
| В виде комментариев все удаляем и ставим: Code <fieldset style="padding:5px;"><table cellpadding="0" cellspacing="0" width="100%" style="background:#212121;"><tr valign="top"> <td width="95"><div class="avatar"><div class="comment-avatar"> <?if($USER_AVATAR_URL$)?> <img title="$USERNAME$" class="userAvatar" border="0" src="$USER_AVATAR_URL$" alt="" /> <?else?> <img title="$USERNAME$" border="0" src="/images/comment/noavatar.gif"$USER_AVATAR_URL$ alt="" /> <?endif?> </div> <div class="clear"></div> </div> <div><a href="$PROFILE_URL$" target="_blank" title="Профиль"><img src="/profile/icon-home.png" alt="" /><a href="http://www.ripe.net/perl/whois?$IP_ADDRESS$" target="_blank" title="IP Address"><img src="/profile/icon-monitor.png" alt="" /></div> </div> </td> <td> <table class="comblock" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="28"><img src="/images/comment/cblock_left_top.gif" width="28" height="12" alt="" /></td> <td class="cblock-top"></td> <td width="12"><img src="/images/comment/cblock_right_top.gif" width="12" height="12" alt="" /></td> </tr> <tr valign="top"> <td class="cblock-left"><img src="/images/comment/cblock_left_mtop.gif" width="28" height="91" alt="" /></td> <td class="cblock-content"> <span class="newstitle">$TITLE$</span> <table cellpadding="0" cellspacing="0" width="100%"><tr> <td>Написал: <a href="$PROFILE_URL$"><b>$USERNAME$</b></a> | Дата: $DATE$, $TIME$, $MODER_PANEL$</td><td width="13%"><?if($COMMENT_RATING$<0)?><span class="myWinError"><b>$COMMENT_RATING$</b></span><?else?><?if($COMMENT_RATING$=0)?><span style="color:gray;"><b>$COMMENT_RATING$</b></span><?else?><span class="myWinSucces"><b>+$COMMENT_RATING$</b></span><?endif?><?endif?> <?if($GOOD_COMMENT_URL$)?><a href="$GOOD_COMMENT_URL$"><img src="/images/comment/comment.png" width="13" align="absmiddle" border="0" title="+1"></a> <a href="$BAD_COMMENT_URL$"><img src="/images/comment/comment-.png" width="13" border="0" align="absmiddle" title="-1"></a><?else?><img src="/images/comment/comment.png" align="absmiddle" width="13" border="0" title="+1"> <img src="/images/comment/comment-.png" width="13" align="absmiddle" border="0" title="-1"><?endif?> </div><div class="cTop" style="text-align:left;"><?if($IS_OWN$)?><?else?><?if($IS_NEW$)?><span class="myWinSuccess"></span> <?endif?><?endif?><a href="#ent$ID$" onclick="if (document.getElementById('comEnt$ID$')){$('body').scrollTo( { top:$('#comEnt$ID$').offset().top-22, left:0}, 500 );return false;}" name="ent$ID$"><b></b></a> </div><div class="clr"></div> </td></td> </tr></table> <div class="division"></div> $MESSAGE$ <div align='right'> <?if($ANSWER_URL$)?><a href="$ANSWER_URL$"><img src="/images/comment/answer.png" border="0" alt="" /></a><?endif?> <a href="javascript://" onclick="Insert('$USERNAME$',document.getSelection());"><img src="/images/comment/qwote.png" border="0" alt="" /></a> <script type="text/javascript"> function Insert(qname,text){ if (text!=""){ qname=qname.replace(/[\[\]]/g, "|"); document.getElementById('message').value += "[quote="+qname+"]"+text+"[/quote]\n"; document.getElementById(wh).focus(); document.getElementById(wh).focus()} else _uWnd.alert('Выделите текст для цитирования','',{w:230,h:80,tm:3000}); } </script> <td class="cblock-right"><img src="/images/comment/cblock_right_mtop.gif" width="12" height="62" alt="" /></td> </tr> <tr> <td width="28"><img src="/images/comment/cblock_left_bottom.gif" width="28" height="12" alt="" /></td> <td class="cblock-bottom"></td> <td width="12"><img src="/images/comment/cblock_right_bottom.gif" width="12" height="12" alt="" /></td> </tr> </table> </td> </tr> </table></fieldset> В css: Code table.comblock {background-color: #161616; } table.comblock td.cblock-content {background: transparent url("../images/comment/cblock_center_mtop.gif")left top repeat; } table.comblock td.cblock-left { vertical-align: top; background: url("../images/comment/cblock_middle_left.gif") left top repeat-y;} table.comblock td.cblock-right { vertical-align: top; background: url("../images/comment/cblock_middle_right.gif") right top repeat-y;} table.comblock td.cblock-top {background: url("../images/comment/cblock_center_top.gif") left top repeat-x;} table.comblock td.cblock-bottom {background: url("../images/comment/cblock_center_bottom.gif") left bottom repeat-x;} table.comblock div.maincont { padding: 4px; } .avatar img { width: 100px; height: auto; } Папку comment залить в images СКАЧАТЬ
|
|
| |