<?php
/*
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

if(!function_exists('add_action')) die('Cheatin’ uh?');

$countries = array(
	'af' => __('Afghanistan', 'youplay'),
	'al' => __('Albania', 'youplay'),
	'dz' => __('Algeria', 'youplay'),
	'as' => __('American Samoa', 'youplay'),
	'ad' => __('Andorra', 'youplay'),
	'ao' => __('Angola', 'youplay'),
	'ai' => __('Anguilla', 'youplay'),
	'ag' => __('Antigua and Barbuda', 'youplay'),
	'ar' => __('Argentina', 'youplay'),
	'am' => __('Armenia', 'youplay'),
	'aw' => __('Aruba', 'youplay'),
	'au' => __('Australia', 'youplay'),
	'at' => __('Austria', 'youplay'),
	'az' => __('Azerbaijan', 'youplay'),
	'bs' => __('Bahamas', 'youplay'),
	'bh' => __('Bahrain', 'youplay'),
	'bd' => __('Bangladesh', 'youplay'),
	'bb' => __('Barbados', 'youplay'),
	'by' => __('Belarus', 'youplay'),
	'be' => __('Belgium', 'youplay'),
	'bz' => __('Belize', 'youplay'),
	'bj' => __('Benin', 'youplay'),
	'bm' => __('Bermuda', 'youplay'),
	'bt' => __('Bhutan', 'youplay'),
	'bo' => __('Bolivia', 'youplay'),
	'ba' => __('Bosnia and Herzegowina', 'youplay'),
	'bw' => __('Botswana', 'youplay'),
	'bv' => __('Bouvet Island', 'youplay'),
	'br' => __('Brazil', 'youplay'),
	'io' => __('British Indian Ocean Territory', 'youplay'),
	'bn' => __('Brunei Darussalam', 'youplay'),
	'bg' => __('Bulgaria', 'youplay'),
	'bf' => __('Burkina Faso', 'youplay'),
	'bi' => __('Burundi', 'youplay'),
	'kh' => __('Cambodia', 'youplay'),
	'cm' => __('Cameroon', 'youplay'),
	'ca' => __('Canada', 'youplay'),
	'cv' => __('Cape Verde', 'youplay'),
	'catalonia' => __('Catalonia', 'youplay'),
	'ky' => __('Cayman Islands', 'youplay'),
	'cf' => __('Central African Republic', 'youplay'),
	'td' => __('Chad', 'youplay'),
	'cl' => __('Chile', 'youplay'),
	'cn' => __('China', 'youplay'),
	'cx' => __('Christmas Island', 'youplay'),
	'cc' => __('Cocos (Keeling) Islands', 'youplay'),
	'co' => __('Colombia', 'youplay'),
	'km' => __('Comoros', 'youplay'),
	'cg' => __('Congo', 'youplay'),
	'cd' => __('Congo, the DRC', 'youplay'),
	'ck' => __('Cook Islands', 'youplay'),
	'cr' => __('Costa Rica', 'youplay'),
	'ci' => __('Cote D\'Ivoire', 'youplay'),
	'hr' => __('Croatia', 'youplay'),
	'cu' => __('Cuba', 'youplay'),
	'cy' => __('Cyprus', 'youplay'),
	'cz' => __('Czech Republic', 'youplay'),
	'dk' => __('Denmark', 'youplay'),
	'dj' => __('Djibouti', 'youplay'),
	'dm' => __('Dominica', 'youplay'),
	'do' => __('Dominican Republic', 'youplay'),
	'ec' => __('Ecuador', 'youplay'),
	'eg' => __('Egypt', 'youplay'),
	'sv' => __('El Salvador', 'youplay'),
	'england' => __('England', 'youplay'),
	'gq' => __('Equatorial Guinea', 'youplay'),
	'er' => __('Eritrea', 'youplay'),
	'ee' => __('Estonia', 'youplay'),
	'et' => __('Ethiopia', 'youplay'),
	'europeanunion' => __('European Union', 'youplay'),
	'fk' => __('Falkland Islands (Malvinas)', 'youplay'),
	'fo' => __('Faroe Islands', 'youplay'),
	'fj' => __('Fiji', 'youplay'),
	'fi' => __('Finland', 'youplay'),
	'fr' => __('France', 'youplay'),
	'gf' => __('French Guiana', 'youplay'),
	'pf' => __('French Polynesia', 'youplay'),
	'tf' => __('French Southern Territories', 'youplay'),
	'ga' => __('Gabon', 'youplay'),
	'gm' => __('Gambia', 'youplay'),
	'ge' => __('Georgia', 'youplay'),
	'de' => __('Germany', 'youplay'),
	'gh' => __('Ghana', 'youplay'),
	'gi' => __('Gibraltar', 'youplay'),
	'gr' => __('Greece', 'youplay'),
	'gl' => __('Greenland', 'youplay'),
	'gd' => __('Grenada', 'youplay'),
	'gp' => __('Guadeloupe', 'youplay'),
	'gu' => __('Guam', 'youplay'),
	'gt' => __('Guatemala', 'youplay'),
	'gn' => __('Guinea', 'youplay'),
	'gw' => __('Guinea-Bissau', 'youplay'),
	'gy' => __('Guyana', 'youplay'),
	'ht' => __('Haiti', 'youplay'),
	'hm' => __('Heard Island and McDonald Islands', 'youplay'),
	'va' => __('Holy See (Vatican City State)', 'youplay'),
	'hn' => __('Honduras', 'youplay'),
	'hk' => __('Hong Kong', 'youplay'),
	'hu' => __('Hungary', 'youplay'),
	'is' => __('Iceland', 'youplay'),
	'in' => __('India', 'youplay'),
	'id' => __('Indonesia', 'youplay'),
	'ir' => __('Iran, Islamic Republic of', 'youplay'),
	'iq' => __('Iraq', 'youplay'),
	'ie' => __('Ireland', 'youplay'),
	'il' => __('Israel', 'youplay'),
	'it' => __('Italy', 'youplay'),
	'jm' => __('Jamaica', 'youplay'),
	'jp' => __('Japan', 'youplay'),
	'jo' => __('Jordan', 'youplay'),
	'kz' => __('Kazakhstan', 'youplay'),
	'ke' => __('Kenya', 'youplay'),
	'ki' => __('Kiribati', 'youplay'),
	'kp' => __('Korea, Democratic People\'s Republic of', 'youplay'),
	'kr' => __('Korea, Republic of', 'youplay'),
	'kw' => __('Kuwait', 'youplay'),
	'kg' => __('Kyrgyzstan', 'youplay'),
	'la' => __('Lao People\'s Democratic Republic', 'youplay'),
	'lv' => __('Latvia', 'youplay'),
	'lb' => __('Lebanon', 'youplay'),
	'ls' => __('Lesotho', 'youplay'),
	'lr' => __('Liberia', 'youplay'),
	'ly' => __('Libyan Arab Jamahiriya', 'youplay'),
	'li' => __('Liechtenstein', 'youplay'),
	'lt' => __('Lithuania', 'youplay'),
	'lu' => __('Luxembourg', 'youplay'),
	'mo' => __('Macao', 'youplay'),
	'mk' => __('Macedonia, the former Yugoslav Republic of', 'youplay'),
	'mg' => __('Madagascar', 'youplay'),
	'mw' => __('Malawi', 'youplay'),
	'my' => __('Malaysia', 'youplay'),
	'mv' => __('Maldives', 'youplay'),
	'ml' => __('Mali', 'youplay'),
	'mt' => __('Malta', 'youplay'),
	'mh' => __('Marshall Islands', 'youplay'),
	'mq' => __('Martinique', 'youplay'),
	'mr' => __('Mauritania', 'youplay'),
	'mu' => __('Mauritius', 'youplay'),
	'yt' => __('Mayotte', 'youplay'),
	'mx' => __('Mexico', 'youplay'),
	'fm' => __('Micronesia, Federated States of', 'youplay'),
	'md' => __('Moldova, Republic of', 'youplay'),
	'mc' => __('Monaco', 'youplay'),
	'mn' => __('Mongolia', 'youplay'),
	'me' => __('Montenegro', 'youplay'),
	'ms' => __('Montserrat', 'youplay'),
	'ma' => __('Morocco', 'youplay'),
	'mz' => __('Mozambique', 'youplay'),
	'mm' => __('Myanmar', 'youplay'),
	'na' => __('Namibia', 'youplay'),
	'nr' => __('Nauru', 'youplay'),
	'np' => __('Nepal', 'youplay'),
	'nl' => __('Netherlands', 'youplay'),
	'an' => __('Netherlands Antilles', 'youplay'),
	'nc' => __('New Caledonia', 'youplay'),
	'nz' => __('New Zealand', 'youplay'),
	'ni' => __('Nicaragua', 'youplay'),
	'ne' => __('Niger', 'youplay'),
	'ng' => __('Nigeria', 'youplay'),
	'nu' => __('Niue', 'youplay'),
	'nf' => __('Norfolk Island', 'youplay'),
	'mp' => __('Northern Mariana Islands', 'youplay'),
	'no' => __('Norway', 'youplay'),
	'om' => __('Oman', 'youplay'),
	'pk' => __('Pakistan', 'youplay'),
	'pw' => __('Palau', 'youplay'),
	'ps' => __('Palestinian Territory, Occupied', 'youplay'),
	'pa' => __('Panama', 'youplay'),
	'pg' => __('Papua New Guinea', 'youplay'),
	'py' => __('Paraguay', 'youplay'),
	'pe' => __('Peru', 'youplay'),
	'ph' => __('Philippines', 'youplay'),
	'pn' => __('Pitcairn', 'youplay'),
	'pl' => __('Poland', 'youplay'),
	'pt' => __('Portugal', 'youplay'),
	'pr' => __('Puerto Rico', 'youplay'),
	'qa' => __('Qatar', 'youplay'),
	'ro' => __('Romania', 'youplay'),
	'ru' => __('Russia', 'youplay'),
	'rw' => __('Rwanda', 'youplay'),
	're' => __('Réunion', 'youplay'),
	'sh' => __('Saint Helena, Ascension and Tristan da Cunha', 'youplay'),
	'kn' => __('Saint Kitts and Nevis', 'youplay'),
	'lc' => __('Saint Lucia', 'youplay'),
	'pm' => __('Saint Pierre and Miquelon', 'youplay'),
	'vc' => __('Saint Vincent and the Grenadines', 'youplay'),
	'ws' => __('Samoa', 'youplay'),
	'sm' => __('San Marino', 'youplay'),
	'st' => __('Sao Tome and Principe', 'youplay'),
	'sa' => __('Saudi Arabia', 'youplay'),
	'scotland' => __('Scotland', 'youplay'),
	'sn' => __('Senegal', 'youplay'),
	'rs' => __('Serbia', 'youplay'),
	'cs' => __('Serbia and Montenegro', 'youplay'),
	'sc' => __('Seychelles', 'youplay'),
	'sl' => __('Sierra Leone', 'youplay'),
	'sg' => __('Singapore', 'youplay'),
	'sk' => __('Slovakia', 'youplay'),
	'si' => __('Slovenia', 'youplay'),
	'sb' => __('Solomon Islands', 'youplay'),
	'so' => __('Somalia', 'youplay'),
	'za' => __('South Africa', 'youplay'),
	'gs' => __('South Georgia and the South Sandwich Islands', 'youplay'),
	'es' => __('Spain', 'youplay'),
	'lk' => __('Sri Lanka', 'youplay'),
	'sd' => __('Sudan', 'youplay'),
	'sr' => __('Suriname', 'youplay'),
	'sj' => __('Svalbard and Jan Mayen', 'youplay'),
	'sz' => __('Swaziland', 'youplay'),
	'se' => __('Sweden', 'youplay'),
	'ch' => __('Switzerland', 'youplay'),
	'sy' => __('Syrian Arab Republic', 'youplay'),
	'tw' => __('Taiwan, Province of China', 'youplay'),
	'tj' => __('Tajikistan', 'youplay'),
	'tz' => __('Tanzania, United Republic of', 'youplay'),
	'th' => __('Thailand', 'youplay'),
	'tl' => __('Timor-Leste', 'youplay'),
	'tg' => __('Togo', 'youplay'),
	'tk' => __('Tokelau', 'youplay'),
	'to' => __('Tonga', 'youplay'),
	'tt' => __('Trinidad and Tobago', 'youplay'),
	'tn' => __('Tunisia', 'youplay'),
	'tr' => __('Turkey', 'youplay'),
	'tm' => __('Turkmenistan', 'youplay'),
	'tc' => __('Turks and Caicos Islands', 'youplay'),
	'tv' => __('Tuvalu', 'youplay'),
	'ug' => __('Uganda', 'youplay'),
	'ua' => __('Ukraine', 'youplay'),
	'ae' => __('United Arab Emirates', 'youplay'),
	'gb' => __('United Kingdom', 'youplay'),
	'us' => __('United States', 'youplay'),
	'um' => __('United States Minor Outlying Islands', 'youplay'),
	'uy' => __('Uruguay', 'youplay'),
	'uz' => __('Uzbekistan', 'youplay'),
	'vu' => __('Vanuatu', 'youplay'),
	've' => __('Venezuela, Bolivarian Republic of', 'youplay'),
	'vn' => __('Viet Nam', 'youplay'),
	'vg' => __('Virgin Islands, British', 'youplay'),
	'vi' => __('Virgin Islands, U.S.', 'youplay'),
	'wales' => __('Wales', 'youplay'),
	'wf' => __('Wallis and Futuna', 'youplay'),
	'eh' => __('Western Sahara', 'youplay'),
	'ye' => __('Yemen', 'youplay'),
	'zm' => __('Zambia', 'youplay'),
	'zw' => __('Zimbabwe', 'youplay'),
	'ax' => __('Åland', 'youplay')
);
