{* jTemplate Rooms & occupancy 18:30 30/12/2009 version :1.2 *} {#template MAIN} {#for j = 1 to $P.roomNb}

Room {$T.j}

{#if $P.idForm != "advancedBookingEngine" } Layout {#/if} {* Adult number*}
{* Child number*} {#if $T.bookingEngineRules.maxRoomOccupancy.childrenNumber > 0}
{#/if}
{* roomcriteria children template *} {#if $T.roomsCriteria !=null && $T.roomsCriteria[$T.j-1] !=null && $T.roomsCriteria[$T.j-1].childrenNumber > 0} {#param name=childNb value=$T.roomsCriteria[$T.j-1].childrenNumber}
Children's age {#for i = 1 to $T.bookingEngineRules.maxRoomOccupancy.childrenNumber}
{#/for}
{#else} {*default children template*}
Children's age {#for i = 1 to $T.bookingEngineRules.maxRoomOccupancy.childrenNumber}
{#/for}
{#/if}
{#/for} {#/template MAIN}