diff --git a/web/zmwml.php b/web/zmwml.php
index 66d773b49..f464dd437 100644
--- a/web/zmwml.php
+++ b/web/zmwml.php
@@ -137,45 +137,6 @@ if ( $view == "console" )
-
-
-ZM - Cycle Watch
-
-
-
-
-
-
-
-
- $browser_image";
exec( $command );
+ chdir( '..' );
?>
ZM -
-
+
0 && $last_status == 0 );
-
- header("Refresh: ".REFRESH_STATUS."; URL='$PHP_SELF?view=status&mid=$mid&last_status=$status'" );
- header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
- header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
- header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
- header("Cache-Control: post-check=0, pre-check=0", false);
- header("Pragma: no-cache"); // HTTP/1.0
-?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-ZM - - Events Archive
-
-
-
-
-
-
-
-
-
-
-ZM - Image
-
-
-
-
-
-
-
-
-
-
-ZM - Event -
-
-
-
-
-
-
-
- |
-
-
-Refresh |
-Delete |
-
-Unarchive |
-
-Archive |
-
-
-Stills |
-
-Stream |
-
- |
-
-
-Video |
-
- |
-
-Close |
-
-
- |
-
- |
-
-
-
- $thumb_image";
- else
- $command = NETPBM_DIR."/jpegtopnm -dct fast $capt_image | ".NETPBM_DIR."/pnmscalefixed $fraction | ".NETPBM_DIR."/ppmtojpeg --dct=fast > $thumb_image";
- #exec( escapeshellcmd( $command ) );
- exec( $command );
- }
- }
-?>
- |
-
-
-
-
-
- |
-
-
-
-
-
-
-
-ZM - - Zones
-
-
-
-
-
-
-
-
-
- 0 )
- {
- $result = mysql_query( "select * from Monitors where Id = '$mid'" );
- if ( !$result )
- die( mysql_error() );
- $monitor = mysql_fetch_assoc( $result );
- }
- else
- {
- $monitor = array();
- $monitor[Name] = "New";
- }
-?>
-
-
-ZM - Monitor
-
-
-
-
-
-
-
- 0 )
- {
- $result = mysql_query( "select * from Zones where MonitorId = '$mid' and Id = '$zid'" );
- if ( !$result )
- die( mysql_error() );
- $zone = mysql_fetch_assoc( $result );
- }
- else
- {
- $zone = array();
- $zone[Name] = "New";
- $zone[LoX] = 0;
- $zone[LoY] = 0;
- $zone[HiX] = $monitor[Width]-1;
- $zone[HiY] = $monitor[Height]-1;
- }
-?>
-
-
-ZM - - Zone
-
-
-
-
-
-
-
-$event_dir/mpeg.log" );
- }
-
- //chdir( $event_dir );
- //header("Content-type: video/mpeg");
- //header("Content-Disposition: inline; filename=$video_name");
- header("Location: $video_file" );
-}
-elseif ( $view == "device" )
-{
- $ps_array = preg_split( "/\s+/", exec( "ps -edalf | grep 'zmc $did' | grep -v grep" ) );
- if ( $ps_array[3] )
- {
- $zmc = 1;
- }
- $ps_array = preg_split( "/\s+/", exec( "ps -edalf | grep 'zma $did' | grep -v grep" ) );
- if ( $ps_array[3] )
- {
- $zma = 1;
- }
-?>
-
-
-ZM - Device - /dev/video
-
-
-
-
-
-
-Device Daemon Status |
-
-
-
-
-
-
-
-ZM - Function -
-
-
-
-
-
-
-
-
-
-
-
-
-
-