{#if $T.d.length == 0}
{#if window.location.href.indexOf('Spam.aspx') > 0} Hooray, no spam here! {#/if} {#if window.location.href.indexOf('Pending.aspx') > 0} There are no pending comments. {#/if} {#if window.location.href.indexOf('Approved.aspx') > 0} There are no approved comments. {#/if} {#if window.location.href.indexOf('Pingbacks.aspx') > 0} There are no pingbacks or trackback. Make sure you enabled sending and recieving trackbacks/pingbacks in Advanced settings section. {#/if}
{#else} {#foreach $T.d as cmt} {#/for}
  Comment Ip Created on  
{$T.cmt.Avatar} {$T.cmt.Title} {$T.cmt.Teaser} {$T.cmt.Ip} {$T.cmt.Date}{$T.cmt.Time}
  • Tools
    • Edit
    • {#if window.location.href.indexOf('Spam.aspx') > 0 || window.location.href.indexOf('Pending.aspx') > 0}
    • Approve
    • {#/if} {#if window.location.href.indexOf('Approved.aspx') > 0 && $T.cmt.HasChildren == false}
    • Unapprove
    • {#/if} {#if $T.cmt.HasChildren == false}
    • Delete
    • {#/if}
{#/if} {#if $T.d.length > 0} {#if window.location.href.indexOf('Spam.aspx') > 0}
       
{#/if} {#if window.location.href.indexOf('Pending.aspx') > 0}
       
{#/if} {#if window.location.href.indexOf('Approved.aspx') > 0}
     
{#/if} {#if window.location.href.indexOf('Pingbacks.aspx') > 0}
   
{#/if} {#/if}