get_country_codes(); ?> get_results( "SELECT `location`, COUNT(`location`) AS `count` FROM `{$wpdb->prefix}statistics_visitor` GROUP BY `location` ORDER BY `count` DESC LIMIT 10" ); $i = 0; foreach ( $result as $item ) { $i ++; $item->location = strtoupper( $item->location ); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; } ?>
$ilocation . '.png' ) . "' title='{$ISOCountryCode[$item->location]}'/>{$ISOCountryCode[$item->location]}" . number_format_i18n( $item->count ) . "