@@ -43,11 +43,11 @@ discard block |
||
| 43 | 43 | } |
| 44 | 44 | $mysqli->set_charset('utf8'); |
| 45 | 45 | $request = ""; |
| 46 | -if (isset($_GET['type'])){ |
|
| 46 | +if (isset($_GET['type'])) { |
|
| 47 | 47 | $request = $_GET['type']; |
| 48 | 48 | } |
| 49 | 49 | $postRequest = ""; |
| 50 | -if (isset($_POST['type'])){ |
|
| 50 | +if (isset($_POST['type'])) { |
|
| 51 | 51 | $postRequest = $_POST['type']; |
| 52 | 52 | $request= "postRequest"; |
| 53 | 53 | } |
@@ -531,8 +531,7 @@ discard block |
||
| 531 | 531 | </div> |
| 532 | 532 | </div> |
| 533 | 533 | </div>'; |
| 534 | - } |
|
| 535 | - else { |
|
| 534 | + } else { |
|
| 536 | 535 | $gymData['infoWindow'] .= ' |
| 537 | 536 | <div style="text-align: center; width: 50px; display: inline-block; margin-right: 3px"> |
| 538 | 537 | <a href="pokemon/'.$data->pokemon_id.'"> |
@@ -755,7 +754,7 @@ discard block |
||
| 755 | 754 | |
| 756 | 755 | break; |
| 757 | 756 | } |
| 758 | -if ($postRequest!=""){ |
|
| 757 | +if ($postRequest!="") { |
|
| 759 | 758 | switch ($postRequest) { |
| 760 | 759 | case 'pokemon_live': |
| 761 | 760 | $json=""; |