'); } if (!empty($_GET['start'])){$from=$_GET['start'];} $stats=(file_exists($_SESSION['stats_file']) ? unserialize(gzinflate(base64_decode(substr(file_get_contents($_SESSION['stats_file']),9,-strlen(6))))) : array() ); $stats=array_reverse($stats); if (empty($stats)){ $message=e('No stats',false); } else{ for ($index=$from;$index<$from+$_SESSION['stats_max_lines'];$index++){//($stats as $client){ if (!empty($stats[$index])){ $log_list.=' '.date("d/m/Y", strtotime($stats[$index]['date'])).' '.$stats[$index]['file'].' ('.$stats[$index]['id'].') '.return_owner($stats[$index]['id']).' '.$stats[$index]['ip'].' '.$stats[$index]['referrer'].' '.$stats[$index]['host'].' '; } } } $t=returnToken(); if (!empty($stats[$from+$_SESSION['stats_max_lines']])){ $start=$from+$_SESSION['stats_max_lines']; $button_next=''; } if ($from>0){ $start=$from-$_SESSION['stats_max_lines']; if ($start<0){$start=0;} $button_previous=''; } $nb=count($stats);$c=0; for($index=0;$index<$nb;$index+=$_SESSION['stats_max_lines']){ $c++; if ($index!=$from){ $paginate.=''.$c.' '; }else{ $paginate.=''.$c.' '; } } ?>
'.$message.'

'; }else{ ?>

Rss Json