Competition Entry '.$entry_row['comp_entry']."\n"; } ?>

'."\n"; echo ($brew_row['brewer_type'] != 'G' ? safe($brew_row['fname'].' '.$brew_row['lname']) : safe($brew_row['groupname']))."\n"; ?>

= 1 && $entry_row['place'] <= 4) { echo '

'."\n"; switch ($entry_row['place']) { case 1: echo 'First Place'; break; case 2: echo 'Second Place'; break; case 3: echo 'Third Place'; break; case 4: echo 'Honorable Mention'; } echo (!empty($entry_row['flight']) ? ' in Flight '.$entry_row['flight'] : '')."\n"; if ($entry_row['bos_place'] >=1 && $entry_row['bos_place'] <= 4) { echo '
'."\n"; switch ($entry_row['bos_place']) { case 1: echo 'First Place'; break; case 2: echo 'Second Place'; break; case 3: echo 'Third Place'; break; case 4: echo 'Honorable Mention'; } echo ' - Best of Show'."\n"; } echo '

'."\n"; } if ($Comp_Stage == 'POST' && ($Comp_Sheets == 'Y' || ($AdminAcct && $Comp_Sheets == 'A'))) { $ViewFile=hbc_name().'/sheets/'.$BrewerKey.'-'.$entry_row[($Comp_Renum == 'Y' ? 'comp_' : '').'entry'].'.pdf'; if (is_file($ViewFile)) { echo '

'."\n"; echo 'View Scoresheet'."\n"; echo '

'."\n"; } } ?> 0) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?> 0) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if (strlen($entry_row['style_desc']) > 0) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if (strlen($entry_row['name']) > 0) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } $query='select * from style_sub where sg="'.$Comp_SG.'" and type_seq="'.$entry_row['type_seq'].'"'; $query.=' and cat="'.$entry_row['cat'].'" and sub_cat="'.$entry_row['sub_cat'].'"'; $scat_res=mysqli_query($db, $query); $scat_row=mysqli_fetch_assoc($scat_res); $AllowComment=$CtrlComment == 'A' || ($CtrlComment == 'R' && $scat_row['req_comment'] != 'N'); if ($AllowComment) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if ($entry_row['base_cat'] > 0) { list($BaseCat, $BaseSubCat)=get_desc($entry_row['base_type_seq'], $entry_row['base_cat'], $entry_row['base_sub_cat']); echo ''."\n"; echo ''."\n"; echo ''."\n"; if (!empty($BaseSubCat)) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } } if (!empty($entry_row['strength'])) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if (!empty($entry_row['sweetness'])) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if (!empty($entry_row['carbonation'])) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if (!empty($entry_row['color'])) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?>
'."\n"; echo 'Score: '.$entry_row['score']."\n"; echo '
Category:
'."\n"; echo 'Sub-Category: '.$entry_row['sub_cat'].' - '.$SubCatDesc."\n"; echo '
'."\n"; echo 'Style Description: '.safe($entry_row['style_desc'])."\n"; echo '
'."\n"; echo 'Brew Name: '.safe($entry_row['name'])."\n"; echo '
'."\n"; echo 'Comments:'."\n"; if (strlen($entry_row['comment']) > 0) { echo '
'."\n"; echo nl2br(safe($entry_row['comment'])); } else { echo ' None'."\n"; } echo '
'."\n"; echo 'Base Category: '.$BaseCat."\n"; echo '
'."\n"; echo 'Base Sub-Category: '.$BaseSubCat."\n"; echo '
'."\n"; echo 'Strength: '.disp_strength($entry_row['strength'], $entry_row['type_seq'], $entry_row['cat']).'
'."\n"; echo '
'."\n"; echo 'Sweetness: '.disp_sweetness($entry_row['sweetness'], $entry_row['type_seq']).'
'."\n"; echo '
'."\n"; echo 'Carbonation: '.disp_carbonation($entry_row['carbonation'], $entry_row['type_seq']).'
'."\n"; echo '
'."\n"; echo 'Color: '.disp_color($entry_row['color'], $entry_row['type_seq'], $entry_row['cat'], $entry_row['sub_cat']).'
'."\n"; echo '
'."\n"; echo ''."\n"; echo ''."\n"; echo 'Do you want to '.$ActDesc.' this Entry?'."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo ''."\n"; echo ''."\n"; if ($Action == 'u' && !$AdminAcct && $Excess) { echo ''."\n"; echo ''."\n"; echo ExcessDesc(KindOfLimit($BrewerNo, $entry_row['type_seq'], $entry_row['cat'], $entry_row['sub_cat'])).' Limit Reached - You are not able to restore this entry'."\n"; echo ''."\n"; echo ''."\n"; } echo ''."\n"; } ?>
'."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; if ($Action == 's') { if ($entry_row['removed'] == 'Y') { echo ''."\n"; } else { echo ''."\n"; echo ''."\n"; } } echo ''."\n"; } else { echo ''."\n"; } ?>
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '