{extends "base.tpl.html"} {block "title"}Removed Emails{/block} {block "page_id"}view_email{/block} {block "content"} {if $result_msg|default:'' != ''}
{if $result_msg == -1} {t}An error occurred while trying to run your query{/t} {elseif $result_msg == 1} {t}Thank you, the emails were {if $smarty.post.cat == 'remove'}removed{else}restored{/if} successfully{/t} {/if}
{else}
{section name="i" loop=$list} {sectionelse} {/section}
{t}Removed Emails{/t}
{t}Date{/t} {t}From{/t} {t}Subject{/t}
{$list[i].sup_date} {$list[i].sup_from|escape:"html"} {$list[i].sup_subject|escape:"html"}
{t}No emails could be found.{/t}
{/if} {/block}