{include file='header.tpl' p="article"}

{$lang.articles}

{$article_categories}
{if $ad_7 != ''}
{$ad_7}
{/if} {if is_array($related_articles) && count($related_articles) > 0} {/if}
{if ($show_tags == 1) && (count($tags) > 0)}

{$lang.tags}

{foreach from=$tags item=tag key=k} {$tag.href} {/foreach} {/if}

{$article.title}

{if is_array($article)}
{$lang.articles_published}: {$article.date} {$lang.articles_by} {$article.username} {$lang.articles_filedunder}: {foreach from=$article.pretty_cats key=cat_name item=cat_href} {$cat_name} {/foreach} {$lang.views}: {$article.views} {if is_array($article.tags)} {$lang.tags}: {foreach name=tag_links from=$article.tags key=k item=t} {if $smarty.foreach.tag_links.last} {$t.tag} {else} {$t.tag}, {/if} {/foreach} {/if}
[+] [a] [-] {$lang.articles_related} {$lang.comments} {if $logged_in && $is_admin == 'yes'} {$lang.edit} {/if}
{$article.content}

{if $article.allow_comments == 1}
{if $logged_in == '1'}

{$lang.post_comment}

{if $show_comments == 'empty'}
{$lang.be_the_first}
{/if}


* {$lang.post_comment_notice}
{elseif $logged_in == 0 && $guests_can_comment == 1}

{$lang.post_comment}

{if $show_comments == 'empty'}
{$lang.be_the_first}
{/if}
{$lang.your_name}:


{$lang.your_comment}:


{$lang.confirm_comment}:



* {$lang.post_comment_notice}
{/if}
{if $show_comments != 'empty'}

{$lang.comments}


    {$show_comments}
{if $logged_in != '1' && $guests_can_comment != 1}
{$must_sign_in}{/if}
{/if}
{/if}
{/if}
{include file='footer.tpl'}