0) $student_num = intval($_GET['student_num']); if (!isset($student_num)) { header("Location: /?action=students"); exit(); } $results = db_query("SELECT * FROM people WHERE school_num = $base_school_num AND record_num = $student_num"); if (db_num_rows($results) == 0) { $error_message = getLanguageText('ERRORMSG-NOT-FOUND'); header("Location: /?action=students&naction=search&error_message=".urlencode($error_message)); exit(); } $student = db_fetch_assoc($results); extract($student); $student_num = $record_num; if ($user_num > 0) { $results = db_query("SELECT * FROM users WHERE school_num = $base_school_num AND record_num = $user_num"); $user = db_fetch_assoc($results); $account_balance = db_getVal("select sum(transaction_amount) as balance from user_account where school_num = $school_num and user_num = $user_num AND (deleted != 'Y' OR deleted IS NULL)"); if ($account_balance === FALSE || strlen($account_balance) == 0) $account_balance = 0.00; $account_balance = floatval($account_balance); $abalance = floatval($account_balance); if ($abalance == 0.00) $account_balance = $currencySymbol . number_format($abalance,2); if ($abalance > 0) $account_balance = $currencySymbol . $abalance . " - " . getLanguageText('TEXT-BALANCE-OWING'); if ($abalance < 0) $account_balance = "-" . $currencySymbol . number_format(abs($abalance),2) . " - " . getLanguageText('TEXT-CREDIT-BALANCE'); $edit_link = "$edit_icon_small   "; $post_link = "$money_icon_small   "; $edit_link = "$edit_icon   "; $post_link = "$money_icon   "; $profile_link = "$contact_icon   "; $reminder_link = "$reminder_icon   "; if ($school_record['display_class_lists'] == 'N') $profile_link = ""; $command_links = $edit_link . $post_link . $profile_link . $reminder_link; } ?>
0) { ?> $edit_icon   "; $msg = getLanguageText('TEXT-CONFIRM-DELETE'); $delete_link = "$delete_icon   "; $post_link = "$money_icon   "; ?> 0) { ?> 0) { ?> 0) { ?>
 
:
    
:
: '>
:
:
:
:
 
:     
:
:
:
:
:
:
 
:

" . nl2br(trim($school_record['permission_description'])) . "") ?>
: $class_info"); ?>
:
:
:
:
:

0) $checked = getLanguageText('TEXT-YES'); ?>