You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
505 B
19 lines
505 B
{if $loggedin=="false"}
|
|
{foreach $content as $c}
|
|
{if $c->role == 0}{$c->body}{/if}
|
|
{/foreach}
|
|
{else}
|
|
{foreach $content as $c}
|
|
{if $c->role == 0 || $c->role == 1 || ($c->role == 2 && $admin == 'true')}
|
|
{if $front == false}
|
|
<h3>
|
|
<a style="color:#0082E1" href="{$smarty.const.WWW_TOP}content?id={$c->id}">{$c->title}</a>
|
|
</h3>
|
|
{/if}
|
|
{$c->body}
|
|
{/if}
|
|
{/foreach}
|
|
{if $front == true}
|
|
<a style="color:#0082E1" href="{$smarty.const.WWW_TOP}content">See more...</a>
|
|
{/if}
|
|
{/if}
|
|
|