{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 *} 回 Blog 首頁 {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 *}
{if !empty($blogtimes)} {if $blogtimes->isEnabled()} {$blogtimes->show()} {/if} {/if}

Leave a Reply

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

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")}
    {if !empty($gravatar)} {if $gravatar->isEnabled()} {/if}{/if} {$comment->getText()}
  3. {assign var="counter" value="`$counter+1`"} {/foreach}
{if !empty($articlereferers)} {if $articlereferers->isEnabled()}

Article Referers

{assign var=postid value=$post->getId()} {assign var=referers value=$articlereferers->getArticleReferers($postid)}
    {foreach from=$referers item=referer}
  1. {$referer->getUrl()|truncate:65:"..."} ({$referer->getCount()})
  2. {/foreach}
{/if} {/if} {include file="$blogtemplate/links.template"} {include file="$blogtemplate/footer.template"}