} list($daysToDisplay, $rangestart_utime, $rangeend_utime) = wp_statistics_date_range_calculator($daysToDisplay, $rangestart, $rangeend); $rangestartdate = $WP_Statistics->real_current_date('Y-m-d', '-0', $rangestart_utime); $rangeenddate = $WP_Statistics->real_current_date('Y-m-d', '-0', $rangeend_utime); ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php _e('Browser Statistics', 'wp_statistics'); ?> </h2> <div><?php wp_statistics_date_range_selector(WP_STATISTICS_BROWSERS_PAGE, $daysToDisplay); ?> </div> <div class="postbox-container" style="width: 48%; float: left; margin-right:20px"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"><span><?php _e('Browsers', 'wp_statistics'); ?> </span></h3>
} else { $rangeend = ''; } list($daysToDisplay, $rangestart_utime, $rangeend_utime) = wp_statistics_date_range_calculator($daysToDisplay, $rangestart, $rangeend); ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php _e('Search Engine Referral Statistics', 'wp_statistics'); ?> </h2> <?php wp_statistics_date_range_selector(WP_STATISTICS_SEARCHES_PAGE, $daysToDisplay); ?> <div class="postbox-container" style="width: 100%; float: left; margin-right:20px"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"><span><?php _e('Search Engine Referral Statistics', 'wp_statistics'); ?> </span></h3> <div class="inside">
} else { $rangeend = ''; } list($daysToDisplay, $rangestart_utime, $rangeend_utime) = wp_statistics_date_range_calculator($daysToDisplay, $rangestart, $rangeend); ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php _e('Top Countries', 'wp_statistics'); ?> </h2> <?php wp_statistics_date_range_selector('wps_countries_menu', $daysToDisplay); ?> <div class="postbox-container" id="last-log" style="width: 100%;"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="inside"> <div class="inside"> <table class="widefat table-stats" id="last-referrer" style="width: 100%;"> <tr> <td><?php _e('Rank', 'wp_statistics'); ?> </td> <td><?php
$rangeend = $_GET['rangeend']; } else { $rangeend = ''; } ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php echo __('Page Trend for Post ID', 'wp_statistics') . ' ' . $pageid . ' - ' . $title; ?> </h2> <?php wp_statistics_date_range_selector(WP_STATISTICS_PAGES_PAGE, $daysToDisplay, null, null, $urlfields); ?> <div class="postbox-container" id="last-log"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"><span><?php _e('Page Trend', 'wp_statistics'); ?> </span></h3> <div class="inside">
// If the chart totals is enabled, cheat a little and just add another reason category to the list so it get's generated later. if ($total_stats == 1) { $excluded_reasons[] = 'Total'; } ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php _e('Exclusions Statistics', 'wp_statistics'); ?> </h2> <?php wp_statistics_date_range_selector(WP_STATISTICS_EXCLUSIONS_PAGE, $daysToDisplay); ?> <div class="postbox-container" style="width: 100%; float: left; margin-right:20px"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"><span><?php _e('Exclusions Statistical Chart', 'wp_statistics'); ?> </span></h3> <div class="inside">
$rangeend = $_GET['rangeend']; } else { $rangeend = ''; } ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php echo __('Page Trend for Post ID', 'wp_statistics') . ' ' . $pageid . ' - ' . $title; ?> </h2> <?php wp_statistics_date_range_selector('wps_pages_menu', $daysToDisplay, null, null, $urlfields); ?> <div class="postbox-container" id="last-log"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"><span><?php _e('Page Trend', 'wp_statistics'); ?> </span></h3> <div class="inside">
$daysToDisplay = 20; if (array_key_exists('hitdays', $_GET)) { $daysToDisplay = intval($_GET['hitdays']); } if (array_key_exists('rangestart', $_GET)) { $rangestart = $_GET['rangestart']; } else { $rangestart = ''; } if (array_key_exists('rangeend', $_GET)) { $rangeend = $_GET['rangeend']; } else { $rangeend = ''; } list($daysToDisplay, $rangestart_utime, $rangeend_utime) = wp_statistics_date_range_calculator($daysToDisplay, $rangestart, $rangeend); wp_statistics_date_range_selector('wps_hits_menu', $daysToDisplay); ?> <div class="postbox-container" style="width: 100%; float: left; margin-right:20px"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"><span><?php _e('Hits Statistics Chart', 'wp_statistics'); ?> </span></h3> <div class="inside">
$excluded_reasons[] = 'Total'; } ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php _e('Exclusions Statistics', 'wp_statistics'); ?> </h2> <?php wp_statistics_date_range_selector('wps_exclusions_menu', $daysToDisplay); ?> <div class="postbox-container" style="width: 100%; float: left; margin-right:20px"> <div class="metabox-holder"> <div class="meta-box-sortables"> <div class="postbox"> <div class="handlediv" title="<?php _e('Click to toggle', 'wp_statistics'); ?> "><br /></div> <h3 class="hndle"><span><?php _e('Exclusions Statistical Chart', 'wp_statistics'); ?> </span></h3>
} $get_urls = array_count_values($urls); $total = count($get_urls); } ?> <div class="wrap"> <?php screen_icon('options-general'); ?> <h2><?php _e('Top Referring Sites', 'wp_statistics'); ?> </h2> <div><?php wp_statistics_date_range_selector('wps_referrers_menu', $daysToDisplay); ?> </div> <div class="clear"/> <ul class="subsubsub"> <?php if ($referr) { ?> <li class="all"><a <?php if (!$referr) { echo 'class="current"'; } ?> href="?page=wps_referrers_menu"><?php