'."\n"; echo 'Session List'.($SingleBrewer ? ' for '.disp_brewertype($brew_row['brewer_type']).' # '.$brew_row['brewer'] : '')."\n"; echo ''."\n"; if ($SingleBrewer) { echo '

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

'."\n"; echo 'Offering to assist with '.($brew_row['assist'] == 'J' ? 'Judg' : 'Steward').'ing'."\n"; } else { if (!$AskSession) { echo 'Judge/Steward Session selection has NOT been enabled.'."\n"; echo '

'."\n"; } echo 'Add New Session'."\n"; } ?>

'."\n"; echo 'Assist
Count'."\n"; echo ''."\n"; echo ''."\n"; } ?> '."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; echo ''."\n"; if (!$SingleBrewer) { $AssistCnt=array(); $Link=FALSE; foreach (array('J', 'S') as $Assist) { $query='select count(*) from session_prefs p, brewer b where p.ses_seq="'.$sess_row['ses_seq'].'" and p.brewer=b.brewer and b.assist="'.$Assist.'"'; $cnt_res=mysqli_query($db, $query); $cnt_row=mysqli_fetch_row($cnt_res); $AssistCnt[$Assist]=$cnt_row[0]; $Link=$Link || ($cnt_row[0] > 0); } echo ''."\n"; echo ''."\n"; if ($sess_cnt > 1) { echo ''."\n"; } echo ''."\n"; } echo ''."\n"; } ?>
Title Description
Location
Date Start
Time
'."\n"; echo 'Action'."\n"; echo '
'."\n"; echo safe($sess_row['ses_title'])."\n"; echo ''."\n"; if (!empty($sess_row['ses_desc']) || !empty($sess_row['ses_loc'])) { echo (!empty($sess_row['ses_desc']) ? safe($sess_row['ses_desc']) : ''); echo ((!empty($sess_row['ses_desc']) && !empty($sess_row['ses_loc'])) ? '
' : ''); echo (!empty($sess_row['ses_loc']) ? safe($sess_row['ses_loc']) : ''); } else { echo ' '; } echo "\n"; echo '
'."\n"; echo format_date_from_mysql($sess_row['ses_date'])."\n"; echo ''."\n"; echo (empty($sess_row['ses_time']) ? ' ' : safe($sess_row['ses_time']))."\n"; echo ''."\n"; echo ($Link ? '' : '').$AssistCnt['J'].' / '.$AssistCnt['S'].($Link ? '' : '')."\n"; echo ''."\n"; echo 'Change'."\n"; echo ''."\n"; echo 'Move'."\n"; echo ''."\n"; echo 'Remove'."\n"; echo '

0) { echo 'Add New Session'."\n"; echo '
'."\n"; } echo '
'."\n"; echo '
'."\n"; echo ''."\n"; ?>