The A-Z of the Broker Market / Re: HVM - Hollandse Vliegtuig Maatschappij [#2226]
« on: March 01, 2012, 04:36:29 pm »
HVM World #2226 Lease Deals
/* * 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; } } } } }
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Seriously though, it's a good suggestion that would, IMO, add to the feel of the game, but getting those pictures for the 800-something individual aircraft we have in our database, not counting all engine options, without copyright issues is not realisticly possible I think.

It works now. It was just that it showed all routes at once, instead of showing ten at the time.
Also, the sorting logic seems weird. I want to sort by plane, then by profit (*vegetable*f-clicking on both), but the profit sorting begins at 100k, regardless if it's ascending or descending. Screenshots here:
One last question will it be possible to select to view all routes in one table, like the old version, but with the new features?



