{assign var="postPageTitle" value=$post->getTopic()} {assign var="postPageTitle" value=" | $postPageTitle"} {include file="$blogtemplate/header.template"}
{assign var="postDate" value=$post->getDateObject()} {assign var="postOwner" value=$post->getUserInfo()}

{$post->getTopic()}

Published on {$locale->formatDate($postDate,"%m/%d,%Y")}

{$post->getText()}


Posted by {$postOwner->getUsername()} at {$locale->formatDate($postDate,"%H:%M")} {$locale->tr("comment on this")} ({$post->getTotalComments()}){$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()}) │ {foreach name=categories from=$post->getCategories() item=postcategory} {$postcategory->getName()} {if !$smarty.foreach.categories.last}, {/if} {/foreach}
{* Prevpost and nextpost use *} Back to Home {assign var=nextpost value=$post->getNextArticle()} {assign var=prevpost value=$post->getPrevArticle()} {if $nextpost == true} {$locale->tr("previous_post")} {/if} {if $prevpost == true} {$locale->tr("next_post")} {/if} {* End of article_index *}

Comments

    {assign var="counter" value=1} {foreach name=comment from=$comments item=comment} {if $counter%2!=0}
  1. {else}
  2. {/if}
    {assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} | {$locale->formatDate($commentDate, "%H:%M")}
    {$comment->getText()}
  3. {assign var="counter" value="`$counter+1`"} {/foreach}

Leave a Reply

{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1} {include file="$misctemplatepath/commentform.template"} {/if} {include file="$blogtemplate/links.template"} {include file="$blogtemplate/footer.template"}