Real_Current_Date( 'Y-m-d', '-0', $rangestart_utime ), $WP_Statistics->Real_Current_Date( 'Y-m-d', '-0', $rangeend_utime ) ); $count = 0; foreach ( $uris as $uri ) { $count ++; for ( $i = $daysToDisplay; $i >= 0; $i -- ) { $stats[ $uri[0] ][] = wp_statistics_pages( '-' . ( $i + $daysInThePast ), $uri[0] ); } if ( $count > 4 ) { break; } } for ( $i = $daysToDisplay; $i >= 0; $i -- ) { $date[] = "'" . $WP_Statistics->Real_Current_Date( 'M j', '-' . $i, $rangeend_utime ) . "'"; } ?>

0 ) { // Instantiate pagination object with appropriate arguments $pagesPerSection = 10; $options = 10; $stylePageOff = "pageOff"; $stylePageOn = "pageOn"; $styleErrors = "paginationErrors"; $styleSelect = "paginationSelect"; $Pagination = new WP_Statistics_Pagination( $total, $pagesPerSection, $options, false, $stylePageOff, $stylePageOn, $styleErrors, $styleSelect ); $start = $Pagination->getEntryStart(); $end = $Pagination->getEntryEnd(); $site_url = site_url(); echo "
"; $count = 0; foreach ( $uris as $uri ) { $count ++; if ( $count >= $start ) { echo "
"; if ( $uri[3] == '' ) { $uri[3] = '[' . htmlentities( __( 'No page title found', 'wp-statistics' ), ENT_QUOTES ) . ']'; } echo "
{$count} - {$uri[3]}
"; echo "
" . __( 'Visits', 'wp-statistics' ) . ": " . number_format_i18n( $uri[1] ) . "
"; echo ""; echo "
"; } if ( $count == $start + 10 ) { break; } } echo "
"; } ?>
0 ) { ?>
display(); ?>

getCurrentPage(), $Pagination->getTotalPages() ); ?>