| [ PHPXref.com ] | [ Generated: Sun Jul 20 20:12:55 2008 ] | [ Scout Tracker 0.13 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 if ($script_name = basename($HTTP_SERVER_VARS["SCRIPT_NAME"]) == "bs_rank_update.php" ) { 3 print "<meta http-equiv=\"refresh\" content=\"0; URL=../index.php\">"; 4 exit; 5 } 6 if ($rank != "") { 7 foreach ($rank as $rank_key => $req_data) { 8 foreach ($req_data as $req_num => $req_date) { 9 if ($req_date != "" && $user_group <= 1) { 10 $other_item = ""; 11 $other_num = ""; 12 $rank_mb_num = $rank_mb[$rank_key][$req_num]; 13 $service_hours = $rank_sp[$rank_key][$req_num]; 14 if ($rank_mb_num != "" ) { 15 $other_item = "mb"; 16 $other_num = $rank_mb_num; 17 } else if ($service_hours != "") { 18 $other_item = "sp"; 19 $other_num = $service_hours; 20 } 21 add_rank_requirement($rowid, $rank_key, $req_num, $req_date, $other_num, $other_item); 22 } 23 24 } 25 } 26 } 27 28 if ($ud_rank != "") { 29 foreach ($ud_rank as $rank_key => $req_data) { 30 foreach ($req_data as $req_num => $req_date) { 31 if ($req_date != "" && $user_group <= 1 ) { 32 $other_item = ""; 33 $other_num = ""; 34 $rank_mb_num = $rank_mb[$rank_key][$req_num]; 35 $service_hours = $rank_sp[$rank_key][$req_num]; 36 if ($rank_mb_num != "" ) { 37 $other_item = "mb"; 38 $other_num = $rank_mb_num; 39 } else if ($service_hours != "") { 40 $other_item = "sp"; 41 $other_num = $service_hours; 42 } 43 change_rank_requirement($rowid, $rank_key, $req_num, $req_date, $other_num, $other_item); 44 } 45 } 46 } 47 } 48 49 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |