$per_page, 'offset' => 0 ); if ( $pagenum > 1 ) { $post_args['offset'] = ( ( $pagenum - 1 ) * $per_page ); } $posts = guruq_get_queue( $post_args ); ?>
add_query_arg( 'pagenum', '%#%' ), 'format' => '', 'prev_text' => __('«'), 'next_text' => __('»'), 'total' => $num_pages + 1, 'current' => $pagenum )); ?>
' . __( 'Displaying %s–%s of %s' ) . '%s', number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ), number_format_i18n( min( $pagenum * $per_page, $total ) ), number_format_i18n( $total ), $page_links ); echo $page_link_text; ?>
'; foreach ( $theaders as $label ) { $thead .= "$label"; } ?> option_name; $o = unserialize( $post->option_value ); $edit_link = add_query_arg( 'guruq', $key, 'post-new.php' ); $delete_link = add_query_arg( 'action', 'delete', $_SERVER['REQUEST_URI'] ); $delete_link = add_query_arg( 'guruq', $key, $delete_link ); $out .= ""; $out .= ''; $out .= ""; $out .= ""; $email = ''; if ( !empty( $o->author_email ) ) { $email = " ($o->author_email)"; } $out .= ""; $out .= ""; } echo $out; ?>
$o->post_title
Edit | Delete
" . date( $date_format, strtotime( $o->post_date ) ) . "$o->author_name $email
$page_link_text
"; ?>