Event Information';
$wh = getparam('what', false);
if (nuem($wh))
$wh = '';
$pg = '
'.makeForm('events')."
What:
";
if ($wh == 'settings')
{
$ans = eventCmd($user, array('action' => 'settings'));
$other = array('event_limits_hash_lifetime',
'ovent_limits_ipc_factor');
$pg .= "
# | '; $pg .= 'Name | '; $pg .= 'Value | '; $pg .= "
$i | "; $pg .= "$name | "; $pg .= ''.$ans[$name].' | '; $pg .= "
# | '; $pg .= 'Name | '; foreach ($flds as $row => $nam) $pg .= "$nam | "; $pg .= "
$i | "; $pg .= "$name | "; foreach ($flds as $fld => $nam) $pg .= ''.$ans[$name.'_'.$fld].' | '; $pg .= "
# | '; $pg .= 'List | '; $pg .= 'ID | '; $pg .= 'User | '; $pg .= 'IP | '; $pg .= 'IPc | '; $pg .= 'Hash | '; $pg .= 'UTC | '; $pg .= "
$j | "; $pg .= ''.$ans['list:'.$i].' | '; $pg .= ''.$ans['id:'.$i].' | '; $pg .= ''.$ans['user:'.$i].' | '; $pg .= ''.isans($ans, 'ip:'.$i).' | '; $pg .= ''.isans($ans, 'ipc:'.$i).' | '; $pg .= ''.isans($ans, 'hash:'.$i).' | '; $pg .= ''.gmdate('j/M H:i:s',$ans['createdate:'.$i]).' | '; $pg .= "
# | '; $pg .= 'Key | '; $pg .= 'ID | '; $pg .= 'IDName | '; $pg .= 'Hour UTC | '; $pg .= 'Count | '; $pg .= "
$j | "; $pg .= ''.$ans['key:'.$i].' | '; $pg .= ''.$ans['id:'.$i].' | '; $pg .= ''.$ans['idname:'.$i].' | '; $pg .= ''.gmdate('j/M H:i:s',$ans['hour:'.$i]*3600).' | '; $co = ''; for ($k = 0; $k < 60; $k++) { if ($k < 10) $min = '0' . $k; else $min = $k; if (isset($ans["min$min:$i"])) { if ($co != '') $co .= ' '; $co .= "$min=".$ans["min$min:$i"]; } } $pg .= "$co | "; $pg .= "