<!-- Counter Start-->
<?php 
global $redux_demo;
$counterDisable = $redux_demo['homev3-counter-disable'];
$CounterBG = $redux_demo['homev3-counter-bg']['url'];
$counterTitle = $redux_demo['homev3-counter-title'];
$counterDesc = $redux_demo['homev3-counter-desc'];
$counterAds = $redux_demo['homev3-counter-ads'];
$counterAdsIcon = $redux_demo['homev3-counter-ads-icon'];
$counterLocation = $redux_demo['homev3-counter-location'];
$counterLocationIcon = $redux_demo['homev3-counter-location-icon'];
$counterMembers = $redux_demo['homev3-counter-members'];
$counterMembersIcon = $redux_demo['homev3-counter-members-icon'];
$counterCustomers = $redux_demo['homev3-counter-customers'];
$counterCustomersIcon = $redux_demo['homev3-counter-customers-icon'];

$trnscounterAds = $redux_demo['trns-counter-ads-item'];
$trnscounterLoc = $redux_demo['trns-counter-locations'];
$trnscounterMem = $redux_demo['trns-counter-members'];
$trnscounterCus = $redux_demo['trns-counter-customers'];

if($counterDisable == 1){
?>
<section class="counter" style="background: url(<?php echo $CounterBG; ?>);">
	<div class="row">
		<div class="mainHeading colorHeading">
            <div class="large-6 medium-8 large-centered medium-centered columns">
                <h4><?php echo $counterTitle; ?></h4>
                <p><?php echo $counterDesc; ?></p>
            </div>
        </div><!-- End mainHeading-->
	</div><!-- End Row-->
	<div class="row">
        <div class="large-3 columns">
            <div class="counting">
                <div class="icon">
                    <span><?php echo $counterAdsIcon; ?></span>
                </div>
                <div class="desc">
                    <div class='numscroller numscroller-big-bottom' data-slno='1' data-min='0' data-max='<?php echo $counterAds; ?>' data-delay='10' data-increment="9">0</div>
                    <p><?php echo $trnscounterAds; ?></p>
                </div>
            </div>
        </div>
        <div class="large-3 columns">
            <div class="counting">
                <div class="icon">
                    <span><?php echo $counterLocationIcon; ?></span>
                </div>
                <div class="desc">
                    <div class='numscroller numscroller-big-bottom' data-slno='1' data-min='0' data-max='<?php echo $counterLocation; ?>' data-delay='10' data-increment="9">0</div>
                    <p><?php echo $trnscounterLoc; ?></p>
                </div>
            </div>
        </div>
        <div class="large-3 columns">
            <div class="counting">
                <div class="icon">
                    <span><?php echo $counterMembersIcon; ?></span>
                </div>
                <div class="desc">
                    <div class='numscroller numscroller-big-bottom' data-slno='1' data-min='0' data-max='<?php echo $counterMembers; ?>' data-delay='10' data-increment="9">0</div>
                    <p><?php echo $trnscounterMem; ?></p>
                </div>
            </div>
        </div>
        <div class="large-3 columns">
            <div class="counting">
                <div class="icon">
                    <span><?php echo $counterCustomersIcon; ?></span>
                </div>
                <div class="desc">
                    <div class='numscroller numscroller-big-bottom' data-slno='1' data-min='0' data-max='<?php echo $counterCustomers; ?>' data-delay='10' data-increment="9">0</div>
                    <p><?php echo $trnscounterCus; ?></p>
                </div>
            </div>
        </div>
    </div>
</section>
<?php } ?>
<!-- Counter End-->