allowance(Cloud::SVC_IMG_OPTM); $__img_optm = Img_Optm::cls(); $wet_limit = $__img_optm->wet_limit(); $img_count = $__img_optm->img_count(); $optm_summary = Img_Optm::get_summary(); list($last_run, $is_running) = $__img_optm->cron_running(false); $finished_percentage = 0; if ($img_count['groups_all']) $finished_percentage = 100 - floor($img_count['groups_new'] * 100 / $img_count['groups_all']); if ($finished_percentage == 100 && $img_count['groups_new']) { $finished_percentage = 99; } $unfinished_num = 0; if (!empty($img_count['img.' . Img_Optm::STATUS_REQUESTED])) { $unfinished_num += $img_count['img.' . Img_Optm::STATUS_REQUESTED]; } if (!empty($img_count['img.' . Img_Optm::STATUS_NOTIFIED])) { $unfinished_num += $img_count['img.' . Img_Optm::STATUS_NOTIFIED]; } if (!empty($img_count['img.' . Img_Optm::STATUS_ERR_FETCH])) { $unfinished_num += $img_count['img.' . Img_Optm::STATUS_ERR_FETCH]; } ?>

' . intval($allowance) . ''); ?>

' . $wet_limit . ''; ?>

:

: ()

: ()

: ()

' . Utility::readable_time($last_run) . ''); ?>

: ()

 %4$s', ($unfinished_num ? Utility::build_url(Router::ACTION_IMG_OPTM, Img_Optm::TYPE_CLEAN) : 'javascript:;'), __('Remove all previous unfinished image optimization requests.', 'litespeed-cache'), ($unfinished_num ? '' : ' disabled'), __('Clean Up Unfinished Data', 'litespeed-cache') . ($unfinished_num ? ': ' . Admin_Display::print_plural($unfinished_num, 'image') : '') ); ?>

' . Utility::readable_time($optm_summary['bk_summary']['date']) . ''; ?>

' . intval($optm_summary['bk_summary']['count']) . ''; ?>

' . Utility::real_size($optm_summary['bk_summary']['sum']) . ''; ?>

get_image_sizes() as $title => $size) { echo "
$title ( " . ($size['width'] ? $size['width'] . 'px' : '*') . ' x ' . ($size['height'] ? $size['height'] . 'px' : '*') . ' )
'; }; ?>

🚨 

' . Utility::readable_time($optm_summary['rmbk_summary']['date']) . ''; ?>

' . $optm_summary['rmbk_summary']['count'] . ''; ?>

' . Utility::real_size($optm_summary['rmbk_summary']['sum']) . ''; ?>

:

:
:

:

:

:

: