2 require_once('require/class.Connection.php');
3 require_once('require/class.Spotter.php');
4 require_once('require/class.Language.php');
6 if (isset($_POST['aircraft_manufacturer']) && $_POST['aircraft_manufacturer'] != '')
8 $aircraft_manufacturer = filter_input(INPUT_POST
,'aircraft_manufacturer',FILTER_SANITIZE_STRING
);
9 header('Location: '.$globalURL.'/manufacturer/'.$aircraft_manufacturer);
10 } elseif (isset($_GET['aircraft_manufacturer']) && $_GET['aircraft_manufacturer'] != '')
12 $aircraft_manufacturer = filter_input(INPUT_GET
,'aircraft_manufacturer',FILTER_SANITIZE_STRING
);
13 header('Location: '.$globalURL.'/manufacturer/'.$aircraft_manufacturer);
15 if ($globalURL == '') {
16 header('Location: /');
18 header('Location: '.$globalURL);