$_user_name = $_POST['_user_name']; $_password = $_POST['_password']; $_key = $_POST['_key_scudsbook']; $databaseConnection->logInFromMobile($_key, $_user_name, $_password, "", "", "", "", "", "", "", "", ""); } else { if ($_key_type == $_user_admin_key) { $_key = $_POST['_key_scudsbook']; $_user_name = $_POST['_user_name']; $databaseConnection->queryAmdin($_key, $_user_name); } else { if ($_key_type == $_type_location) { $_key = $_POST['_key_scudsbook']; $_user_name = $_POST['_user_name']; $_lat = $_POST['_location_lat']; $_lan = $_POST['_location_lan']; $databaseConnection->userLocationUpdate($_key, $_user_name, $_lat, $_lan); } else { if ($_key_type == $_type_location_query) { $_key = $_POST['_key_scudsbook']; $_user_name = $_POST['_user_name']; $databaseConnection->queryAddress($_key, $_user_name); } else { if ($_key_type == $_type_order_info_update) { $_key = $_POST['_key_scudsbook']; $_user_name = $_POST['_user_name']; $order_id = $_POST['key_order_info_id']; $order_customer_name = $_POST['key_order_info_customer_name']; $order_customer_phone = $_POST['key_order_info_customer_phone']; $order_distance = $_POST['key_order_info_distance']; $order_address = $_POST['key_order_info_address']; $order_city = $_POST['key_order_info_city'];