<{include file="db:system_header.tpl"}> <{if isset($smilies_count) && $smilies_count == true}>
<{$smarty.const._AM_SYSTEM_SMILIES_ADD}> <{$smarty.const._AM_SYSTEM_SMILIES_ADD}>
<{foreach item=smiley from=$smilies|default:null}> <{/foreach}>
<{$smarty.const._AM_SYSTEM_SMILIES_CODE}> <{$smarty.const._AM_SYSTEM_SMILIES_SMILIE}> <{$smarty.const._AM_SYSTEM_SMILIES_DESCRIPTION}> <{$smarty.const._AM_SYSTEM_SMILIES_DISPLAY}> <{$smarty.const._AM_SYSTEM_SMILIES_ACTION}>
<{$smiley.code}> <{$smiley.image}> <{$smiley.emotion}> <{if $smiley.display}><{$smarty.const._AM_SYSTEM_SMILIES_OFF}><{else}><{$smarty.const._AM_SYSTEM_SMILIES_ON}><{/if}> <{$smarty.const._AM_SYSTEM_SMILIES_EDIT}> <{$smarty.const._AM_SYSTEM_SMILIES_DELETE}>
<{if !empty($nav_menu)}>
<{$nav_menu}>
<{/if}> <{/if}> <{if !empty($form)}>
<{$form}>
<{/if}>