{runquery 1}{runquery 2}
{translatestatictext 'Membership Information'.{const language}}
- {translatestatictext 'Type'.{const language}}
  {translatestatictext 'Value'.{const language}}
  {translatestatictext 'Points'.{const language}}
  {translatestatictext 'Expiry'.{const language}}
{forall 1}
- {dif {field 1.isbonus}=1} {/dif}{field 1.xmnr_id}
  {field 1.xmty_longdesc}
  {field 1.xmnr_value}{dif {field 1.xmnr_inactive.0}=1} *{/dif}
  {field 1.points}
  {field 1.xmnr_expirydate}
{dif {field 1.xmnr_inactive.0}=1}
- {translatestatictext 'Inactive Reason:'.{const language}}
  {field 1.xmnr_inactivereason}
{/dif} {/forall} {dif '{field 2.xprg_id.0}'='0'}{/dif}{else}
- {translatestatictext 'Best Western Rewards'.{const language}}
{forall 2}
- {translatestatictext 'Membership Number'.{const language}}
  {field 2.xmnr_Value}
- {translatestatictext 'Membership Level'.{const language}}
  {field 2.xmnr_Level}
- {translatestatictext 'Enrollment Source'.{const language}}
  {field 2.xprg_EnrollmentSource}
- {translatestatictext 'Enrollment Date'.{const language}}
  {field 2.xprg_EnrollmentDate}
- {translatestatictext 'Nights to next Tier'.{const language}}
  {field 2.xprg_NightsToNextTier}
- {translatestatictext 'Point Balance'.{const language}}
  {field 2.xprg_PointsBalance}
- {translatestatictext 'Program Code'.{const language}}
  {field 2.xprg_ProgramCode}
- {translatestatictext 'Tier Since Date'.{const language}}
  {field 2.xprg_TierSinceDate}
- {translatestatictext 'Tier Expiry Date'.{const language}}
  {field 2.xprg_TierExpiryDate}
- {translatestatictext 'Nights to maintain Status'.{const language}}
  {field 2.xprg_NightsToMaintainStatus}
- {translatestatictext 'Nights stayed in Year'.{const language}}
  {field 2.xprg_NightsStayedInYear}
- {translatestatictext 'Points to maintain Status'.{const language}}
  {field 2.xprg_PointsToMaintainStatus}
- {translatestatictext 'Stays to maintain Status'.{const language}}
  {field 2.xprg_StaysToMaintainStatus}
- {translatestatictext 'Next loyal Level'.{const language}}
  {field 2.xprg_NextLoyalLevel}
- {translatestatictext 'Points to next Tier'.{const language}}
  {field 2.xprg_PointsToNextTier}
- {translatestatictext 'Stays to next Tier'.{const language}}
  {field 2.xprg_StaysToNextTier}
{/forall} {/else}