$new_cpu = 0;
     }
     if ($posmgmt->ChangeTowerInfo(array('pos_id' => $pos_id, 'newstatus' => $newstatus, 'new_tower_name' => $new_tower_name, 'new_outpost' => $new_outpost_id, 'new_pg' => $new_pg, 'new_cpu' => $new_cpu))) {
         $eve->SessionSetVar('statusmsg', 'Modifications Saved!');
         $eve->RedirectUrl('viewpos.php?i=' . $pos_id);
     }
     //echo 'Change Tower Information - ' . $newstatus . ' - ' .$new_tower_name;exit;
     break;
 case 'Change POS Secretive Status':
     $new_secret = $eve->VarCleanFromInput('new_secret');
     if ($new_secret == 0) {
         $new_secret = 1;
     } else {
         $new_secret = 0;
     }
     if ($posmgmt->ChangeTowerSecret(array('pos_id' => $pos_id, 'new_secret' => $new_secret))) {
         $eve->SessionSetVar('statusmsg', 'POS Secretive Status Changed!');
         $eve->RedirectUrl('viewpos.php?i=' . $pos_id);
     }
     break;
 case 'Update Fuel':
 case 'Refuel':
     if (empty($refuelme)) {
         $refuelme = $eve->VarCleanFromInput('refuelme');
     }
     if ($refuelme == 1) {
         $fuel['fuelblock'] = $eve->VarCleanFromInput('fuelblockOP');
         $fuel['charters'] = $eve->VarCleanFromInput('chartersOP');
         $fuel['strontium'] = $eve->VarCleanFromInput('strontiumOP');
     } else {
         $fuel['fuelblock'] = $eve->VarCleanFromInput('fuelblock');