<{if $level == reply}> <{$navigation}> <{if $replylist}>

<{$smarty.const._AM_CONTACT_SUBJECT}> | <{$smarty.const._AM_CONTACT_DATE}> | <{$smarty.const._AM_CONTACT_SUBMITTER}> | <{$smarty.const._AM_CONTACT_ACTION}>
<{foreach item=contact from=$replylist}>
<{$contact.contact_subject}> | <{$contact.contact_create}> | <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) |
<{/foreach}>

<{foreach item=contact from=$replylist}>
<{$smarty.const._AM_CONTACT_SUBJECT}> : <{$contact.contact_subject}>
<{$smarty.const._AM_CONTACT_DEPARTMENT}> : <{$contact.contact_department}> | <{$smarty.const._AM_CONTACT_SUBMITTER}> : <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) | <{$smarty.const._AM_CONTACT_DATE}> : <{$contact.contact_create}> | <{if $contact.contact_phone}><{$smarty.const._AM_CONTACT_PHONE}> : <{$contact.contact_phone}> | <{/if}> <{if $contact.contact_mail}><{$smarty.const._AM_CONTACT_EMAIL}> : <{$contact.contact_mail}> | <{/if}> <{if $contact.contact_icq}><{$smarty.const._AM_CONTACT_ICQ}> : <{$contact.contact_icq}> | <{/if}> <{if $contact.contact_company}><{$smarty.const._AM_CONTACT_COMPANY}> : <{$contact.contact_company}> | <{/if}> <{if $contact.contact_location}><{$smarty.const._AM_CONTACT_LOCATION}> : <{$contact.contact_location}> | <{/if}> <{if $contact.contact_url}><{$smarty.const._AM_CONTACT_URL}> : <{$smarty.const._AM_CONTACT_VIEWURL}> | <{/if}> <{if $contact.contact_address}><{$smarty.const._AM_CONTACT_ADDRESS}> : <{$contact.contact_address}> | <{/if}>
<{$smarty.const._AM_CONTACT_MESSAGE}> : <{$contact.contact_message}>
<{/foreach}> <{/if}> <{$replyform}> <{elseif $level == doreply}> <{elseif $level == view}> <{$navigation}>

<{$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}>
<{if $contact.contact_url}>
<{$smarty.const._AM_CONTACT_URL}> | <{$contact.contact_url}>
<{/if}>
<{$smarty.const._AM_CONTACT_DATE}> | <{$contact.contact_create}>
<{if $contact.contact_icq}>
<{$smarty.const._AM_CONTACT_ICQ}> | <{$contact.contact_icq}>
<{/if}> <{if $contact.contact_company}>
<{$smarty.const._AM_CONTACT_COMPANY}> | <{$contact.contact_company}>
<{/if}> <{if $contact.contact_location}>
<{$smarty.const._AM_CONTACT_LOCATION}> | <{$contact.contact_location}>
<{/if}> <{if $contact.contact_phone}>
<{$smarty.const._AM_CONTACT_PHONE}> | <{$contact.contact_phone}>
<{/if}> <{if $contact.contact_address}>
<{$smarty.const._AM_CONTACT_ADDRESS}> | <{$contact.contact_address}>
<{/if}>
<{$smarty.const._AM_CONTACT_IP}> | <{$contact.contact_ip}>
<{$smarty.const._AM_CONTACT_MESSAGE}> | <{$contact.contact_message}>
<{if $contact.contact_cid == 0}>
<{$smarty.const._AM_CONTACT_ACTION}> |
<{/if}>

<{if $replylist}>

<{$smarty.const._AM_CONTACT_SUBJECT}> | <{$smarty.const._AM_CONTACT_DATE}> | <{$smarty.const._AM_CONTACT_SUBMITTER}> | <{$smarty.const._AM_CONTACT_ACTION}>
<{foreach item=contact from=$replylist}>
<{$contact.contact_subject}> | <{$contact.contact_create}> | <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) |
<{/foreach}>

<{foreach item=contact from=$replylist}>
<{$smarty.const._AM_CONTACT_SUBJECT}> : <{$contact.contact_subject}>
<{$smarty.const._AM_CONTACT_DEPARTMENT}> : <{$contact.contact_department}> | <{$smarty.const._AM_CONTACT_SUBMITTER}> : <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) | <{$smarty.const._AM_CONTACT_DATE}> : <{$contact.contact_create}> | <{if $contact.contact_phone}><{$smarty.const._AM_CONTACT_PHONE}> : <{$contact.contact_phone}> | <{/if}> <{if $contact.contact_mail}><{$smarty.const._AM_CONTACT_EMAIL}> : <{$contact.contact_mail}> | <{/if}> <{if $contact.contact_icq}><{$smarty.const._AM_CONTACT_ICQ}> : <{$contact.contact_icq}> | <{/if}> <{if $contact.contact_company}><{$smarty.const._AM_CONTACT_COMPANY}> : <{$contact.contact_company}> | <{/if}> <{if $contact.contact_location}><{$smarty.const._AM_CONTACT_LOCATION}> : <{$contact.contact_location}> | <{/if}> <{if $contact.contact_url}><{$smarty.const._AM_CONTACT_URL}> : <{$smarty.const._AM_CONTACT_VIEWURL}> | <{/if}> <{if $contact.contact_address}><{$smarty.const._AM_CONTACT_ADDRESS}> : <{$contact.contact_address}> | <{/if}>
<{$smarty.const._AM_CONTACT_MESSAGE}> : <{$contact.contact_message}>
<{/foreach}> <{/if}> <{elseif $level == delete}> <{else}> <{$navigation}>

<{$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}>
<{foreach item=contact from=$contacts}>
<{$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}> ) |
<{/foreach}>

<{foreach item=contact from=$contacts}>
<{$smarty.const._AM_CONTACT_SUBJECT}> : <{$contact.contact_subject}>
<{$smarty.const._AM_CONTACT_DEPARTMENT}> : <{$contact.contact_department}> | <{$smarty.const._AM_CONTACT_SUBMITTER}> : <{$contact.contact_name}> ( <{if $contact.contact_uid}><{$contact.contact_owner}><{else}><{$contact.contact_owner}><{/if}> ) | <{$smarty.const._AM_CONTACT_DATE}> : <{$contact.contact_create}> | <{if $contact.contact_phone}><{$smarty.const._AM_CONTACT_PHONE}> : <{$contact.contact_phone}> | <{/if}> <{if $contact.contact_mail}><{$smarty.const._AM_CONTACT_EMAIL}> : <{$contact.contact_mail}> | <{/if}> <{if $contact.contact_icq}><{$smarty.const._AM_CONTACT_ICQ}> : <{$contact.contact_icq}> | <{/if}> <{if $contact.contact_company}><{$smarty.const._AM_CONTACT_COMPANY}> : <{$contact.contact_company}> | <{/if}> <{if $contact.contact_location}><{$smarty.const._AM_CONTACT_LOCATION}> : <{$contact.contact_location}> | <{/if}> <{if $contact.contact_url}><{$smarty.const._AM_CONTACT_URL}> : <{$smarty.const._AM_CONTACT_VIEWURL}> | <{/if}> <{if $contact.contact_address}><{$smarty.const._AM_CONTACT_ADDRESS}> : <{$contact.contact_address}> | <{/if}>
<{$smarty.const._AM_CONTACT_MESSAGE}> : <{$contact.contact_message}>
<{/foreach}>
<{$contact_pagenav}>
<{/if}>