|
@@ 3270-3272 (lines=3) @@
|
| 3267 |
|
|
| 3268 |
|
if (($_POST['LONG_CONTROL'] == '') || ($_POST['NEW_PLACE_LONG'] == '') || ($_POST['NEW_PLACE_LATI'] == '')) { |
| 3269 |
|
$statement->execute(array($this->getHighestIndex() + 1, $placeid, $level, $_POST['NEW_PLACE_NAME'], null, null, $_POST['NEW_ZOOM_FACTOR'], $_POST['icon'])); |
| 3270 |
|
} else { |
| 3271 |
|
$statement->execute(array($this->getHighestIndex() + 1, $placeid, $level, $_POST['NEW_PLACE_NAME'], $_POST['LONG_CONTROL'][3] . $_POST['NEW_PLACE_LONG'], $_POST['LATI_CONTROL'][3] . $_POST['NEW_PLACE_LATI'], $_POST['NEW_ZOOM_FACTOR'], $_POST['icon'])); |
| 3272 |
|
} |
| 3273 |
|
|
| 3274 |
|
$controller->addInlineJavascript('closePopupAndReloadParent();'); |
| 3275 |
|
|
|
@@ 3285-3287 (lines=3) @@
|
| 3282 |
|
|
| 3283 |
|
if (($_POST['LONG_CONTROL'] == '') || ($_POST['NEW_PLACE_LONG'] == '') || ($_POST['NEW_PLACE_LATI'] == '')) { |
| 3284 |
|
$statement->execute(array($_POST['NEW_PLACE_NAME'], null, null, $_POST['NEW_ZOOM_FACTOR'], $_POST['icon'], $placeid)); |
| 3285 |
|
} else { |
| 3286 |
|
$statement->execute(array($_POST['NEW_PLACE_NAME'], $_POST['LATI_CONTROL'][3] . $_POST['NEW_PLACE_LATI'], $_POST['LONG_CONTROL'][3] . $_POST['NEW_PLACE_LONG'], $_POST['NEW_ZOOM_FACTOR'], $_POST['icon'], $placeid)); |
| 3287 |
|
} |
| 3288 |
|
|
| 3289 |
|
$controller->addInlineJavascript('closePopupAndReloadParent();'); |
| 3290 |
|
|