{runquery 1}
{translatestatictext 'Party Guests'.{const language}}
- {translatestatictext 'Name'.{const language}}
  {translatestatictext 'Arrival'.{const language}}
  {translatestatictext 'Departure'.{const language}}
  {translatestatictext 'Nights'.{const language}}
  {translatestatictext 'Room'.{const language}}
  {translatestatictext 'Type'.{const language}}
{forall 1}
- {field 1.guestname}
  {dif ('{field 1.YRES_EXPARRTIME.0}'='0')} {/dif}{else}{field 1.YRES_EXPARRTIME} {/else}
  {dif ('{field 1.YRES_EXPDEPTIME.0}'='0')} {/dif}{else}{field 1.YRES_EXPDEPTIME}{/else}
  {dif ({field 1.NIGHTS.0}=0)}0{/dif}{else}{field 1.NIGHTS}{/else}
  {dif ('{field 1.yrms_shortdesc}'='')} {/dif}{else}{field 1.yrms_shortdesc} {/else}
  {field 1.ycat_longdesc}
{/forall}