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