<?php echo truncate_number($data['current_pi_count']); ?> PIs <?php echo upDownArrow($data['pi_count_delta']); ?> <?php echo absOrInfinity($data['pi_count_delta']); ?> <small> %</small> </div> <div class="small" style="color: #707275;"> <?php echo absOrInfinity($data['current_conversion']); ?> <small> %</small> Conversion </div> <?php } ?> </section> <footer> Powered by @ <?php if (isset($powered_by)) { echo $powered_by; } else { echo "Spreadly"; }
</section></header> <section class="widget-data-section"> <div class="large"><?php echo truncate_number($data['current_' . $type . '_count']); ?> </div> <div class="bigger <?php echo upDownClass($data[$type . '_count_delta']); ?> "> <?php echo upDownArrow($data[$type . '_count_delta']); ?> <?php echo absOrInfinity($data[$type . '_count_delta']); ?> <small> %</small> </div> </section> <footer> Powered by @ <?php if (isset($powered_by)) { echo $powered_by; } else { echo "Spreadly"; } ?> </footer> </div>