@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | $spotter_array = $Spotter->getSpotterDataByPilot($pilot,"0,1", $sort,$filter); |
| 18 | 22 | |
| 19 | 23 | if (!empty($spotter_array)) |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | |
| 18 | 22 | $spotter_array = $Spotter->getSpotterDataByOwner($owner,"0,1", $sort,$filter); |
| 19 | 23 | |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | $spotter_array = $Spotter->getSpotterDataByOwner($owner,"0,1", $sort, $filter); |
| 18 | 22 | |
| 19 | 23 | if (!empty($spotter_array)) |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | if ($sort != '') { |
| 18 | 22 | $spotter_array = $Spotter->getSpotterDataByPilot($pilot,"0,1", $sort,$filter); |
| 19 | 23 | } else { |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | $spotter_array = $Spotter->getSpotterDataByOwner($owner,"0,1", $sort,$filter); |
| 18 | 22 | |
| 19 | 23 | if (!empty($spotter_array)) |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | $spotter_array = $Spotter->getSpotterDataByPilot($pilot,"0,1", $sort,$filter); |
| 18 | 22 | |
| 19 | 23 | if (!empty($spotter_array)) |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | $spotter_array = $Spotter->getSpotterDataByPilot($pilot,"0,1", $sort,$filter); |
| 18 | 22 | |
| 19 | 23 | if (!empty($spotter_array)) |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | $spotter_array = $Spotter->getSpotterDataByOwner($owner,"0,1", $sort,$filter); |
| 18 | 22 | |
| 19 | 23 | if (!empty($spotter_array)) |
@@ -12,8 +12,12 @@ |
||
| 12 | 12 | $year = filter_input(INPUT_GET,'year',FILTER_SANITIZE_NUMBER_INT); |
| 13 | 13 | $month = filter_input(INPUT_GET,'month',FILTER_SANITIZE_NUMBER_INT); |
| 14 | 14 | $filter = array(); |
| 15 | -if ($year != '') $filter = array_merge($filter,array('year' => $year)); |
|
| 16 | -if ($month != '') $filter = array_merge($filter,array('month' => $month)); |
|
| 15 | +if ($year != '') { |
|
| 16 | + $filter = array_merge($filter,array('year' => $year)); |
|
| 17 | +} |
|
| 18 | +if ($month != '') { |
|
| 19 | + $filter = array_merge($filter,array('month' => $month)); |
|
| 20 | +} |
|
| 17 | 21 | $spotter_array = $Spotter->getSpotterDataByOwner($owner,"0,1", $sort,$filter); |
| 18 | 22 | |
| 19 | 23 | if (!empty($spotter_array)) |