/*
* 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 - Help with selling Planes
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: Quasar Airlines on April 27, 2008, 12:21:47 am
-
I have 2 planes up for sale. I want to take them off the market, but the option is unclickable. RED
Also no planes have pics (execpt ATR) BLUE
Look at this pic if you are confused:
http://i200.photobucket.com/albums/aa154/laxmanmike72/Airline.jpg
-
Go to "Aircraft market" > "aircraft offered for sales or leases". You can retract them there.
-
thanks it worked
-
I think i fixed the original link, there was an error in the html which is no more.
-
anyone know hot to get the pics of planes to work?
-
anyone know hot to get the pics of planes to work?
Take the pictures. Donate them (or the rights to use them) to Airline Mogul. :wink:
For more information, see this thread: http://stephenm.org/forum/viewtopic.php?t=5985
Edit: Forgot to mention but the fact you're not seeing pictures (or only a few) is not a bug. It's just most planes don't have them (yet) to be seen.