$mids)); xhtmlHeaders(__FILE__, translate('Zones')); ?>

connKey(); # ViewWidth() and ViewHeight() are already rotated $minX = 0; $maxX = $monitor->ViewWidth()-1; $minY = 0; $maxY = $monitor->ViewHeight()-1; $zones = array(); foreach ( dbFetchAll('SELECT * FROM Zones WHERE MonitorId=? ORDER BY Area DESC', NULL, array($mid)) as $row ) { $row['Points'] = coordsToPoints($row['Coords']); limitPoints($row['Points'], $minX, $minY, $maxX, $maxY); $row['Coords'] = pointsToCoords($row['Points']); $row['AreaCoords'] = preg_replace('/\s+/', ',', $row['Coords']); $zones[] = $row; } $options = array('width'=>'100%', 'height'=>'auto'); ?>
Sorry, your browser does not support inline SVG
 / ViewWidth()*$monitor->ViewHeight()) ) ?> disabled="disabled"/>