0 ) { $result = mysql_query( "select * from Monitors where Id = '$mid'" ); if ( !$result ) die( mysql_error() ); $monitor = mysql_fetch_assoc( $result ); if ( ZM_OPT_X10 ) { $result = mysql_query( "select * from TriggersX10 where MonitorId = '$mid'" ); if ( !$result ) die( mysql_error() ); $x10_monitor = mysql_fetch_assoc( $result ); } } else { $monitor = array(); $monitor[Name] = $zmSlangNew; $monitor['Function'] = "None"; $monitor['RunMode'] = "Continuous"; $monitor[Type] = "Local"; $monitor[Port] = "80"; $monitor[Orientation] = "0"; $monitor[LabelFormat] = '%%s - %y/%m/%d %H:%M:%S'; $monitor[LabelX] = 0; $monitor[LabelY] = 0; $monitor[ImageBufferCount] = 100; $monitor[WarmupCount] = 25; $monitor[PreEventCount] = 10; $monitor[PostEventCount] = 10; $monitor[SectionLength] = 600; $monitor[FrameSkip] = 0; $monitor[MaxFPS] = 0; $monitor[FPSReportInterval] = 1000; $monitor[RefBlendPerc] = 10; } if ( !isset( $new_monitor ) ) { $new_monitor = $monitor; $new_monitor[Triggers] = split( ',', $monitor[Triggers] ); $new_x10_monitor = $x10_monitor; } $local_palettes = array( $zmSlangGrey=>1, "RGB24"=>4, "RGB565"=>3, "RGB555"=>6, "YUV422P"=>13, "YUV420P"=>15 ); $remote_palettes = array( $zmSlang8BitGrey=>1, $zmSlang24BitColour=>4 ); $orientations = array( $zmSlangNormal=>0, $zmSlangRotateRight=>90, $zmSlangInverted=>180, $zmSlangRotateLeft=>270 ); ?> ZM - <?= $zmSlangMonitor ?> <?= $monitor[Name] ?>
 
$value ) { if ( $tab == $name ) { ?>
 
$zmSlangLocal, 'Remote'=>$zmSlangRemote ); ?>
"; ?> checked>
(/dev/video?)
Channel
()
()
()
 
disabled>