$device_lines)?$device_lines:$limit_left; } $events_sql .= " limit $limit_start, $limit_amount"; } elseif ( !empty( $limit ) ) { $events_sql .= " limit 0, $limit"; } ?>
= sprintf( $zmClangEventCount, $n_events, zmVlang( $zmVlangEvent, $n_events ) ) ?> | = makeLink( "$PHP_SELF?view=filter", empty($filter_data)?$zmSlangChooseFilter:$filter_name, canView( 'Events' ) ) ?> |
$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 ) { ?> = $new_page ?> - = $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 ) { ?> = $new_page ?>
= substr( $zmSlangId, 0, 5 ) ?>^"; else echo "v"; ?> | = substr( $zmSlangTime, 0, 5 ) ?>^"; else echo "v"; ?> | = substr( $zmSlangDuration, 0, 2 ) ?>^"; else echo "v"; ?> | = substr( $zmSlangFrames, 0, 2 ) ?>^"; else echo "v"; ?> | = substr( $zmSlangScore, 0, 2 ) ?>^"; else echo "v"; ?> |
= $event['Id'] ?> | = strftime( "%d %H:%M", strtotime($event['StartTime']) ) ?> | = sprintf( "%d", $event['Length'] ) ?> | = $event['AlarmFrames'] ?> | = $event['MaxScore'] ?> |