File: /home/slyfwmm/pianob/wp-content/plugins/cmssuperheroes/templates/cms_progressbar.php
<?php
$icon_name = "icon_" . $atts['icon_type'];
$iconClass = isset($atts[$icon_name])?$atts[$icon_name]:'';
?>
<div class="cms-progress-wraper <?php echo esc_attr($atts['template']);?>" id="<?php echo esc_attr($atts['html_id']);?>">
<div class="row cms-progress-body">
<?php
$item_class = 'cms-progress-item-wrap';
$item_title = $atts['item_title'];
$show_value = ($atts['show_value']=='true')?true:false;
$value = $atts['value'];
$value_suffix = $atts['value_suffix'];
$bg_color = $atts['bg_color'];
$color = $atts['color'];
$width = $atts['width'];
$height = $atts['height'];
$border_radius = $atts['border_radius'];
$vertical = ($atts['mode']=='vertical')?true:false;
$striped = ($atts['striped']=='yes')?true:false;
?>
<div class="<?php echo esc_attr($item_class);?>">
<?php if($iconClass):?>
<i class="<?php echo esc_attr($iconClass);?>"></i>
<?php endif;?>
<?php if($item_title):?>
<div class="cms-progress-title">
<?php echo apply_filters('the_title',$item_title);?>
</div>
<?php endif;?>
<div class="cms-progress progress<?php if($vertical){ echo ' vertical bottom'; } ?> <?php if($striped){echo ' progress-striped';}?>"
style="background-color:<?php echo esc_attr($bg_color);?>;
width:<?php echo esc_attr($width);?>;
height:<?php echo esc_attr($height);?>;
border-radius:<?php echo esc_attr($border_radius);?>;
" >
<div id="item-<?php echo esc_attr($atts['html_id']); ?>"
class="progress-bar" role="progressbar"
data-valuetransitiongoal="<?php echo esc_attr($value); ?>"
style="background-color:<?php echo esc_attr($color);?>;"
>
<span>
<?php if($show_value): ?>
<?php echo esc_attr($value.$value_suffix);?>
<?php endif; ?>
</span>
</div>
</div>
</div>
</div>
</div>