Product Statistics'; $stats = Mirror::get_product_stats(); $_GET['sort']=(!empty($_GET['sort']))?$_GET['sort']:'count'; $_GET['order']=(!empty($_GET['order']))?$_GET['order']:'DESC'; $stats=array_order_by($stats,$_GET['sort'],$_GET['order']); $headers = array( 'count'=>'Hits', 'product_name'=>'Product' ); ListOut::show($stats,$headers,'simple'); require_once(FOOTER);