$agent = "<img src='" . plugins_url('wp-statistics/assets/images/') . $items->agent . ".png' class='log-tools' title='{$items->agent}'/>"; } else { $agent = wp_statistics_icons('dashicons-editor-help', 'unknown'); } echo "<a href='?page=wp-statistics/wp-statistics.php&type=last-all-visitor&agent={$items->agent}'>{$agent}</a>"; echo "<a href='" . htmlentities($items->referred, ENT_QUOTES) . "' title='" . htmlentities($items->referred, ENT_QUOTES) . "'>" . wp_statistics_icons('dashicons-admin-links', 'link') . " " . htmlentities($items->referred, ENT_QUOTES) . "</a></div>"; echo "</div>"; } } echo "</div>"; ?> </div> </div> <div class="pagination-log"> <?php if ($total > 0) { echo $Pagination->display(); ?> <p id="result-log"><?php echo ' ' . __('Page', 'wp_statistics') . ' ' . $Pagination->getCurrentPage() . ' ' . __('From', 'wp_statistics') . ' ' . $Pagination->getTotalPages(); ?> </p> <?php } ?> </div> </div> </div> </div> </div>
if( $count >= $start ) { echo "<div class='log-item'>"; if( $uri[3] == '' ) { $uri[3] = '[' . htmlentities(__('No page title found', 'wp_statistics'), ENT_QUOTES) . ']'; } echo "<div class='log-page-title'>{$count} - {$uri[3]}</div>"; echo "<div class='right-div'>".__('Visits', 'wp_statistics').": <a href='?page=" . WP_STATISTICS_PAGES_PAGE . "&page-uri={$uri[0]}'>" . number_format_i18n($uri[1]) . "</a></div>"; echo "<div class='left-div'><a dir='ltr' href='" . htmlentities($site_url . $uri[0],ENT_QUOTES ) . "'>" . htmlentities(urldecode($uri[0]),ENT_QUOTES) . "</a></div>"; echo "</div>"; } if( $count == $start + 10 ) { break; } } echo "</div>"; } ?> </div> </div> <?php if( $total > 0 ) {?> <div class="pagination-log"> <?php echo $Pagination->display(); ?> <p id="result-log"><?php echo ' ' . __('Page', 'wp_statistics') . ' ' . $Pagination->getCurrentPage() . ' ' . __('From', 'wp_statistics') . ' ' . $Pagination->getTotalPages(); ?></p> </div> <?php } ?> </div> </div> </div> </div>