=')." '".$event[$sort_field]."'$filter_sql$mid_sql order by $sort_column ".($sort_order=='asc'?'desc':'asc'); $result = mysql_query( $sql ); if ( !$result ) die( mysql_error() ); while ( $row = mysql_fetch_assoc( $result ) ) { if ( $row[Id] == $eid ) { $prev_event = mysql_fetch_assoc( $result ); break; } } $sql = "select * from Events as E where $sort_column ".($sort_order=='asc'?'>=':'<=')." '".$event[$sort_field]."'$filter_sql$mid_sql order by $sort_column $sort_order"; $result = mysql_query( $sql ); if ( !$result ) die( mysql_error() ); while ( $row = mysql_fetch_assoc( $result ) ) { if ( $row[Id] == $eid ) { $next_event = mysql_fetch_assoc( $result ); break; } } if ( !isset( $rate ) ) $rate = ZM_WEB_DEFAULT_RATE; if ( !isset( $scale ) ) $scale = ZM_WEB_DEFAULT_SCALE; $frames_per_page = EVENT_FRAMES_PER_LINE * EVENT_FRAME_LINES; $paged = $event['Frames'] > $frames_per_page; ?> ZM - <?= $zmSlangEvent ?> - <?= $event['Name'] ?>
disabled>
Learn Pref: 
:    :
           
$pages ) $page = $pages; if ( $page > 1 ) { $new_pages = array(); $pages_used = array(); $lo_exp = max(2,log($page-1)/log($max_shortcuts)); for ( $i = 0; $i < $max_shortcuts; $i++ ) { $new_page = round($page-pow($lo_exp,$i)); if ( isset($pages_used[$new_page]) ) continue; if ( $new_page <= 1 ) break; $pages_used[$new_page] = true; array_unshift( $new_pages, $new_page ); } if ( !isset($pages_used[1]) ) array_unshift( $new_pages, 1 ); foreach ( $new_pages as $new_page ) { ?>    - $pages ) break; $pages_used[$new_page] = true; array_push( $new_pages, $new_page ); } if ( !isset($pages_used[$pages]) ) array_push( $new_pages, $pages ); foreach ( $new_pages as $new_page ) { ?>  
height= classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> height= AutoStart=true> height= AutoStart=true>
$thumb_image"; else $command = ZM_PATH_NETPBM."/jpegtopnm -dct fast $capt_image | ".ZM_PATH_NETPBM."/pnmscalefixed $fraction | ".ZM_PATH_NETPBM."/ppmtojpeg --dct=fast > $thumb_image"; #exec( escapeshellcmd( $command ) ); exec( $command ); } } $alarm_frame = $alarm_frames[$frame_id]; $img_class = $alarm_frame?"alarm":"normal"; ?>
<?= $frame_id ?>/<?= $alarm_frame?$alarm_frame['Score']:0 ?>