

<?php foreach ($data['magic_feat'] as $slug=>$array):?>

    <div class="ulp-magic-box-wrap <?php if ( $array['disabled']) echo 'ulp-disabled-box';?> ">

        <a href="<?php echo $array ['link'];?>">

          <div class="ulp-magic-feature <?php echo $slug;?> <?php if ( $array ['link'] == '#') echo 'ulp-magic-feat-not-available'; ?> ">

              <div class="ulp-magic-box-icon"><i class="<?php echo 'fa-ulp fa-' . $slug . '-ulp';?>"></i></div>

              <div class="ulp-magic-box-title"><?php echo $array['label'];?></div> 

              <div class="ulp-magic-box-desc"><?php echo $array['description'];?></div>

          </div>

        </a>

    </div>

<?php endforeach;?>

