0); ?>
= 2 && $TotEntry > 0)); } elseif ($brew_row['brewer_type'] == 'I') { $EntryList=($AdminAcct || $TotEntry > 0); } links_bar('M'.($AdminAcct ? 'ACL' : '').($AskPrefs ? 'WX' : '').($EntryList ? 'EP' : ''), $Key, $BrewerNo); ?>

Detail for

'."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; } else { echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } if (!empty($brew_row['addr3'])) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } if (!empty($brew_row['phone3'])) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } if (get_ctrl('NB-ASK') == 'Y' && $brew_row['brewer_type'] == 'I') { echo ''."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; } } else { echo '
Email Address: ' : '').safe($brew_row['email']).($AdminAcct ? '' : '')."\n"; ?>
'."\n"; echo 'First Name: '.safe($brew_row['fname'])."\n"; echo '
'."\n"; echo 'Last Name: '.safe($brew_row['lname'])."\n"; echo '
'."\n"; echo 'Group Name: '.safe($brew_row['groupname'])."\n"; echo '
Address Line 1:
'."\n"; echo 'Address Line 2: '.safe($brew_row['addr2'])."\n"; echo '
'."\n"; echo 'Address Line 3: '.safe($brew_row['addr3'])."\n"; echo '
City:
State:
Zip Code: Google Maps'."\n"; } ?>
Phone - Home:
'."\n"; echo 'Phone - Cell: '.$brew_row['phone2']."\n"; echo '
'."\n"; echo 'Phone - Work: '.$brew_row['phone3']."\n"; echo '
'."\n"; echo 'New Brewer: '.($brew_row['new_brewer'] == 'Y' ? 'Yes' : 'No')."\n"; echo '
Brew Club: ' : '').safe($brew_row['brewclub']).($AdminAcct ? '' : ''); ?>
'."\n"; if ($brew_row['assist']=='S') { echo 'Offering to assist with Stewarding at the Competition'."\n"; } elseif ($brew_row['assist']=='J') { echo 'Offering to assist with Judging at the Comptition'."\n"; echo '
'."\n"; echo '   BJCP ID: '.(empty($brew_row['bjcpid']) ? 'None' : safe($brew_row['bjcpid']))."\n"; if (get_ctrl('HC-ASK') == 'Y') { echo '   Hardcopy of Style Guidelines '.($brew_row['hardcopy'] == 'N' ? 'NOT ' : '').'Requested'."\n"; } } echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; if ($CntGroup < 1) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } else { $query='select * from brew_group where brewer="'.$BrewerNo.'" and removed != "Y"'; $group_res=mysqli_query($db, $query); while ($group_row=mysqli_fetch_assoc($group_res)) { echo ''."\n"; echo ''."\n"; echo ''."\n"; } } } echo '
'."\n"; echo 'Group Members'."\n"; echo '
'."\n"; echo 'None Listed'."\n"; echo '
'."\n"; echo $group_row['fname'].' '.$group_row['lname']; echo '
'."\n"; if ($AskPrefs) { $PrefType=array(); $PrefCat=array(); $PrefSub=array(); $query='select count(*) from style_prefs where brewer="'.$BrewerNo.'"'; $pref_res=mysqli_query($db, $query); $pref_row=mysqli_fetch_row($pref_res); if ($pref_row[0] > 0) { echo '
'."\n"; echo ''."\n"; foreach (array(TRUE, FALSE) as $Likes) { $query='select * from style_prefs where brewer="'.$BrewerNo.'" and rank'.($Likes ? '>' : '<').'0 order by rank'.($Likes ? '' : ' desc'); $pref_res=mysqli_query($db, $query); if (mysqli_num_rows($pref_res) > 0) { echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; } } echo '
'.disp_ld($Likes).''."\n"; echo ''."\n"; echo ''."\n"; $cnt=0; while ($pref_row=mysqli_fetch_assoc($pref_res)) { ++$cnt; $Offset=($Likes ? $cnt : $cnt+3); $PrefType[$Offset]=$pref_row['type_seq']; $PrefCat[$Offset]=$pref_row['cat']; $PrefSub[$Offset]=$pref_row['sub_cat']; if ($cnt > 1) { echo ''."\n"; } echo ''."\n"; } while ($cnt < 3) { echo ''."\n"; echo ''."\n"; ++$cnt; $Offset=($Likes ? $cnt : $cnt+3); $PrefType[$Offset]=''; $PrefCat[$Offset]=''; $PrefSub[$Offset]=''; } echo ''."\n"; echo '
/'."\n"; echo disp_cat($pref_row['type_seq']); } else { echo ' onmouseover="showStyle('.$Offset.')" onmouseout="hideStyle()">'."\n"; if ($AdminAcct) { if (cntEntryCat($pref_row['type_seq'], $pref_row['cat']) > 0) { echo ''.disp_cat($pref_row['type_seq'], $pref_row['cat']).''; } else { echo disp_cat($pref_row['type_seq'], $pref_row['cat']); } if (!empty($pref_row['sub_cat'])) { if (cntEntryCat($pref_row['type_seq'], $pref_row['cat'], $pref_row['sub_cat']) > 0) { echo ''.$pref_row['sub_cat'].''; } else { echo $pref_row['sub_cat']; } } echo "\n"; } else { echo disp_cat($pref_row['type_seq'], $pref_row['cat'], $pref_row['sub_cat']); } } echo '/ 
'."\n"; echo '
'."\n"; } echo ''."\n"; } ?>
'."\n"; echo ''."\n"; if (in_array($brew_row['brewer_type'], array('I', 'G'))) { 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 ($brew_row['brewer_type'] == 'G') { echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; $OneGroup=($CntGroup == 1 && $TotGroup == 1); if ($OneGroup) { $query='select * from brew_group where brewer="'.$BrewerNo.'"'; $bg_res=mysqli_query($db, $query); $bg_row=mysqli_fetch_assoc($bg_res); } echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; } if ($AskPrefs || $AskSess) { echo ''."\n"; echo ''."\n"; if ($AskSess) { echo ''."\n"; } if ($AskPrefs) { echo ''."\n"; echo ''."\n"; } echo ''."\n"; echo '
'."\n"; echo '
'."\n"; $query='select count(*) from session_prefs where brewer="'.$BrewerNo.'"'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; $query='select count(*) from style_prefs where brewer="'.$BrewerNo.'" and rank > 0'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; $query='select count(*) from style_prefs where brewer="'.$BrewerNo.'" and rank < 0'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); echo ''."\n"; echo '
'."\n"; echo '
'."\n"; } echo ''."\n"; echo ''."\n"; if ($brew_row['brewer_type'] == 'G') { echo ''."\n"; } else { $NotBrewer=in_array($brew_row['brewer_type'], array('S', 'J')); foreach (array('S', 'J', 'I', 'G') as $BrewType) { if ($brew_row['brewer_type'] != $BrewType) { echo ''."\n"; } } } echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo ''."\n"; echo '
'."\n"; echo '
'."\n"; } ?>
'."\n"; echo ''."\n"; echo ''."\n"; ?>