{if $comment.id_smart_blog_comment != ''}
<ul class="commentList">
    <div id="comment-{$comment.id_smart_blog_comment}">
                                        <li class="even">
                                          <img class="avatar" alt="Avatar" src="{$urls.base_url}modules/smartblog/images/avatar/avatar-author-default.jpg">
                                          <div class="comment-block">
                                            <div class="name">{$childcommnets.name}</div>
                                            <div class="created">
                                               <span data-itemprop="commentTime">{$childcommnets.created|date_format}</span>
                                            </div>
                                            <p>{$childcommnets.content}</p>
                                            {if Configuration::get('smartenablecomment') == 1}
                                              {if $comment_status == 1}
                                              <div class="reply">
                                                     <a onclick="return addComment.moveForm('comment-{$comment.id_smart_blog_comment}', '{$comment.id_smart_blog_comment}', 'respond', '{$smarty.get.id_post}')"  class="comment-reply-link"><i class="fa fa-mail-reply" aria-hidden="true"></i>{l s="Reply" d='Shop.Theme.Actions'}</a>
                                               </div>
                                          </div>
                                                              {/if}
                                                            {/if}
                                          {if isset($childcommnets.child_comments)}
                                              	{foreach from=$childcommnets.child_comments item=comment}  
                                                     {if isset($childcommnets.child_comments)}
                                                      {include file="./comment_loop.tpl" childcommnets=$comment}
                                          
                                                      {$i=$i+1}
                                                      
                                                          {/if}
                                                  {/foreach}
                                           {/if}
                                         
                                        </li>
    </div>
</ul>
                                        {/if}
                                        
                                        