Avatarai (paveiksėliai) mano BLOGas.lt komentaruose?

Kažkada seniai parašytas kodo gabaliukas, kuris leidžia blogas.lt turėti komentuotojų avatarus prie komentarų. Taigi žiūrim kodą žemiau. Jį klijuojame į savo šabloną, vietoje senojo <!– COMMENTS BEGIN –> … <!– COMMENTS END –>
Visą straipsnį ir komentarus in action galite rasti mano sename bloge blogas.lt.
<!– COMMENTS BEGIN –>
<IfCommentsAllowed>
<table cellpadding=’5′ cellspacing=’3′ style=’margin-left: 15px;’>
<Comment><tr>
<td colspan=“2″><%CommentDate%> <%CommentTime%> :: Parašė <%CommentAuthor%> <%CommentAuthorIP%></td>
<tr>
<td>
<div class=’text’ align=’justify’>
<img src=“<%CommentAuthorAvatar%>” width=“80″ height=“80″ border=“0″ hspace=“10″ align=“middle”></div>
</td>
</td>
<td style=“background-image: url(http://www.blogas.lt/uploads/o/original8/59077.gif); background-repeat: repeat; color: #333333;” width=“520″>
<div class=’text’ align=’justify’>
<p style=“margin-right:5px; margin-left:10px; font-size:8pt; text-indent:20;”><%CommentBody%></p>
</div>
<td></td>
<tr>
<td colspan=“2″>
<CommentEdit>Redaguoti</CommentEdit> <CommentDelete>Ištrinti</CommentDelete>
</td>
</tr></Comment>
<tr>
<td colspan=“2″ style=“background-image: url(http://www.blogas.lt/uploads/o/original8/59077.gif); background-repeat: repeat; color: #333333;”>
<a name=“rasyt”></a><%EntryCommentForm%>
</td>
</tr>
</table>
</IfCommentsAllowed>
</Entry>
</IfEntryPage>
<!– COMMENTS END –>
If you enjoyed this post, make sure you subscribe to my RSS feed!
ijėėėė, blogai, kuriuose matosi mano nuotrauka yra mano patys mėgstamiausi! :DDD
Pas mane dabar ir tokie komentarai :))