<{for $var=$rd_id to 1 step -1}>
ROUND <{$var}>
<{if $lang==3}>
<{if $setPk_round[$var]['isPkClass']=='SRSQ_BDS'}>FOUR-BALL<{/if}>
<{if $setPk_round[$var]['isPkClass']=='SRLQ_BDS'}>FOURSOMES<{/if}>
<{if $setPk_round[$var]['isPkClass']=='LRLQ_BDS'}>SINGLES<{/if}>
<{else}>
<{if $setPk_round[$var]['isPkClass']=='SRSQ_BDS'}>四人四球<{/if}>
<{if $setPk_round[$var]['isPkClass']=='SRLQ_BDS'}>四人两球<{/if}>
<{if $setPk_round[$var]['isPkClass']=='LRLQ_BDS'}>单人对抗<{/if}>
<{/if}>
<{foreach item=item key=key from=$round_pkgroup[$var] name=pk_group}>
<{/foreach}>
<{/for}>
<{foreach item=pitem key=pkey from=$round_pkgroup[$var][$key] name=pk_player}>
<{foreach item=mitem key=mkey from=$round_pkgroup[$var][$key][$pkey] name=player}>
<{if $smarty.foreach.pk_player.iteration==1}>
<{if $mkey==0}>
<{foreach item=pitem key=pkey from=$round_pkgroup[$var][$key] name=pk_player}>
<{foreach item=mitem key=mkey from=$round_pkgroup[$var][$key][$pkey] name=player}>
<{if $smarty.foreach.pk_player.iteration==2}>
<{if $mkey==0}>
player_w1<{/if}> <{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTdClass']==='class="player_w1"'}>player_w1<{/if}>">
<{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTdClass']==='class="player_w1"'}>
<{$round_pkTeamScore[$var]['gpholescore'][$key]['winTd']}>
UP
<{/if}>
<{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTd']==0 && $round_pkTeamScore[$var]["gpholescore"][$key]["endHole"]>=1}>
A/S
<{/if}>
<{/if}>
<{if $mkey==1}>/<{/if}>
<{$round_pkPlayerName[$var][$mitem]['name']}>
<{if $round_pkPlayerName[$var][$mitem]['pl_type']=="AMA"}>
(A)
<{/if}>
<{if $mkey==1}>
<{$round_startHole[$var][$mitem]}>
<{/if}>
<{if $mkey==1||$setPk_round[$var]['isPkClass']=='LRLQ_BDS'}>
<{/if}>
<{/if}>
<{/foreach}>
<{/foreach}>
<{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTdClass']==='class="player_w1"'}>1<{/if}><{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTdClass']==='class="player_w2"'}>2<{/if}>
<{if $round_pkTeamScore[$var]['playoff'][$key]['hole']>0}>
P
<{else}>
<{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTeam']===1||$round_pkTeamScore[$var]['gpholescore'][$key]['winTeam']===0||$round_pkTeamScore[$var]['gpholescore'][$key]['winTeam']==="AS"}>
F
<{else}>
<{if $round_pkTeamScore[$var]["gpholescore"][$key]["endHole"]<1}>
V
<{else}>
<{$round_pkTeamScore[$var]["gpholescore"][$key]["endHole"]}>
<{/if}>
<{/if}>
<{/if}>
player_w2<{/if}><{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTdClass']==='class="player_w2"'}>player_w2<{/if}>">
<{/if}>
<{if $mkey==1}>/<{/if}>
<{$round_pkPlayerName[$var][$mitem]['name']}>
<{if $round_pkPlayerName[$var][$mitem]['pl_type']=="AMA"}>
(A)
<{/if}>
<{if $mkey==1||$setPk_round[$var]['isPkClass']=='LRLQ_BDS'}>
<{$round_startHole[$var][$mitem]}>
<{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTdClass']==='class="player_w2"'}>
<{$round_pkTeamScore[$var]['gpholescore'][$key]['winTd']}>
UP
<{/if}>
<{if $round_pkTeamScore[$var]['gpholescore'][$key]['winTd']==0 && $round_pkTeamScore[$var]["gpholescore"][$key]["endHole"]>=1}>
A/S
<{/if}>
<{/if}>
<{/if}>
<{/foreach}>
<{/foreach}>