diff --git a/pool/page_events.php b/pool/page_events.php index ead6d036..8f15bc18 100644 --- a/pool/page_events.php +++ b/pool/page_events.php @@ -142,6 +142,59 @@ What: } } + if ($wh == 'ovents') + { + $ans = eventCmd($user, array('action' => 'ovents')); + + $pg .= "

\n"; + $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 .= ''; + $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 .= ""; + $pg .= "\n"; + } + $pg .= ''; + } + } + return $pg; } #
#KeyIDIDNameHour UTCCount
$j'.$ans['key:'.$i].''.$ans['id:'.$i].''.$ans['idname:'.$i].''.gmdate('j/M H:i:s',$ans['hour:'.$i]*3600).'$co