Event IP Information'; $ans = eventCmd($user, array('action' => 'ips')); $pg .= "
# | '; $pg .= 'Group | '; $pg .= 'IP | '; $pg .= 'Name | '; $pg .= 'Is? | '; $pg .= 'Lifetime | '; $pg .= 'Left | '; $pg .= 'Log | '; $pg .= 'Desc | '; $pg .= 'UTC | '; $pg .= "
$j | "; $pg .= ''.$ans['group:'.$i].' | '; $pg .= ''.$ans['ip:'.$i].' | '; $pg .= ''.$ans['eventname:'.$i].' | '; $pg .= ''.$ans['is_event:'.$i].' | '; $pg .= ''.$ans['lifetime:'.$i].' | '; $exp = $ans['lifetime:'.$i]; if ($exp == 0) $dxp = '∞'; else { $exp += $ans['createdate:'.$i]; if ($exp <= $now) $dxp = 'Exp'; else { $exp -= $now; $dxp = $exp . 's'; } } $pg .= ''.$dxp.' | '; $pg .= ''.$ans['log:'.$i].' | '; $pg .= ''.$ans['description:'.$i].' | '; $pg .= ''.gmdate('j/M H:i:s',$ans['createdate:'.$i]).' | '; $pg .= "