{runquery 1}{runquery 2}
- {translatestatictext 'Direction:'.{const language}}
  {dif {field 1.xmls_incoming}=1}Incoming{/dif}{else}Outgoing{/else}
- {translatestatictext 'Sender:'.{const language}}
  {field 1.sx1} {field 1.sx3} {field 1.sx2} [{field 1.xmls_senderaddress}]
- {translatestatictext 'Recipient:'.{const language}}
  {field 1.rx1} {field 1.rx3} {field 1.rx2} [{field 1.xmls_recipientaddress}]
- {translatestatictext 'Subject:'.{const language}}
  {field 1.xmls_subject}
- {translatestatictext 'Time:'.{const language}}
  {dif {field 1.xmls_incoming}=1}{field 1.xmls_receivedtime}{/dif}{else}{field 1.xmls_senttime}{/else}
- {dif {field 1.xmls_processed}=1}{translatestatictext 'Processed by:'.{const language}}{/dif}{else}{translatestatictext 'Processed:'.{const language}}{/else}
  {dif {field 1.xmls_processed}=1}{field 1.x1} {field 1.x3} {field 1.x2} at {field 1.xmls_processedtime}{/dif} {else}No{/else}
- {translatestatictext 'Imported by:'.{const language}}
  {field 1.ix1} {field 1.ix3} {field 1.ix2} at {field 1.xmls_importtime}
{dif('{field 2.xmla_filename}'='')}{/dif}{else}
- {translatestatictext 'Attachments:'.{const language}}
  {forall 2} {field 2.xmla_filename}; {/forall}
{/else}