<{if $matchhole["holemax"]-$matchhole["holemin"]<=10}> <{foreach item=item key=key from=$pkgroup name=pk_group}> <{for $i=$matchhole["holemin"];$i<=$matchhole["holemax"];$i++}> <{if $matchhole["holemax"]-$matchhole["holemin"]<=10}> <{else}> <{/if}> <{/for}> <{for $i=1;$i<=$matchhole["holemax"]-$matchhole["holemin"]+1;$i++}> <{/for}> <{if $pkHoleScoreSet['act']==0}> <{foreach item=pitem key=pkey from=$pkgroup[$key] name=pk_player}> <{foreach item=mitem key=mkey from=$pkgroup[$key][$pkey] name=player}> <{if $smarty.foreach.pk_player.iteration==1}> <{for $i=$matchhole["holemin"];$i<=$matchhole["holemax"];$i++}> <{/for}> <{if $smarty.foreach.pk_player.iteration==1}> <{else}> <{/if}> <{/foreach}> <{/foreach}> <{else}> <{foreach item=pitem key=pkey from=$pkgroup[$key] name=pk_player}> <{foreach item=mitem key=mkey from=$pkgroup[$key][$pkey] name=player}> <{if $smarty.foreach.pk_player.iteration==1}> <{for $i=$matchhole["holemin"];$i<=$matchhole["holemax"];$i++}> <{/for}> <{if $smarty.foreach.pk_player.iteration==1}> <{else}> <{/if}> <{if $smarty.foreach.pk_player.iteration==1}> <{for $i=$matchhole["holemin"];$i<=$matchhole["holemax"];$i++}> <{/for}> <{/if}> <{if $smarty.foreach.pk_player.iteration==2}> <{for $i=$matchhole["holemin"];$i<=$matchhole["holemax"];$i++}> <{/for}> <{/if}> <{/foreach}> <{/foreach}> <{/if}> <{/foreach}>
<{else}> <{/if}>
<{$pkTeamName['tm_name'][0]}><{$up1}> <{$team1}>
<{$up2}> <{$pkTeamName['tm_name'][1]}> <{$team2}>
Match <{$key}> HOLE<{$i}><{$i}>
PAR<{$pars['par'][$i-1]}> <{if $pkHoleScoreSet['act']==1}> 总成绩 <{/if}>
<{else}> <{/if}> <{$pitem}><{$startHole[$pkey]}> > <{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)][$i]['score']}>
<{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)]['sumholescore']}><{if $pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)]['sumholescore']==""}> <{else}>UP<{/if}>
>
<{$pkTeamScore[$key]['winTd']}><{if $pkTeamScore[$key]['winTd']=="AS" || $pkTeamScore[$key]['winTd']==""}> <{else}>UP<{/if}>
<{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)]['sumholescore']}><{if $pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)]['sumholescore']==""}> <{else}>UP<{/if}>
<{else}> <{/if}> <{$pitem}> > <{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)][$i]['score']}>
<{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)]['sumholescore']}>
>
<{$pkTeamScore[$key]['winTd']}><{if $pkTeamScore[$key]['winTd']=="AS" || $pkTeamScore[$key]['winTd']==""}> <{else}>WINS<{/if}>
<{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)]['sumholescore']}>
SCORE <{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)][$i]['holescore']}>
SCORE <{$pkTeamScore[$key][($smarty.foreach.pk_player.iteration-1)][$i]['holescore']}>