| Server IP : 65.109.86.83 / Your IP : 216.73.216.84 Web Server : nginx/1.14.1 System : Linux libra 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 20:24:04 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/thrive-quiz-builder/thrive-dashboard/inc/webhooks/views/ |
Upload File : |
<?php /** @var array $rows */ ?>
<h2><?php echo esc_html__( 'Logs', 'thrive-dash' ); ?></h2>
<table class="widefat fixed striped">
<thead>
<tr>
<th><?php echo esc_html__( 'Time', 'thrive-dash' ); ?></th>
<th><?php echo esc_html__( 'Status', 'thrive-dash' ); ?></th>
<th><?php echo esc_html__( 'Duration (ms)', 'thrive-dash' ); ?></th>
<th><?php echo esc_html__( 'Details', 'thrive-dash' ); ?></th>
</tr>
</thead>
<tbody>
<?php if ( empty( $rows ) ) : ?>
<tr><td colspan="4"><?php echo esc_html__( 'No logs yet.', 'thrive-dash' ); ?></td></tr>
<?php else : foreach ( $rows as $row ) : ?>
<tr>
<td><?php echo esc_html( $row['timestamp'] ?? '' ); ?></td>
<td><?php echo esc_html( (string) ( $row['status_code'] ?? '' ) ); ?></td>
<td><?php echo esc_html( (string) ( $row['duration_ms'] ?? '' ) ); ?></td>
<td>
<details>
<summary><?php echo esc_html__( 'View', 'thrive-dash' ); ?></summary>
<pre><?php echo esc_html( print_r( $row, true ) ); ?></pre>
</details>
</td>
</tr>
<?php endforeach; endif; ?>
</tbody>
</table>