$fid, 'Type'=>'Normal', 'Score'=>0 ); } mysql_free_result( $result ); } else { $result = mysql_query( "select * from Frames where EventId = '$eid' and Score = '".$event['MaxScore']."'" ); if ( !$result ) die( mysql_error() ); $frame = mysql_fetch_assoc( $result ); mysql_free_result( $result ); $fid = $frame['FrameId']; } $max_fid = $event['Frames']; $first_fid = 1; $prev_fid = $fid-1; $next_fid = $fid+1; $last_fid = $max_fid; $alarm_frame = $frame['Type']=='Alarm'; if ( !isset( $scale ) ) $scale = max( reScale( SCALE_BASE, $event['DefaultScale'], ZM_WEB_DEFAULT_SCALE ), SCALE_BASE ); $image_data = getImageSrc( $event, $frame, $scale, (isset($show)&&$show=="capt") ); $image_path = $image_data['thumbPath']; $event_path = $image_data['eventPath']; $d_image_path = sprintf( "%s/%0".ZM_EVENT_IMAGE_DIGITS."d-diag-d.jpg", $event_path, $fid ); $r_image_path = sprintf( "%s/%0".ZM_EVENT_IMAGE_DIGITS."d-diag-r.jpg", $event_path, $fid ); ?> <?= ZM_WEB_TITLE_PREFIX ?> - <?= $zmSlangFrame ?> <?= $eid."-".$fid ?>
()  
">
1 ) { ?> 1 ) { ?>