rendered paste body<table class="cake-sql-log" summary="Cake SQL Log" cellspacing="0" border = "0">
<thead>
<tr>
<th><?php echo $paginator->sort('ID', 'id');?></th>
<th>CC</th>
<th><?php echo $paginator->sort('IP', 'ipaddress');?></th>
<th><?php echo $paginator->sort('Time of visit', 'created');?></th>
</tr>
</thead>
<tbody>
<?php
foreach ( $hitsData[0] as $key => $value ) {
echo '
<tr onmouseover="document.getElementById(\'inline_detail_'.$value['Hit']['id'].'\').style.display=\'block\';" onmouseout="document.getElementById(\'inline_detail_'.$value['Hit']['id'].'\').style.display=\'none\';">
<td style="text-align:center;">'.$value['Hit']['id'].'</td>
<td style="text-align:center;">'.$html->image('flags/'.$value['Ip2country']['cc'].'.gif').'</td>
<td style="text-align:center;">'.long2ip($hitsData[1][$value['Hit']['id']]['Hit']['ipaddress']).'</td>
<td>'.$value['Hit']['created'].'</td>
</tr>
<tr id="inline_detail_'.$value['Hit']['id'].'" style="display:none;">
<td colspan="5" style="border-top:1px solid #ccc;border-bottom:1px solid #aaa;">
<!-- Just a summery detail here -->
IP Address: '.long2ip($hitsData[1][$value['Hit']['id']]['Hit']['ipaddress']).'<br>
Browser: '.$hitsData[1][$value['Hit']['id']]['Misc']['browser'].'<br>
Time of visit: '.$value['Hit']['created'].'<Br>
</td>
</tr>';
}
?>
</tbody>
</table>