{foreach item=message key=id from=$childs} {/foreach}
{if $theme.status == 0 && $theme.write_permission == 1} {if $auth_user_id == $theme.userid || $is_admin} {/if} {/if} {if ($theme.del_permission == 1 || $is_admin) && $is_answer_mark_active == 1} {if $theme.status == 2} {else} {/if} {/if}
{if $theme.del_permission == 1 || $is_admin} {if $is_admin == 1 || ($is_admin == 0 && $show_security_for_creator)} {/if} {/if}
{include file="forum/pub_forum_message_content.tpl.html"}