0 ) { ZM\Logger::Debug('Loading events by eids'); $eventsSql .= ' AND E.Id IN ('.implode(',', array_map(function(){return '?';}, $_REQUEST['eids'])). ')'; $eventsValues += $_REQUEST['eids']; } else if ( isset($_REQUEST['filter']) ) { parseSort(); parseFilter($_REQUEST['filter']); $filterQuery = $_REQUEST['filter']['query']; if ( $_REQUEST['filter']['sql'] ) { $eventsSql .= $_REQUEST['filter']['sql']; } $eventsSql .= " ORDER BY $sortColumn $sortOrder"; if ( isset($_REQUEST['filter']['Query']['limit']) ) $eventsSql .= ' LIMIT '.validInt($_REQUEST['filter']['Query']['limit']); } # end if filter $results = dbQuery($eventsSql, $eventsValues); echo 'Export the following ' .$results->rowCount() . ' events:
'; $disk_space_total = 0; ?> DefaultScale(), ZM_WEB_DEFAULT_SCALE ), SCALE_BASE ); echo '\n"; ?> Archived() ? ' class="archived"' : '' ?>> DiskSpace(); $event_count += 1; ?>
Id().($event->Archived()?'*':'') ?> Name()).($event->Archived()?'*':'') ?> MonitorId(), 'zmMonitor'.$event->MonitorId(), 'monitor', $event->MonitorName(), canEdit( 'Monitors' ) ) ?> Id(), 'zmEventDetail', 'eventdetail', validHtmlStr($event->Cause()), canEdit( 'Events' ), 'title="'.htmlspecialchars($event->Notes()).'"' ) ?> StartTime())) . ( $event->EndTime() ? ' until ' . strftime(STRF_FMT_DATETIME_SHORTER, strtotime($event->EndTime()) ) : '' ) ?> Length() ) ?> Id(), 'zmFrames', 'frames', $event->Frames() ) ?> Id(), 'zmFrames', 'frames', $event->AlarmFrames() ) ?> TotScore() ?> AvgScore() ?> MaxScore(); #makePopupLink('?view=frame&eid='.$event->Id().'&fid=0', 'zmImage', array('image', reScale($event->Width(), $scale), reScale($event->Height(), $scale)), $event->MaxScore()) ?> DiskSpace()) ?>
events
checked="checked" data-on-click-this="configureExportButton"/>
checked="checked" data-on-click-this="configureExportButton"/>
checked="checked" data-on-click-this="configureExportButton"/>
checked="checked" data-on-click-this="configureExportButton"/>
checked="checked" data-on-click-this="configureExportButton"/>
checked="checked" data-on-click-this="configureExportButton"/> checked="checked" data-on-click-this="configureExportButton"/>
data-on-click-this="configureExportButton"/> data-on-click-this="configureExportButton"/>