| Server IP : 194.61.116.167 / Your IP : 216.73.217.84 Web Server : Apache/2 System : Linux nimbus2000.evosiber.com 5.14.0-503.11.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 12 09:26:13 EST 2024 x86_64 User : evoplastik ( 1130) PHP Version : 8.1.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/evoplastik/public_html/wp-content/plugins/wp-optimize/templates/status/ |
Upload File : |
<?php if (!defined('WPO_VERSION')) die('No direct access allowed');
?>
<div class="notice notice-warning">
<p><?php esc_html_e('You can download and attach this system status information to your ticket when contacting support', 'wp-optimize'); ?></p>
<p>
<button id="wpo-show-status-report-btn" class="button-secondary"><?php esc_html_e('Show', 'wp-optimize'); ?></button>
<button id="wpo-copy-status-report-btn" class="button-secondary"><?php esc_html_e('Copy', 'wp-optimize'); ?></button>
<button id="wpo-download-status-report-btn" class="button-secondary"><?php esc_html_e('Download report', 'wp-optimize'); ?></button><div id="wpo-copy-action-result"></div>
</p>
<div id="report_container"></div>
</div>
<div id="wpo-server-info">
<?php
$markdown_report = '';
foreach ($report_data as $block) :
$main_title = $block['title'];
$markdown_report .= "### $main_title ###\n\n";
?>
<h2><?php echo esc_html($main_title); ?></h2>
<table class="wp-list-table widefat fixed striped table-view-list wp-optimize_page_wpo_settings">
<?php
foreach ($block['items'] as $info) :
$title = wp_strip_all_tags($info['title']);
$value = $info['value'];
$markdown_value = isset($info['markdown_value']) ? $info['markdown_value'] : $value;
?>
<tr>
<td><?php echo esc_html($title); ?></td>
<td><?php echo $value; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output already escaped ?></td>
</tr>
<?php
$markdown_report .= $title . ': ' . esc_html(wp_strip_all_tags($markdown_value)) . "\n";
endforeach;
$markdown_report .= "\n";
?>
</table>
<?php
endforeach;
?>
<textarea name="server_info_report" id="wpo-server-info-report" cols="30" rows="10"><?php
echo $markdown_report; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output already escaped
?></textarea>
</div>