{* jTemplate Rooms & occupancy 18:30 30/12/2009 version :1.2 *} {#template MAIN} {#for j = 1 to $P.roomNb}
Room {$T.j}
{* 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} {#else} {*default children template*} {#/if}