%STARTINCLUDE% *~~ <div class="blogComments"> <a name="topComment"></a> <div class="blogScroll"> ~~~ <a href="#bottomComment" title="scroll down">↓</a> ~~~ <a href="#%BASEWEB%_<nop>%NAME%" title="scroll up">↑</a> ~~~ </div> %~~ COUNTCOMMENTS{"%BASEWEB%.%NAME%" ~~~ hidenull="on" ~~~ header="<h2>" ~~~ single="One Comment" ~~~ format="$count Comments" ~~~ footer="</h2>$n" ~~~ }% <div class="blogEntryFeed"> ~~~ <a class="natFeedIcon blogFeedIcon" ~~~ title="RSS Feed for the Comments of this Entry" ~~~ href="%SCRIPTURL{"view"}%/%BASEWEB%/WebRssComments?name=%NAME%">RSS</a> *~~ <a class="natFeedIcon blogFeedIcon" ~~~ title="ATOM Feed for the Comments of this Entry" ~~~ href="%SCRIPTURL{"view"}%/%BASEWEB%/WebAtomComments?name=%NAME%">ATOM</a> </div> ~~~ <!-- %CALC{"$SET(commentCounter, 0)"}% --> %~~ DBQUERY{"TopicType='BlogComment' AND BlogRef='%NAME%'" ~~~ order="createdate" ~~~ format="<!-- $percntCALC{\"$dollarSETM(commentCounter, +1)\"}$percnt --> ~~~ <div class=\"blogComment ~~~ $percntCALC{\"$dollarIF( ~~~ $dollarODD($dollarGET(commentCounter)), ~~~ blogCommentOdd, ~~~ blogCommentEven)\"}$percnt\"> ~~~ %DBCALL{"RenderBlogComment" section="format"}% ~~~ <div class=\"blogSubComments\"> ~~~ $percntDBCALL{\"RenderSubComments\" NAME=\"$topic\"}$percnt ~~~ </div> ~~~ </div>" ~~~ }% ~~~ <a name="bottomComment"></a> <div class="blogScroll"> ~~~ <a href="#topComment" title="scroll up">↑</a> ~~~ </div> <style type="text/css"> .blogScroll { %~~ CALC{"$IF($NOT($GET(commentCounter)),display:none)"}%; } </style> </div> *~~ %STOPINCLUDE%