/* * 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; } } } } }
Oh i got a question relating to sales...
1. Can we sell aircraft to alliance members for an even cheaper price than the minimum price given?
2. The minimum price is set to 50% that of the aircrafts value, is it not? Therefore, if we could have a minimum for alliance members like 60% - 70% would it not grant possibilities and helping guides to those of our alliance. I think yes.
Of course the minimum would have to be not to low so as not to produce a certain, perhaps cheating ability.
Quote from: "sam051"Oh i got a question relating to sales...
1. Can we sell aircraft to alliance members for an even cheaper price than the minimum price given?
2. The minimum price is set to 50% that of the aircrafts value, is it not? Therefore, if we could have a minimum for alliance members like 60% - 70% would it not grant possibilities and helping guides to those of our alliance. I think yes.
Of course the minimum would have to be not to low so as not to produce a certain, perhaps cheating ability.
1. No. 50% is 50%. for all sales
2. 50% is cheaper than 60% or 70% of the same value :roll: