HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/inc/widgets/counter-box/tpl/default.php
<?php
/**
 * Template for displaying default element.
 *
 *
 * @author      ThimPress
 * @package     Thim_Builder/Templates
 * @version     1.0.0
 * @author      Thimpress, tuanta
 */

$html         = $style_number = '';
$number_color = $label_color = $border_color = $counter_list = '';

$counter_list = isset( $instance['counter_list'] ) ? $instance['counter_list'] : array();



$html .= '<div class="thim-sc-counter-box">';
$html .= '<div class="wrapper-counter-box" ' . ent2ncr( $border_color ) . ' >';
foreach ( $counter_list as $key => $value ) {
	if ( $value['text_color'] ) {
		$style_number .= 'color:' . $value['text_color'] . '; ';
	}
	$html .= '<div class="counter-box-item" ' . ent2ncr( $border_color ) . '>
	<div class="number" style="' . esc_attr( $style_number ) . '"><span class="counter-up" data-number="' . $value['number'] . '">0</span></div>
	<div class="text" style="' . esc_attr( $style_number ) . '" ' . ent2ncr( $label_color ) . '>
		' . esc_attr( $value['label'] ) . '</div>
	</div>';
}
$html .= '</div>';
$html .= '</div>';

echo ent2ncr( $html );