<{assign var="errornum" value=0}> <{foreach name=group item=item key=key from=$pkgroup}> <{if $key neq 'country'}> <{section name="out" loop=18 start=0}> <{/section}> <{foreach name=player item=items key=keys from=$pkgroup[$key]}> <{section name="out" loop=18 start=0}> <{/section}> <{/foreach}> <{for $i=1;$i<=18;$i++}> <{/for}> <{for $i=1;$i<=18;$i++}> <{/for}> <{else}> <{assign var="errornum" value=$errornum+1}> <{/if}> <{/foreach}>
Match <{$smarty.foreach.group.index+1-$errornum}> <{$BDSwin[$key]}>
Hole 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Par<{$pars["par"][($smarty.section.out.index)]}>
<{$items}>><{$holeScore['score'][$keys][($smarty.section.out.index+1)]}>
Leading >
Match Scoring<{$mscore[$key][$i]}>