<{if $level == reply}> <{$navigation}> <{if $replylist}> <{foreach item=contact from=$replylist}> <{/foreach}>
<{$smarty.const._AM_CONTACT_SUBJECT}> <{$smarty.const._AM_CONTACT_DATE}> <{$smarty.const._AM_CONTACT_SUBMITTER}> <{$smarty.const._AM_CONTACT_ACTION}>
<{$contact.contact_subject}> <{$contact.contact_create}> <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) <{$smarty.const._PREVIEW}> <{$smarty.const._AM_CONTACT_VIEW}> <{$smarty.const._DELETE}>
<{foreach item=contact from=$replylist}> <{/foreach}> <{/if}> <{$replyform}> <{elseif $level == doreply}> <{elseif $level == view}> <{$navigation}> <{if $contact.contact_url}> <{/if}> <{if $contact.contact_icq}> <{/if}> <{if $contact.contact_company}> <{/if}> <{if $contact.contact_location}> <{/if}> <{if $contact.contact_phone}> <{/if}> <{if $contact.contact_address}> <{/if}> <{if $contact.contact_cid == 0}> <{/if}>
<{$smarty.const._AM_CONTACT_TITLE}> <{$smarty.const._AM_CONTACT_INFO}>
<{$smarty.const._AM_CONTACT_SUBJECT}> <{$contact.contact_subject}> ( <{$contact.contact_platform}> )
<{$smarty.const._AM_CONTACT_SUBMITTER}> <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> )
<{$smarty.const._AM_CONTACT_DEPARTMENT}> <{$contact.contact_department}>
<{$smarty.const._AM_CONTACT_EMAIL}> <{$contact.contact_mail}>
<{$smarty.const._AM_CONTACT_URL}> <{$smarty.const._AM_CONTACT_VIEWURL}> <{$contact.contact_url}>
<{$smarty.const._AM_CONTACT_DATE}> <{$contact.contact_create}>
<{$smarty.const._AM_CONTACT_ICQ}> <{$contact.contact_icq}>
<{$smarty.const._AM_CONTACT_COMPANY}> <{$contact.contact_company}>
<{$smarty.const._AM_CONTACT_LOCATION}> <{$contact.contact_location}>
<{$smarty.const._AM_CONTACT_PHONE}> <{$contact.contact_phone}>
<{$smarty.const._AM_CONTACT_ADDRESS}> <{$contact.contact_address}>
<{$smarty.const._AM_CONTACT_IP}> <{$contact.contact_ip}>
<{$smarty.const._AM_CONTACT_MESSAGE}> <{$contact.contact_message}>
<{$smarty.const._AM_CONTACT_ACTION}> <{$smarty.const._AM_CONTACT_REPLY}> <{$smarty.const._DELETE}>
<{if $replylist}> <{foreach item=contact from=$replylist}> <{/foreach}>
<{$smarty.const._AM_CONTACT_SUBJECT}> <{$smarty.const._AM_CONTACT_DATE}> <{$smarty.const._AM_CONTACT_SUBMITTER}> <{$smarty.const._AM_CONTACT_ACTION}>
<{$contact.contact_subject}> <{$contact.contact_create}> <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) <{$smarty.const._PREVIEW}> <{$smarty.const._AM_CONTACT_VIEW}> <{$smarty.const._DELETE}>
<{foreach item=contact from=$replylist}> <{/foreach}> <{/if}> <{elseif $level == delete}> <{else}> <{$navigation}> <{foreach item=contact from=$contacts}> <{/foreach}>
<{$smarty.const._AM_CONTACT_SUBJECT}> <{$smarty.const._AM_CONTACT_REPLY}> <{$smarty.const._AM_CONTACT_DATE}> <{$smarty.const._AM_CONTACT_DEPARTMENT}> <{$smarty.const._AM_CONTACT_SUBMITTER}> <{$smarty.const._AM_CONTACT_ACTION}>
<{$contact.contact_subject}> <{if $contact.contact_reply}><{$smarty.const._AM_CONTACT_HAVEREPLY}><{else}><{$smarty.const._AM_CONTACT_HAVENTREPLY}><{/if}> <{$contact.contact_create}> <{$contact.contact_department}> <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) <{$smarty.const._PREVIEW}> <{$smarty.const._AM_CONTACT_REPLY}> <{$smarty.const._AM_CONTACT_VIEW}> <{$smarty.const._DELETE}>
<{foreach item=contact from=$contacts}> <{/foreach}> <{/if}>