| 1 |
<?php |
| 2 |
// |
| 3 |
function pa_include_mobile( $current, $mobile_stats ) { |
| 4 |
|
| 5 |
?> |
| 6 |
<div class="data_boxes"> |
| 7 |
<div class="data_boxes_title "><?php echo _e( 'Mobile Devices Statistics', 'wp-analytify'); ?> <div class="arrow_btn"></div></div> |
| 8 |
<div class="data_container"> |
| 9 |
<?php |
| 10 |
if (! empty( $mobile_stats["rows"] ) ) { ?> |
| 11 |
<div class="names_grids"> |
| 12 |
<?php foreach ($mobile_stats["rows"] as $m_stats){ ?> |
| 13 |
<div class="stats"> |
| 14 |
<div class="row-visits"> |
| 15 |
<span class="large-count"><?php echo $current->wpa_number_format( $m_stats[1] ); ?></span> |
| 16 |
Visits |
| 17 |
</div> |
| 18 |
<div class="visits-count"> |
| 19 |
<i><?php echo $m_stats[0];?> </i> |
| 20 |
</div> |
| 21 |
</div> |
| 22 |
<?php } ?> |
| 23 |
|
| 24 |
</div> |
| 25 |
<?php } ?> |
| 26 |
</div> |
| 27 |
<div class="data_boxes_footer"> |
| 28 |
<span class="blk"> |
| 29 |
<span class="dot"></span> |
| 30 |
<span class="line"></span> |
| 31 |
</span> |
| 32 |
<span class="information-txt">Listing statistics of Mobile usage.</span> |
| 33 |
</div> |
| 34 |
</div> |
| 35 |
<?php } ?> |