63 lines
1.7 KiB
PHP
63 lines
1.7 KiB
PHP
<table>
|
|
<tr>
|
|
<td>
|
|
<br>
|
|
<button id='update-student-status'><?php displayLanguageText('TEXT-UPDATE-STATUS'); ?></button>
|
|
</td>
|
|
<?php if ($school_record['special_item_prices'] != 'N') { ?>
|
|
<td>
|
|
<br>
|
|
<button id='update-student-price-category'><?php displayLanguageText('TEXT-UPDATE-MENU-CATEGORY'); ?></button>
|
|
</td>
|
|
<?php } ?>
|
|
<?php if ($school_record['implement_multiple_item_prices'] != 'N') { ?>
|
|
<td>
|
|
<br>
|
|
<button id='update-student-flex-flag'><?php displayLanguageText('TEXT-UPDATE-FLEX-PRICE-ACCESS'); ?></button>
|
|
</td>
|
|
<?php } ?>
|
|
<?php if ($school_record['implement_meal_locations'] != 'N') { ?>
|
|
<td>
|
|
<br>
|
|
<button id='update-student-delivery-location'><?php displayLanguageText('TEXT-UPDATE-DELIVERY-LOCATIONS'); ?></button>
|
|
</td>
|
|
<?php } ?>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<table>
|
|
<tr>
|
|
<?php
|
|
$cresults = db_query("SELECT * FROM classes WHERE school_num = $base_school_num ORDER BY sequence");
|
|
if (db_num_rows($cresults) > 0) {
|
|
|
|
$Classes = array();
|
|
while ($row = db_fetch_assoc($cresults)) {
|
|
$cnum = $row['record_num'];
|
|
$class_info = getClassInfo($cnum, 'dropdown');
|
|
$Classes[] = array($cnum, $class_info);
|
|
}
|
|
?>
|
|
<td align='left'>
|
|
<b><?php echo($GlobalText['Classes']) ?>:</b><br>
|
|
<select id='selected-class-num'>
|
|
<option value='0'><?php displayLanguageText('TEXT-VIEW-ALL'); ?></option>
|
|
<?php
|
|
for ($i = 0; $i < count($Classes); $i++) {
|
|
$class = $Classes[$i];
|
|
$cnum = $class[0];
|
|
$info = $class[1];
|
|
echo(" <option value='$cnum'>$info</option>\n");
|
|
}
|
|
?>
|
|
</select>
|
|
</td>
|
|
<?php } ?>
|
|
<td>
|
|
<br>
|
|
<button id='view-selected-records'><?php displayLanguageText('TEXT-VIEW'); ?></button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<div id='student-people-message-div'></div>
|