Remove Session

'."\n"; echo (!empty($sess_row['ses_desc']) ? safe($sess_row['ses_desc']) : '')."\n";; echo ((!empty($sess_row['ses_desc']) && !empty($sess_row['ses_loc'])) ? '
' : '')."\n"; echo (!empty($sess_row['ses_loc']) ? safe($sess_row['ses_loc']) : '')."\n"; echo '
'."\n"; echo ''."\n"; } $query='select count(*) from session_prefs where ses_seq="'.$Session.'"'; $pref_res=mysqli_query($db, $query); $pref_row=mysqli_fetch_row($pref_res); if ($pref_row[0] > 0) { echo 'Session '.safe($sess_row['ses_title']).' is used in '.$pref_row[0].' Judge/Steward selection'.($pref_row[0] > 1 ? 's' : '').'
'."\n"; echo ($pref_row[0] > 1 ? 'These' : 'This').' will be removed if the Session is removed
'."\n"; echo '
'."\n"; } ?>