diff --git a/web/zm.php b/web/zm.php index c416d2b73..74d3a31fa 100644 --- a/web/zm.php +++ b/web/zm.php @@ -307,6 +307,7 @@ if ( $view == "console" ) $monitors = array(); $max_width = 0; $max_height = 0; + $cycle_count = 0; while( $row = mysql_fetch_assoc( $result ) ) { if ( $max_width < $row[Width] ) $max_width = $row[Width]; @@ -317,6 +318,7 @@ if ( $view == "console" ) echo mysql_error(); $row2 = mysql_fetch_assoc( $result2 ); $monitors[] = array_merge( $row, $row2 ); + if ( $row['Function'] != 'None' ) $cycle_count++; } $sql = "select distinct Device from Monitors order by Device"; @@ -360,7 +362,11 @@ function newWindow(Url,Name,Width,Height) { high medium low ) + 1 ) { ?>