HEX
Server: Apache
System: Linux uws7-179.cafe24.com 3.10.0-1160.119.1p.el7.x86_64 #1 SMP Thu Sep 11 14:15:01 KST 2025 x86_64
User: medikors (1589)
PHP: 7.3.1p1
Disabled: mysql_pconnect
Upload Files
File: /medikors/www/eng/wp-content/plugins/jet-elements/templates/jet-circle-progress/global/index.php
<?php
/**
 * Circle progress template
 */
$perc_position   = $this->get_settings_for_display( 'percent_position' );
$labels_position = $this->get_settings_for_display( 'labels_position' );

$this->add_render_attribute( 'circle-wrap', array(
	'class'         => 'circle-progress-wrap',
	'data-duration' => $this->get_settings_for_display( 'duration' ),
) );

$this->add_render_attribute( 'circle-bar', array(
	'class' => 'circle-progress-bar',
) );

?>
<div <?php echo $this->get_render_attribute_string( 'circle-wrap' ); ?>>
	<div <?php echo $this->get_render_attribute_string( 'circle-bar' ); ?>>
	<?php
		include $this->__get_global_template( 'circle' );
		if ( 'in-circle' === $perc_position || 'in-circle' === $labels_position ) {
			echo '<div class="position-in-circle">';
			$this->__processed_item = 'in-circle';
			include $this->__get_global_template( 'counter' );
			echo '</div>';
		}
	?>
	</div>
	<?php
		if ( 'out-circle' === $perc_position || 'out-circle' === $labels_position ) {
			echo '<div class="position-below-circle">';
			$this->__processed_item = 'out-circle';
			include $this->__get_global_template( 'counter' );
			echo '</div>';
		}

		$this->__processed_item = false;
	?>
</div>