';print_r($property);echo ''; if ( is_array( $property ) && sizeof( $property ) > 0 ) { $location = $abprf_infos['location'] ?? ''; $start_time = $abprf_infos['start_time'] ?? ''; $end_time = $abprf_infos['end_time'] ?? ''; $post_id = $property['post_id'] ?? ''; $cat_id = ABPRF_Function::get_post_info( $post_id, 'abprf_category' ); $loc_id = ABPRF_Function::get_post_info( $post_id, 'abprf_location' ); $brand_id = $property['brand'] ?? ''; $rent_rule = $property['rent_rule'] ?? ''; $price_qty_info = json_decode( $property['price_qty_info'] ?? '', true ) ?: []; if ( ! empty( $location ) && isset( $price_qty_info[ $location ] ) ) { $price_qty_info = $price_qty_info[ $location ]; } $price_info = $price_qty_info[ $rent_rule ] ?? []; $others = json_decode( $property['others'] ?? '', true ) ?: []; if ( ! empty( $rent_rule ) && ! empty( $price_info ) ) { $time_duration = ABPRF_Function::time_duration( $abprf_infos, $price_info ); $total_price = ABPRF_Function::get_price( $abprf_infos, $property, $time_duration ); $property_name = $property['name'] ?? ''; $abprf_infos['property_name'] = $property_name; $abprf_infos['property_id'] = $property['id'] ?? ''; //echo '
';print_r($property );echo ''; ?>