/home/vianto5/distritosatelite.mx/wp-content/plugins/advanced-form-integration/views
NameSizeModeActions
partials/-0755rm
edit_integration.php110610644editdlrm
get_help.php414740644editdlrm
import_export.php96520644editdlrm
new_integration.php25390644editdlrm
settings.php50230644editdlrm
view_log.php135630644editdlrm
Edit: /home/vianto5/distritosatelite.mx/wp-content/plugins/advanced-form-integration/views/view_log.php (13563B)
get_row( $log->db->prepare( "SELECT * FROM {$log->table} WHERE id = %d", $id ) ); // Guard: log not found if ( empty( $result ) ) { echo '

'; /* translators: %d: log ID */ printf( esc_html__( 'Log #%d was not found.', 'advanced-form-integration' ), absint( $id ) ); echo '

'; return; } $integration_id = isset( $result['integration_id'] ) && $result['integration_id'] ? $result['integration_id'] : ''; $request_data = isset( $result['request_data'] ) && $result['request_data'] ? json_decode( $result['request_data'], true ) : ''; $response_code = isset( $result['response_code'] ) && $result['response_code'] ? $result['response_code'] : ''; $response_data = isset( $result['response_data'] ) && $result['response_data'] ? json_decode( $result['response_data'], true ) : ''; $response_message = isset( $result['response_message'] ) && $result['response_message'] ? $result['response_message'] : ''; $time = isset( $result['time'] ) && $result['time'] ? $result['time'] : ''; $resend_nonce = wp_create_nonce( 'adfoin-resend-log' ); $delete_url = wp_nonce_url( admin_url( 'admin.php?page=advanced-form-integration-log&action=delete&id=' . absint( $id ) ), 'bulk-logs' ); // Check whether the integration still exists $integration_title = ''; if ( $integration_id ) { $post = get_post( absint( $integration_id ) ); if ( $post && ! is_wp_error( $post ) ) { $integration_title = get_the_title( $post ); } } $full_log = array( 'log_id' => absint( $id ), 'integration_id' => $integration_id, 'response_code' => $response_code, 'response_message' => $response_message, 'request_data' => $request_data, 'response_data' => $response_data, 'time' => $time, ); // Response code CSS class $code_class = ''; if ( $response_code >= 200 && $response_code < 300 ) { $code_class = 'success'; } elseif ( $response_code >= 400 || ( ! empty( $response_code ) && ! is_numeric( $response_code ) ) ) { $code_class = 'error'; } ?>
# #


                    
get_var( $wpdb->prepare( "SELECT id FROM {$log->table} WHERE id < %d ORDER BY id DESC LIMIT 1", $id ) ); $next_log_id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$log->table} WHERE id > %d ORDER BY id ASC LIMIT 1", $id ) ); ?>