Event IP Information'; $ans = eventCmd($user, array('action' => 'ips')); $pg .= "\n"; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= "\n"; if ($ans['STATUS'] == 'ok') { $pg .= ''; $count = $ans['rows']; for ($i = 0; $i < $count; $i++) { if (($i % 2) == 0) $row = 'even'; else $row = 'odd'; $j = $i+1; $pg .= ""; $pg .= ""; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= ''; $pg .= "\n"; } $pg .= ''; } $pg .= "
#GroupIPNameIs?LifetimeLogDescUTC
$j'.$ans['group:'.$i].''.$ans['ip:'.$i].''.$ans['eventname:'.$i].''.$ans['is_event:'.$i].''.$ans['lifetime:'.$i].''.$ans['log:'.$i].''.$ans['description:'.$i].''.gmdate('j/M H:i:s',$ans['createdate:'.$i]).'
\n"; return $pg; } # function show_ips($info, $page, $menu, $name, $user) { gopage($info, NULL, 'doips', $page, $menu, $name, $user); } # ?>