"><i class="icon-white icon-search fa fa-search"></i> View</a> <a class="btn btn-sm btn-default" href="?remove=<?php echo $session['id']; ?> "><i class="icon-times icon-remove fa fa-times"></i> Remove</a> </td> </tr> <?php } ?> </tbody> </table> </div> <div class="pager pagination"> <span class="text-muted muted"> <?php echo strtr('Showing {offset} - {end} of {total}', array('{offset}' => EurekaProfiler_Tools::readable_number($offset), '{end}' => EurekaProfiler_Tools::readable_number($offset + count($sessions)), '{total}' => EurekaProfiler_Tools::readable_number($total))); ?> </span> <a class="prev btn btn-small" rel="prev nofollow" href="?offset=<?php echo max($offset - $per_page, 0); ?> ">«</a> <a class="next btn btn-small" rel="next nofollow" href="?offset=<?php echo min($offset + $per_page, $total - 1); ?> ">»</a> </div> <?php }
function render_included(EurekaProfiler_Session $session, $tab) { ?> <table class="summary"> <tr> <td style="background: <?php echo $tab['color']; ?> ;"> <h3><?php echo EurekaProfiler_Tools::readable_number(count($session->loaded_files)); ?> </h3> <h4>Total files</h4> </td> </tr> <tr> <td style="background: <?php echo $tab['alternate']; ?> ;"> <h3><?php echo EurekaProfiler_Tools::readable_size($session->total_included_size()); ?> </h3> <h4>Total size</h4> </td> </tr> <tr> <td class="border" style="background: <?php echo $tab['color']; ?> ;padding-top:0"> <?php $chart_rows = array(); foreach ($session->loaded_files as $file) { $chart_rows[] = array($file->path, $file->size); } echo render_chart($chart_rows, 'File'); ?> <h4>Size chart</h4> </td> </tr> </table> <div class="data-wrapper"> <table class="data"> <?php $show = array(); foreach ($session->loaded_files as $file) { $show[$file->path] = EurekaProfiler_Tools::readable_size($file->size); } basic_row('', $show); ?> </table> </div> <?php }