doquery("DELETE FROM {{table}} WHERE fleet_id = '" . $FleetRow['fleet_id'] . "'", 'fleets');
}
}
$FleetRow['fleet_start_time'] <= time();
}
private function MissionCaseExpedition($FleetRow)
{
global $lang, $resource, $pricelist;
$FleetOwner = $FleetRow['fleet_owner'];
$MessSender = $lang['sys_mess_qg'];
$MessTitle = $lang['sys_expe_report'];
if ($FleetRow['fleet_mess'] == 0)
{
if ($FleetRow['fleet_end_stay'] < time())
{
$PointsFlotte = array(
202 => 1.0,
203 => 1.5,
204 => 0.5,
205 => 1.5,
206 => 2.0,
207 => 2.5,
208 => 0.5,
209 => 1.0,
210 => 0.01,
211 => 3.0,
212 => 0.0,
213 => 3.5,
214 => 5.0,
215 => 3.2,
);
$RatioGain = array (
202 => 0.1,
203 => 0.1,
204 => 0.1,
205 => 0.5,
206 => 0.25,
207 => 0.125,
208 => 0.5,
209 => 0.1,
210 => 0.1,
211 => 0.0625,
212 => 0.0,
213 => 0.0625,
214 => 0.03125,
215 => 0.0625,
);