Federal Perkins Loans (click for more info.)"; $staf_link = "Federal Stafford Loans (click for more info.) - Minus a 1.072%% fee"; $alt_link = "Alternative Loans (click for more info.)"; $plus_link = "Federal Parent (PLUS) Loan (click for more info.) - Minus a 4.288%% fee"; break; case "gp": $group = "GradPro"; $title = "Graduate/Professional"; $perk_link = "Federal Perkins Loans (click for more info.)"; $staf_link = "Federal Stafford Loans (click for more info.) - Minus a 1.072%% fee"; $alt_link = "Alternative Loans (click for more info.)"; $plus_link = "Federal Graduate (PLUS) Loan (click for more info.) - Minus a 4.288%% fee"; break; case "sps": $group = "SPS"; $title = "School of Professional Studies"; $perk_link = "Federal Perkins Loans (click for more info.)"; $staf_link = "Federal Stafford Loans (click for more info.) - Minus a 1.072%% fee"; $alt_link = "Alternative Loans (click for more info.)"; $plus_link = "Federal Parent (PLUS) Loan (click for more info.) - Minus a 4.288%% fee"; break; } $award_year = '1415'; $aid_year = '2014-15'; $today_array = getdate(time()); $today_month = $today_array["mon"]; $today_year = $today_array["year"]; $taward_year = $award_year - 1; $new_year = $taward_year . "-" . $award_year; $short_year = substr($award_year,2,2); $f_header = "" . $font6 . "Fall"; $s_header = "" . $font6 . "Spring"; $t_header = "" . $font6 . "Total"; $u_tuition = ""; $u_room = ""; $u_board =""; $u_fees = ""; $u_ofees = ""; $u_sfees = ""; $u_books = ""; $u_park = ""; $u_cost = ""; $new_u_cost = ""; $result = connect("SELECT * FROM costs_simulator WHERE cs_dropdown = 'Tuition' AND cs_group = '$group' AND cs_selected = 'selected' ORDER BY cs_option"); if ($row = mysql_fetch_object($result)) { $f_tuition = $row->cs_value; $s_tuition = $row->cs_value; } $result = connect("SELECT * FROM costs_simulator WHERE cs_dropdown = 'Room and Board' AND cs_group = '$group' AND cs_selected = 'selected' ORDER BY cs_option"); if ($row = mysql_fetch_object($result)) { $f_room = $row->cs_value; $s_room = $row->cs_value; } $result = connect("SELECT * FROM costs_simulator WHERE cs_dropdown = 'Fees' AND cs_group = '$group' AND cs_selected = 'selected' ORDER BY cs_option"); if ($row = mysql_fetch_object($result)) { $f_fees = round_up($row->cs_value); $s_fees = round_down($row->cs_value); } $result = connect("SELECT * FROM costs_simulator WHERE cs_dropdown = 'Orientation Fee' AND cs_group = '$group' AND cs_selected = 'selected' ORDER BY cs_option"); if ($row = mysql_fetch_object($result)) { $f_ofees = $row->cs_semester; $s_ofees = $row->cs_value; } $result = connect("SELECT * FROM costs_simulator WHERE cs_dropdown = 'Books' AND cs_group = '$group' AND cs_selected = 'selected' ORDER BY cs_option"); if ($row = mysql_fetch_object($result)) { $f_books = $row->cs_value; $s_books = $row->cs_value; } $result = connect("SELECT * FROM costs_simulator WHERE cs_dropdown = 'Parking' AND cs_group = '$group' AND cs_selected = 'selected' ORDER BY cs_option"); if ($row = mysql_fetch_object($result)) { $f_park = $row->cs_value; $s_park = $row->cs_value; } $f_sfees = 0; $s_sfees = 0; $f_cost = $f_tuition + $f_room + $f_board + $f_fees + $f_ofees + $f_books + $f_park; $new_f_cost = $f_cost; $s_cost = $s_tuition + $s_room + $s_board + $s_fees + $s_ofees + $s_books + $s_park; $new_s_cost = $s_cost; $total_tuition = $f_tuition + $s_tuition; $total_room = $f_room + $s_room; $total_board = $f_board + $s_board; $total_fees = $f_fees + $s_fees; $total_sfees = $f_sfees + $s_sfees; $total_ofees = $f_ofees + $s_ofees; $total_books = $f_books + $s_books; $total_park = $f_park + $s_park; $total_cost = $f_cost + $s_cost; $new_total_cost = $f_cost + $s_cost; printf($div . $title . " " . $aid_year . " Cost Simulator
"); printf(""); printf("\n"); printf("\n"); printf("\n"); printf("\n"); printf("" . $column4 . "  " . $column2 . "  " . $column2 . $f_header . " " . $column2 . $s_header . " " . $column2 . $t_header . "\n"); if ($u_tuition || $f_tuition || $s_tuition) { printf("" . $column4 . "" . $font . "Tuition: " . financing_tuition("$group") . " " . $column3 . "" . text_box("u_tuition",$u_tuition,1,$u_cost) . " " . $column3 . "" . text_box("f_tuition",$f_tuition,1,$f_cost) . " " . $column3 . "" . text_box("s_tuition",$s_tuition,1,$s_cost) . " " . $column3 . "" . text_box("total_tuition",$total_tuition,1,$total_cost) . "\n"); } if ($g != "sps") { printf("" . $column4 . "" . $font . "Room & Board: " . financing_room("$group") . " " . $column3 . "" . text_box("u_room",$u_room,1,$u_cost) . " " . $column3 . "" . text_box("f_room",$f_room,1,$f_cost) . " " . $column3 . "" . text_box("s_room",$s_room,1,$s_cost) . " " . $column3 . "" . text_box("total_room",$total_room,1,$total_cost) . "\n"); } if ($u_fees || $f_fees || $s_fees) { printf("" . $column4 . "" . $font . "Fees: " . financing_fees("$group") . " " . $column3 . "" . text_box("u_fees",$u_fees,1,$u_cost) . " " . $column3 . "" . text_box("f_fees",$f_fees,1,$f_cost) . " " . $column3 . "" . text_box("s_fees",$s_fees,1,$s_cost) . " " . $column3 . "" . text_box("total_fees",$total_fees,1,$total_cost) . "\n"); } if ($u_ofees || $f_ofees || $s_ofees) { printf("" . $column4 . "" . $font . "Orientation Fees: " . financing_ofees("$group") . " " . $column3 . "" . text_box("u_ofees",$u_ofees,1,$u_cost) . " " . $column3 . "" . text_box("f_ofees",$f_ofees,1,$f_cost) . " " . $column3 . "" . text_box("s_ofees",$s_ofees,1,$s_cost) . " " . $column3 . "" . text_box("total_ofees",$total_ofees,1,$total_cost) . "\n"); } if ($g == "ug") { printf("" . $column4 . "" . $font . "Special Fees: " . financing_sfees("$group") . " " . $column3 . "" . text_box("u_sfees",$u_sfees,1,$u_cost) . " " . $column3 . "" . text_box("f_sfees",$f_sfees,1,$f_cost) . " " . $column3 . "" . text_box("s_sfees",$s_sfees,1,$s_cost) . " " . $column3 . "" . text_box("total_sfees",$total_sfees,1,$total_cost) . "\n"); } printf("" . $column4 . "" . $font . "Books: " . financing_books("$group") . " " . $column3 . "" . text_box("u_books",$u_books,1,$u_cost) . " " . $column3 . "" . text_box("f_books",$f_books,1,$f_cost) . " " . $column3 . "" . text_box("s_books",$s_books,1,$s_cost) . " " . $column3 . "" . text_box("total_books",$total_books,1,$total_cost) . "\n"); printf("" . $column4 . "" . $font . "Parking: " . financing_parking("$group") . " " . $column3 . "" . text_box("u_parking",$u_park,1,$u_cost) . " " . $column3 . "" . text_box("f_parking",$f_park,1,$f_cost) . " " . $column3 . "" . text_box("s_parking",$s_park,1,$s_cost) . " " . $column3 . "" . text_box("total_parking",$total_park,1,$total_cost) . "\n"); if ($row->u_cost || "FU2" || "FU2") { printf("" . $column4 . "" . $font6 . "Total estimated " . $aid_year . " costs: " . $column3 . "" . text_box("new_u_cost",$new_u_cost,2,$u_cost) . " " . $column3 . "" . text_box("new_f_cost",round_up($new_f_cost),2,$f_cost) . " " . $column3 . "" . text_box("new_s_cost",round_down($new_s_cost),2,$s_cost) . " " . $column3 . "" . text_box("new_total_cost",$new_total_cost,2,$total_cost) . "\n"); } ////////////////////////////////////////// ///////////////////////////////////////// printf("\n"); printf("\n"); printf("" . $column4 . "" . $font6 . " " . $column2 . "" . $font6 . $u_header . " " . $column2 . $f_header . " " . $column2 . $s_header . " " . $column2 . $t_header . "\n"); printf("" . $column4 . $font6 . "Anticipated Scholarship/Grants
" .$font . "\n"); printf($column3 . "" . $font6 . text_box("total_summer",0,0,$u_cost,"onChange=change_unmet_cost()") . " " . $column3 . "" . $font6 . text_box("total_fall",0,0,$f_cost,"onChange=change_unmet_cost()") . " " . $column3 . "" . $font6 . text_box("total_spring",0,0,$s_cost,"onChange=change_unmet_cost()") . " " . $column3 . "" . $font6 . text_box("total_total",0,1,$total_cost) . "
\n"); printf("" . $column4 . "" . $font6 . "Your estimated balance after aid\n"); printf($column3 . "" . $font6 . text_box("u_after",$new_u_cost,2,$u_cost) . " " . $column3 . "" . $font6 . text_box("f_after",round_up($new_f_cost),2,$f_cost) . " " . $column3 . "" . $font6 . text_box("s_after",round_down($new_s_cost),2,$s_cost) . " " . $column3 . "" . $font6 . text_box("total_after",$new_total_cost,2,$total_cost) . "\n"); ///////////////////////////////////////// printf("\n"); printf("\n"); printf("" . $column4 . "" . $font6 . " " . $column2 . "" . $font6 . $u_header . " " . $column2 . $f_header . " " . $column2 . $s_header . " " . $column2 . $t_header . "\n"); printf("" . $column4 . $font . "Family Savings / 529 Plan
" .$font . "\n"); printf($column3 . "" . $font . text_box("u_savings",0,0,$u_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("f_savings",0,0,$f_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("s_savings",0,0,$s_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("total_savings",0,1,$total_cost) . "
\n"); printf("" . $column4 . $font . "" . $perk_link . "
" .$font . "\n"); printf($column3 . "" . $font . text_box("u_perkins",0,0,$u_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("f_perkins",0,0,$f_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("s_perkins",0,0,$s_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("total_perkins",0,1,$total_cost) . "
\n"); printf("" . $column4 . $font . "" . $staf_link . "
" .$font . "\n"); printf($column3 . "" . $font . text_box("u_stafford",0,0,$u_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("f_stafford",0,0,$f_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("s_stafford",0,0,$s_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("total_stafford",0,1,$total_cost) . "
\n"); printf("" . $column4 . $font . "" . $plus_link. "
" .$font . "\n"); printf($column3 . "" . $font . text_box("u_plus",0,0,$u_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("f_plus",0,0,$f_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("s_plus",0,0,$s_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("total_plus",0,1,$total_cost) . "
\n"); if ($g != "gp") { printf("" . $column4 . $font . "" . $alt_link . "
" .$font . "\n"); printf($column3 . "" . $font . text_box("u_alternative",0,0,$u_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("f_alternative",0,0,$f_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("s_alternative",0,0,$s_cost,"onChange=change_financing()") . " " . $column3 . "" . $font . text_box("total_alternative",0,1,$total_cost) . "
\n"); } printf("" . $column4 . "" . $font6 . "Your balance after financing options " . $column3 . "" . $font6 . text_box("u_financing",$summer_after,2,$u_cost) . " " . $column3 . "" . $font6 . text_box("f_financing",$fall_after,2,$f_cost) . " " . $column3 . "" . $font6 . text_box("s_financing",$spring_after,2,$s_cost) . " " . $column3 . "" . $font6 . text_box("total_financing",$total_after,2,$total_cost) . "\n"); ///////////////////////////////////////// printf("\n"); printf("" . $column4 . "" . $font6 . " " . $column2 . "" . $font6 . $u_header . " " . $column2 . $f_header . " " . $column2 . $s_header . " " . $column2 . $u_header . "\n"); printf("" . $column4 . $font . "5 Monthly payments (click for more info.)" .$font . "\n"); printf($column3 . "" . $font . text_box("u_payment_month",$summer_after,2,$u_cost) . "" . $column3 . "" . $font . text_box("f_payment_month",$fall_after,2,$f_cost) . "" . $column3 . "" . $font . text_box("s_payment_month",$spring_after,2,$s_cost) . "" . $column3 . "" . $font . " \n"); printf("\n"); printf(""); printf(""); printf(""); if ($g == "gp") { printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); } if ($g == "sps") { printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); printf(""); } printf(""); printf(""); printf("\n"); printf("
" . $div . "THIS IS NOT A BILL
" . $font . "The information provided in the SIMULATOR is intended to help you review the many options available for affording a Saint Louis University education for the " . $aid_year . " academic year. Please read the following financing options carefully.
" . $font . "Click below to see how changes in room, board, books and parking will effect your " . $font6 . "Total estimated " . $aid_year . " costs.
 
 
" . $font2 . "Anticipated " . $aid_year . " Scholarship/Financial Aid

" . $font . "Enter your estimate below for any anticipated scholarship/financial aid. Scholarship/financial aid includes scholarships or grants from Saint Louis University, federal, state or private programs. Dollar amounts entered in this section will reduce " . $font6 . "your estimated balance after aid" . $font . ". Your balance will change when you TAB off of each field.

 
" . $font2 . "Financing Options

" . $font . "Enter your estimates below for each of the financing options listed. Dollar amounts entered in this section will reduce " . $font6 . "Your balance after financing options" . $font . ". Your balance will change when you TAB off of each field.

 
" . $font2 . "University Payment Plan
"); printf("
" . $font . "The above amounts do not include the additional 1%% per month finance charge or $75 per semester enrollment fee.
 
" . $font . " If you have any questions or comments, please contact a Student Financial Services Counselor, or visit finaid.slu.edu for more information about financial aid. We welcome the opportunity to assist you.\n
"); include("includes/footer.html"); ?>