| Server IP : 68.178.247.200 / Your IP : 216.73.217.50 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/public_html/wp-content/plugins/wordfence/views/common/ |
Upload File : |
<?php
if (!defined('WORDFENCE_VERSION')) { exit; }
/**
* Expects $id, $diameter (in pixels), $percentage (as decimal value), $inactiveColor, and $activeColor to be defined.
* $animateIn is optional and defaults to true.
* $strokeWidth is option and defaults to 3 (pixels).
*
* @var string $id
*/
if (!isset($animateIn)) { $animateIn = true; }
if (!isset($strokeWidth)) { $strokeWidth = 3; }
$strokeWidth = intval($strokeWidth);
$diameter = intval($diameter);
?>
<div id="<?php echo esc_attr($id); ?>" class="wf-status-circular"></div>
<script type="application/javascript">
(function($) {
$('#<?php echo esc_attr($id); ?>').wfCircularProgress({
endPercent: <?php echo $percentage; ?>,
color: '<?php echo esc_attr($activeColor); ?>',
inactiveColor: '<?php echo esc_attr($inactiveColor); ?>',
strokeWidth: <?php echo $strokeWidth; ?>,
diameter: <?php echo $diameter; ?>,
});
})(jQuery);
</script>