break; case 'deleteGPPage': if (!$api->ifUserLogined()) { echo 'reload'; } if (isset($_POST['accountID']) && isset($_POST['pages'])) { echo $api->deleteGPPage($_POST['accountID'], $_POST['pages']); } else { echo 'error'; } break; case 'verifyPinterestLoginAndBoards': if (!$api->ifUserLogined()) { echo 'reload'; } echo $api->verifyPinterestLoginAndBoards($_POST['text2'], $_POST['encText2'], $_POST['encTextUser']); break; case 'addPinterestAccount': if (!$api->ifUserLogined()) { echo 'reload'; } echo $api->addPinterestAccount('1', $_POST['text2'], $_POST['encText2'], $_POST['username']); break; case 'getGeocode': if (!$api->ifUserLogined()) { echo 'reload'; } if (isset($_POST['address'])) { echo $api->getGeocode($_POST['address']); } else { echo 'error';