$_type_set_deliver_by_deliver = "set_deliver_by_deliver"; $_type_user_list_query = "user_list_query"; include_once '../Database/Database_Connection.php'; $databaseConnection = new Database_Connection(); $databaseConnection->createDatabase(); $_key_type = $_POST['_key_type']; if ($_key_type == 'user_request') { $_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'];