/*
* 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 - I guess the time has finally come...
Airline Mogul Forum
Airline Mogul => General Chat => Topic started by: MrOrange on December 30, 2007, 07:12:37 pm
-
... to say goodbye to Santa. Any admin, can you please delete all Santa's Sleighs in my fleet? They're starting to get annoying.
And on a sidenote:
(http://i84.photobucket.com/albums/k40/Rarehans/2008.gif)
-
its still Dec 29 :P
who cares? Happy New Year! :D
-
30 where I live.
-
:roll: whatever :)
-
New Years Eve in my Part of the World.
I second MrOrange,
On behalf of Star International, Have a Happy, and safe New Year.
-
Happy New Year! (Even though its the 29th here)
-
Happy New Year! (Even though its the 29th here)
CHINA PACIFIC AIRLINES wish you a Happy New Year :)
( here is 31st Dec GMT+8 )
-
I still hope we get cargo and the santas get speed 10...
btw it's 30th still here.. any place is is 2008 already?
-
HAPPY NEW YEAR!!!!
December 30th, 2007!
GMT-8
-
Yeah i'd also love to get rid of those bleedin sleighs
-
ive still got mine, if you try to delete the sleighs now ill just scrap mine :twisted:
-
Virgin Atlantic Airways wish you have a happy new year!! :D
( GMT + 8 )
-
Dec. 31
-
ive still got mine, if you try to delete the sleighs now ill just scrap mine :twisted:
Get a life.
-
ive still got mine, if you try to delete the sleighs now ill just scrap mine :twisted:
Get a life.
That's not possible for him :wink:
-
I know, but this way at least he might think there is hope :wink:
-
HAPPY NEW YEAR!!! It's 11pm here :lol: