/*
* 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 - Logo
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: boeing on September 24, 2010, 11:17:40 pm
Is it possible to remove a logo completely.
not necessarily... but you still can use a blank logo , by making your logo all white and then uploading it 8) You can do this through MS Paint. 1) Go to Start > Programs > Accessories > Paint (http://i998.photobucket.com/albums/af110/JetCanadaExpress/Forums/Delete_Logo1.jpg) 2) Go to Image > Attributes (http://i998.photobucket.com/albums/af110/JetCanadaExpress/Forums/Delete_Logo2.jpg) 3) When the box comes up, type in 300 in the first box and 90 in the second (http://i998.photobucket.com/albums/af110/JetCanadaExpress/Forums/Delete_Logo3.jpg) 4) After that, LEAVE THE "BOX" BLANK (http://i998.photobucket.com/albums/af110/JetCanadaExpress/Forums/Delete_Logo4.jpg) 5) Then, of course, save it as JPEG or PNG or GIF format. I prefer JPEG (http://i998.photobucket.com/albums/af110/JetCanadaExpress/Forums/Delete_Logo5.jpg) 6) Then upload it into Airline Mogul (I am SURE you know how to do that), by going to Admin page and clicking below of what's your old logo. (the blue here button) (http://i998.photobucket.com/albums/af110/JetCanadaExpress/Forums/Delete_Logo6.jpg) Press choose and then select your saved file: (http://i998.photobucket.com/albums/af110/JetCanadaExpress/Forums/Delete_Logo7.jpg) If it is successful, you will get the "success" message. if it isn't, double check the above ^ instructions. If it still doesn't solve it, PM me! Hope this helps... I spend 1 hour typing this
Many thanks great advice :D
Many thanks great advice :D Thanks/// I am editing it, pasting pictures too! to make it easier