/*
* Patch for filter_var()
*/
if(!function_exists('filter_var')){
define('FILTER_VALIDATE_IP', 'ip');
define('FILTER_FLAG_IPV4', 'ipv4');
define('FILTER_FLAG_IPV6', 'ipv6');
define('FILTER_VALIDATE_EMAIL', 'email');
define('FILTER_FLAG_EMAIL_UNICODE', 'unicode');
function filter_var($variable, $filter, $option = false){
if($filter == 'ip'){
if($option == 'ipv4'){
if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
if($option == 'ipv6'){
if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
if($filter == 'email'){
if($option == 'unicode' || $option == false){
if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
}
}
Print Page - Route share % and pie chart
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: Wibblebutt on November 04, 2007, 02:08:47 am
-
On a few of my routes the total % does not add up to 100%, yet the pie chart shows a 'full pie' for my airline?
For example on route 197907, it shows 81% for my airline and 5% Other, which only adds to 86% yet the pie graph seems to be showing 95% share to me...
So te routes I have noticed with this problem are:
159301
149574
197941
197907
Cheers.
-
I know! I have a lot of routes from dublin that i only share 70% and the whole pie chart is filled!
-
More routes with the same problems:
216984
224261
233670
224174
224182
Seems to be more prevalent in routes in which I am 'competing' against myself.
-
it happens on routes where one or more airlines fly the route with multiple flights... just go look at BOS-JFK... crazy.