'$db_now' - INTERVAL 1 HOUR && Archived = 0,1,NULL)) as HourEventCount, count(if(StartTime>'$db_now' - INTERVAL 1 DAY && Archived = 0,1,NULL)) as DayEventCount, count(if(StartTime>'$db_now' - INTERVAL 7 DAY && Archived = 0,1,NULL)) as WeekEventCount, count(if(StartTime>'$db_now' - INTERVAL 1 MONTH && Archived = 0,1,NULL)) as MonthEventCount from Events as E where MonitorId = '".$row['Id']."'"; $result3 = mysql_query( $sql ); if ( !$result3 ) echo mysql_error(); $row3 = mysql_fetch_assoc( $result3 ); if ( $row['Function'] != 'None' ) { $cycle_count++; if ( $max_width < $row['Width'] ) $max_width = $row['Width']; if ( $max_height < $row['Height'] ) $max_height = $row['Height']; } $monitors[] = $row = array_merge( $row, $row2, $row3 ); } $max_cols = 8; $montage_cols = (int)(($cycle_count+1)/((int)(($cycle_count-1)/ZM_WEB_MONTAGE_MAX_COLS)+1)); $montage_rows = intval(ceil($cycle_count/$montage_cols)); $montage_width = ZM_WEB_MONTAGE_WIDTH?ZM_WEB_MONTAGE_WIDTH:$max_width; $montage_height = ZM_WEB_MONTAGE_HEIGHT?ZM_WEB_MONTAGE_HEIGHT:$max_height; ?> ZM - <?= $zmSlangConsole ?>
ZoneMinder - - : / : %
,  
1 ) { ?>  /     
".$monitor['Function']."", canEdit( 'Monitors' ) ) ?> /dev/video".$monitor['Device']." (".$monitor['Channel'].")", canEdit( 'Monitors' ) ) ?> ".preg_replace( '/^.*@/', '', $monitor['Host'] )."", canEdit( 'Monitors' ) ) ?> disabled>
disabled>