:
: $title\n"); } ?>
: class='select-width300 form-field text ui-widget-content ui-corner-all'> \n"); } $prev_program = "none"; while ($crow = db_fetch_array($cresults)) { if (array_key_exists('program_name', $crow)) { if ($prev_program != $crow['program_name']) { if ($prev_program != "none") echo(" \n"); $title = $crow['program_name']; if (strlen($title) > 0) { $prev_program = $title; echo(" \n"); } } } $cnum = $crow['record_num']; if ($_SESSION['UserInfo']['type'] == 'Parent') $class_info = getClassInfo($cnum,'dropdown'); else $class_info = getClassInfo($cnum,'dropdown'); echo(" $class_info\n"); } if (strlen($title) > 0) echo(" \n"); if ($userType == 'Admin') { $title = ''; $numCustomers = db_getVal("SELECT count(*) FROM people WHERE school_num = $base_school_num AND class_num = 1"); if ($numCustomers > 0 || $school_record['registrations_permitted'] == 'Guest' || $school_record['registrations_permitted'] == 'Both' || $school_record['orders_for'] == 'Registrant' || $school_record['orders_for'] == 'Both' || $userType == 'Admin') { // $title = getLanguageText('TEXT-OTHER'); // echo(" \n"); } if ($numCustomers > 0 || $school_record['registrations_permitted'] == 'Guest' || $school_record['registrations_permitted'] == 'Both') { echo(" " . getLanguageText('TEXT-CUSTOMER') . "\n"); } if ($school_record['orders_for'] == 'Registrant' || $school_record['orders_for'] == 'Both') { echo(" " . getLanguageText('TEXT-PARENT') . "\n"); } echo(" ".getLanguageText('TEXT-STAFF')."\n"); // if (strlen($title) > 0) echo(" \n"); } ?>
: 0 && $numLocations > 0) { if ($entry_type != $prev_type) { if (strlen($prev_type)) echo(" \n"); if ($entry_type == 'Class') $t = $GlobalText['Classes']; if ($entry_type == 'Locations') $t = getLanguageText('TEXT-ALTERNATE-LOCATIONS'); echo(" \n"); $prev_type = $entry_type; } } $v = $lrow['record_num']; if ($entry_type == 'Class') $l = getClassInfo($v,'dropdown'); else $l = $lrow['description']; echo(" $l\n"); } if ($numClasses > 0 && $numLocations > 0) echo(" \n"); ?>
: $user\n"); } ?>