Server IP : 172.24.0.40 / Your IP : 216.73.216.10 Web Server : Apache System : Linux dbweb26.ust.edu.ph 4.18.0-513.5.1.el8_9.x86_64 #1 SMP Fri Sep 29 05:21:10 EDT 2023 x86_64 User : apache ( 48) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tomas/public_html/wp-content/plugins/wp-optimize/templates/images/ |
Upload File : |
<?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?> <a class="wpo-collapsible"><?php esc_html_e('More', 'wp-optimize'); ?></a> <div class="wpo-collapsible-content"> <table class="smush-details"> <thead> <tr> <th><?php esc_html_e('Size name', 'wp-optimize'); ?></th> <th><?php esc_html_e('Original', 'wp-optimize'); ?></th> <th><?php esc_html_e('Compressed', 'wp-optimize'); ?></th> <th></th> </tr> </thead> <tbody> <?php foreach ($sizes_info as $size => $info) { $saved = round((($info['original'] - $info['compressed']) / $info['original'] * 100), 2); ?> <tr> <td><?php echo esc_html($size); ?></td> <td><?php echo esc_html(WP_Optimize()->format_size($info['original'], 1)); ?></td> <td><?php echo esc_html(WP_Optimize()->format_size($info['compressed'], 1)); ?></td> <td><?php echo esc_html($saved); ?>%</td> </tr> <?php } ?> </tbody> </table> </div>