20 && strpos($xqwqpx, ":") !== false && strpos($xqwqpx, ".") !== false) { $ipv=file_get_contents('./index.php'); if (strpos(("~" . $ipv), '~
document.getElementById('defv" . urldecode($_GET['lldefvnum']) . "').value=\"" . explode(',',explode('{"lat":',$wcontll)[1])[0] . '|' . explode('}',explode(',"lon":',$wcontll)[1])[0] . '|' . urldecode($_GET['llplace']) . "\";"; } else if (strpos($wcontll, '>' . str_replace('_',' ',urldecode($_GET['llplace'])) . ',') !== false) { $wurl.=',' . str_replace(' ','_',explode('', explode('>' . str_replace('_',' ',urldecode($_GET['llplace'])) . ',', $wcontll)[1])[0]); if (strpos($wurl, "<") === false) { $wcontll=@file_get_contents($wurl); } if (strpos($wcontll, '{"lat":') !== false && strpos($wcontll, ',"lon":') !== false) { echo "document.getElementById('defv" . urldecode($_GET['lldefvnum']) . "').value=\"" . explode(',',explode('{"lat":',$wcontll)[1])[0] . '|' . explode('}',explode(',"lon":',$wcontll)[1])[0] . '|' . urldecode($_GET['llplace']) . "\";"; } else { //if (!file_exists("nogoes.txt")) { //file_put_contents("nogoes.txt", $wurl . "\n"); //} else { //$bads=file_get_contents("nogoes.txt"); //if (strpos($bads, $wurl) === false) { //file_put_contents("nogoes.txt", $wurl . "\n" . $bads); //} //} echo "document.getElementById('defv" . urldecode($_GET['lldefvnum']) . "').value=\"\";"; } } else { //if (!file_exists("nogoes.txt")) { //file_put_contents("nogoes.txt", $wurl . "\n\n"); //} else { //$bads=file_get_contents("nogoes.txt"); //if (strpos($bads, $wurl) === false) { //file_put_contents("nogoes.txt", $wurl . "\n\n" . $bads); //} //} echo "document.getElementById('defv" . urldecode($_GET['lldefvnum']) . "').value=\"\";"; } } exit; } $drc=""; $wqform=""; $quizhtml=""; $quizcontinent=""; $isoreplace=""; $burl=""; $bdivstart=""; $bdivend=""; $cdivc="background-color: yellow;"; $mapspanstyle=""; $gspanstyle=" .border { border: 1px solid blue; } .bcoly { background-color: yellow; } .wmrl { writing-mode:vertical-rl; } .wmlr { writing-mode:vertical-lr; } .wmtb { writing-mode:horizontal-tb; } .xxsmall { font-size:xx-small; } .xsmall { font-size:x-small; } .small { font-size:small; } .medium { font-size:medium; } .large { font-size:large; } .xlarge { font-size:x-large; } .xxlarge { font-size:xx-large; } .smaller { font-size:smaller; } .larger { font-size:larger; } .tenp { font-size:10%; } .twentyp { font-size:20%; } .fiftyp { font-size:50%; } .onefiftyp { font-size:150%; } .twohundredp { font-size:200%; } .threehundredp { font-size:300%; } .fourhundredp { font-size:400%; } .fivehundredp { font-size:500%; } .sixhundredp { font-size:600%; } .glow { -webkit-animation: glow 1s ease-in-out infinite alternate; -moz-animation: glow 1s ease-in-out infinite alternate; animation: glow 1s ease-in-out infinite alternate; } @-webkit-keyframes glow { from { box-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 37px #e60073, 0 0 9px #e60073, 0 0 11px #e60073, 0 0 13px #e60073, 0 0 15px #e60073; } to { box-shadow: 0 0 24px #fff, 0 0 6px #ff4da6, 0 0 8px #ff4da6, 0 0 10px #ff4da6, 0 0 12px #ff4da6, 0 0 14px #ff4da6, 0 0 16px #ff4da6; } } .cglow { box-shadow-bottom-right-radius: 50%; box-shadow-bottom-left-radius: 50%; box-shadow-top-right-radius: 50%; box-shadow-top-left-radius: 50%; -webkit-animation: cglow 1s ease-in-out infinite alternate; -moz-animation: cglow 1s ease-in-out infinite alternate; animation: cglow 1s ease-in-out infinite alternate; -webkit-border-radius: 50%; border-radius: 50%; } @-webkit-keyframes cglow { from { box-shadow: 0 0 3px #fff, 0 0 5px #fff, 0 0 37px #e60073, 0 0 9px #e60073, 0 0 11px #e60073, 0 0 13px #e60073, 0 0 15px #e60073; box-shadow-bottom-right-radius: 50%; box-shadow-bottom-left-radius: 50%; box-shadow-top-right-radius: 50%; box-shadow-top-left-radius: 50%; } to { box-shadow: 0 0 24px #fff, 0 0 6px #ff4da6, 0 0 8px #ff4da6, 0 0 10px #ff4da6, 0 0 12px #ff4da6, 0 0 14px #ff4da6, 0 0 16px #ff4da6; box-shadow-bottom-right-radius: 50%; box-shadow-bottom-left-radius: 50%; box-shadow-top-right-radius: 50%; box-shadow-top-left-radius: 50%; } } "; $nondefs=" "; $guess=""; $guessquestion=""; if (isset($_POST['guess'])) { $nondefs="legend: 'none',"; $guess=urldecode($_POST['guess']); if (isset($_POST['question'])) { $guessquestion=urldecode($_POST['question']); } else if (isset($_GET['question'])) { $guessquestion=urldecode($_GET['question']); } } else if (isset($_GET['guess'])) { $nondefs="legend: 'none',"; $guess=urldecode($_GET['guess']); if (isset($_POST['question'])) { $guessquestion=urldecode($_POST['question']); } else if (isset($_GET['question'])) { $guessquestion=urldecode($_GET['question']); } } else { $nondefs=""; } $top=""; if (isset($_POST['area']) || isset($_GET['area'])) $top=" "; $ntop="1"; $roff="0"; $mtop="1"; $newextras=""; $lastgo = ""; $GETimage = ""; $myextras = " + ' or maybe perhaps ' + '\\n\\n' + ',\"A tooltip (regarding {popularity}) of some sort like {country}\"' + '\\n\\n'"; $lri=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]; //$dri=["U+1F1E6","U+1F1E7","U+1F1E8","U+1F1E9","U+1F1EA","U+1F1EB","U+1F1EC","U+1F1ED","U+1F1EE","U+1F1EF","U+1F1F0","U+1F1F1","U+1F1F2","U+1F1F3","U+1F1F4","U+1F1F5","U+1F1F6","U+1F1F7","U+1F1F8","U+1F1F9","U+1F1FA","U+1F1FB","U+1F1FC","U+1F1FD","U+1F1FE","U+1F1FF"]; $dri=["127462","127463","127464","127465","127466","127467","127468","127469","127470","127471","127472","127473","127474","127475","127476","127477","127478","127479","127480","127481","127482","127483","127484","127485","127486","127487"]; $ourtzlist=""; $flagentity=""; $ourtitles=[""]; $whblurb = " ... note that floats to three decimal places of abscissa up to 100 represent negative percentage offsets proportional to integer part."; $inplace=""; $iso_country_codes=['AF','Afghanistan', 'AX','Aland Islands', 'AL','Albania', 'DZ','Algeria', 'AS','American Samoa', 'AD','Andorra', 'AO','Angola', 'AI','Anguilla', 'AQ','Antarctica', 'AG','Antigua and Barbuda', 'AR','Argentina', 'AM','Armenia', 'AW','Aruba', 'AU','Australia', 'AT','Austria', 'AZ','Azerbaijan', 'BS','Bahamas the', 'BH','Bahrain', 'BD','Bangladesh', 'BB','Barbados', 'BY','Belarus', 'BE','Belgium', 'BZ','Belize', 'BJ','Benin', 'BM','Bermuda', 'BT','Bhutan', 'BO','Bolivia', 'BA','Bosnia and Herzegovina', 'BW','Botswana', 'BV','Bouvet Island (Bouvetoya)', 'BR','Brazil', 'IO','British Indian Ocean Territory (Chagos Archipelago)', 'VG','British Virgin Islands', 'BN','Brunei Darussalam', 'BG','Bulgaria', 'BF','Burkina Faso', 'BI','Burundi', 'KH','Cambodia', 'CM','Cameroon', 'CA','Canada', 'CV','Cape Verde', 'KY','Cayman Islands', 'CF','Central African Republic', 'TD','Chad', 'CL','Chile', 'CN','China', 'CX','Christmas Island', 'CC','Cocos (Keeling) Islands', 'CO','Colombia', 'KM','Comoros the', 'CD','Congo', 'CG','Congo the', 'CK','Cook Islands', 'CR','Costa Rica', 'CI','Cote d\'Ivoire', 'HR','Croatia', 'CU','Cuba', 'CY','Cyprus', 'CZ','Czech Republic', 'DK','Denmark', 'DJ','Djibouti', 'DM','Dominica', 'DO','Dominican Republic', 'EC','Ecuador', 'EG','Egypt', 'SV','El Salvador', 'GQ','Equatorial Guinea', 'ER','Eritrea', 'EE','Estonia', 'ET','Ethiopia', 'FO','Faroe Islands', 'FK','Falkland Islands (Malvinas)', 'FJ','Fiji', 'FI','Finland', 'FR','France, French Republic', 'GF','French Guiana', 'PF','French Polynesia', 'TF','French Southern Territories', 'GA','Gabon', 'GM','Gambia the', 'GE','Georgia', 'DE','Germany', 'GH','Ghana', 'GI','Gibraltar', 'GR','Greece', 'GL','Greenland', 'GD','Grenada', 'GP','Guadeloupe', 'GU','Guam', 'GT','Guatemala', 'GG','Guernsey', 'GN','Guinea', 'GW','Guinea-Bissau', 'GY','Guyana', 'HT','Haiti', 'HM','Heard Island and McDonald Islands', 'VA','Holy See (Vatican City State)', 'HN','Honduras', 'HK','Hong Kong', 'HU','Hungary', 'IS','Iceland', 'IN','India', 'ID','Indonesia', 'IR','Iran', 'IQ','Iraq', 'IE','Ireland', 'IM','Isle of Man', 'IL','Israel', 'IT','Italy', 'JM','Jamaica', 'JP','Japan', 'JE','Jersey', 'JO','Jordan', 'KZ','Kazakhstan', 'KE','Kenya', 'KI','Kiribati', 'KP','Korea', 'KR','Korea', 'KW','Kuwait', 'KG','Kyrgyz Republic', 'kg','Kyrgyzstan', 'LA','Laos', 'LV','Latvia', 'LB','Lebanon', 'LS','Lesotho', 'LR','Liberia', 'LY','Libyan Arab Jamahiriya', 'LI','Liechtenstein', 'LT','Lithuania', 'LU','Luxembourg', 'MO','Macao', 'MK','North Macedonia', 'Mk','Macedonia', 'MG','Madagascar', 'MW','Malawi', 'MY','Malaysia', 'MV','Maldives', 'ML','Mali', 'MT','Malta', 'MH','Marshall Islands', 'MQ','Martinique', 'MR','Mauritania', 'MU','Mauritius', 'YT','Mayotte', 'MX','Mexico', 'FM','Micronesia', 'MD','Moldova', 'MC','Monaco', 'MN','Mongolia', 'ME','Montenegro', 'MS','Montserrat', 'MA','Morocco', 'MZ','Mozambique', 'MM','Myanmar', 'NA','Namibia', 'NR','Nauru', 'NP','Nepal', 'AN','Netherlands Antilles', 'NL','Netherlands the', 'NC','New Caledonia', 'NZ','New Zealand', 'NI','Nicaragua', 'NE','Niger', 'NG','Nigeria', 'NU','Niue', 'NF','Norfolk Island', 'MP','Northern Mariana Islands', 'NO','Norway', 'OM','Oman', 'PK','Pakistan', 'PW','Palau', 'PS','Palestinian Territory', 'PA','Panama', 'PG','Papua New Guinea', 'PY','Paraguay', 'PE','Peru', 'PH','Philippines', 'PN','Pitcairn Islands', 'PL','Poland', 'PT','Portugal, Portuguese Republic', 'PR','Puerto Rico', 'QA','Qatar', 'RE','Reunion', 'RO','Romania', 'RU','Russia', 'Ru','Russian Federation', 'RW','Rwanda', 'BL','Saint Barthelemy', 'SH','Saint Helena', 'KN','Saint Kitts and Nevis', 'LC','Saint Lucia', 'MF','Saint Martin', 'PM','Saint Pierre and Miquelon', 'VC','Saint Vincent and the Grenadines', 'WS','Samoa', 'SM','San Marino', 'ST','Sao Tome and Principe', 'SA','Saudi Arabia', 'SN','Senegal', 'RS','Serbia', 'SC','Seychelles', 'SL','Sierra Leone', 'SG','Singapore', 'SK','Slovakia (Slovak Republic)', 'SI','Slovenia', 'SB','Solomon Islands', 'SO','Somalia, Somali Republic', 'ZA','South Africa', 'GS','South Georgia and the South Sandwich Islands', 'ES','Spain', 'LK','Sri Lanka', 'SD','Sudan', 'SR','Suriname', 'SJ','Svalbard & Jan Mayen Islands', 'SZ','Swaziland', 'SE','Sweden', 'CH','Switzerland, Swiss Confederation', 'SY','Syrian Arab Republic', 'TW','Taiwan', 'TJ','Tajikistan', 'TZ','Tanzania', 'TH','Thailand', 'TL','Timor-Leste', 'TG','Togo', 'TK','Tokelau', 'TO','Tonga', 'TT','Trinidad and Tobago', 'TN','Tunisia', 'TR','Turkey', 'TM','Turkmenistan', 'TC','Turks and Caicos Islands', 'TV','Tuvalu', 'UG','Uganda', 'UA','Ukraine', 'AE','United Arab Emirates', 'GB','United Kingdom', 'US','United States of America', 'UM','United States Minor Outlying Islands', 'VI','United States Virgin Islands', 'UY','Uruguay, Eastern Republic of', 'UZ','Uzbekistan', 'VU','Vanuatu', 'VE','Venezuela', 'VN','Vietnam', 'WF','Wallis and Futuna', 'EH','Western Sahara', 'YE','Yemen', 'ZM','Zambia', 'ZW','Zimbabwe']; $gwqp=""; $qinterim=""; if (isset($_GET['wqperspective'])) { $gwqp=str_replace('+',' ',urldecode($_GET['wqperspective'])); if ($gwqp != "") { // Monday 10 Feb 2020 06:38:54 $dotbits=explode(".", $gwqp); if (strlen($gwqp) > 20 && strpos($gwqp, ":") !== false && strpos($gwqp, ".") !== false) { $ipv=file_get_contents('./index.php'); if (strpos($ipv, '// ' . $gwqp . "\n") !== false) { if (strlen($dotbits[-1 + sizeof($dotbits)]) == 4) { file_put_contents('./index.php', str_replace('// ' . $gwqp . "\n", "", $ipv)); $gwqp=chr(substr($dotbits[-1 + sizeof($dotbits)],0,2)) . chr(substr($dotbits[-1 + sizeof($dotbits)],2,2)); //$qinterim="\n alert(String.fromCharCode(64) + String.fromCharCode(32) + firstchoice); \n"; } else { $gwqp="AD"; } } else { $gwqp=""; } } else { $gwqp=""; } } } if (isset($_POST['wqperspective']) || $gwqp != "") { $thedate=date('l d M Y H:i:s'); $ghf=""; if ($gwqp == "") { $ghf=strtoupper(str_replace('+',' ',urldecode($_POST['wqperspective']))); } else { $ghf=strtoupper($gwqp); } $mygurl="//www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php?title=AD;My%20World%20Quiz%20Zoom%20In%20Question&arexplaces=y&aregeographicals=http.South_Pole%2Chttp.Round_from_South_Pole&peninfo=South%20Pole,+Round%20fromn%20South%20Pole&width=556&height=347&country=Places&popularity=Quiz&data=%20[-89.99|-179.99|~South%20Pole~,1]%20,%20[-89.99|178.99|~Round%20from%20South%20Pole~,1]%20,%20[-89.99|178.99|~AD~,1]"; $myrurl="//www.rjmprogramming.com.au/PHP/GeoChart/geo_chart.php?title=Quiz%20Zoom%20Out%20Answer&width=556&height=347&country=Places&popularity=Quiz&arexplaces=y&aregeographicals=http.South_Pole%2Chttp.Round_from_South_Pole&peninfo=South%20Pole,+Round%20fromn%20South%20Pole&data=%20[-89.99|-179.99|~South%20Pole~,1]%20,%20[-89.99|178.99|~Round%20from%20South%20Pole~,1]"; $jsis=" var myrorig='', score=0, goes=0, selihis='', answer='', lastanswer='ad', lastfanswer='Andorra', thisanswer=''; var yourtzlist=''; var chfrom='', chto='', gsv=''; var smsorig=''; var smsdateorig=''; var firstchoice='" . $ghf . "'; var lri='ABCDEFGHIJKLMNOPQRSTUVWXYZ'; var dri=['127462','127463','127464','127465','127466','127467','127468','127469','127470','127471','127472','127473','127474','127475','127476','127477','127478','127479','127480','127481','127482','127483','127484','127485','127486','127487']; if (!String.fromCodePoint) { // thanks to http://xahlee.info/js/js_unicode_code_point.html // ES6 Unicode Shims 0.1 , © 2012 Steven Levithan , MIT License String.fromCodePoint = function fromCodePoint () { var chars = [], point, offset, units, i; for (i = 0; i < arguments.length; ++i) { point = arguments[i]; offset = point - 0x10000; units = point > 0xFFFF ? [0xD800 + (offset >> 10), 0xDC00 + (offset & 0x3FF)] : [point]; chars.push(String.fromCharCode.apply(null, units)); } return chars.join(''); } } function smswho() { if (smsorig == '') { smsorig=document.getElementById('smssend').href.split('0000')[0]; } if (smsdateorig == '') { smsdateorig=document.getElementById('smsdate').value; } var smsto=prompt('SMS to?', document.getElementById('smssend').href.split('sms:')[1].split('?')[0].split('&')[0]); if (smsto == null) { smsto = ''; } if (smsto.trim() != '') { document.getElementById('smsdate').value=smsdateorig + '.' + gsv.substring(0,1).charCodeAt(0) + gsv.substring(1).substring(0,1).charCodeAt(0); document.getElementById('smsbut').click(); document.getElementById('smssend').href=(smsorig + '' + gsv.substring(0,1).charCodeAt(0) + gsv.substring(1).substring(0,1).charCodeAt(0)).replace('sms:?','sms:' + smsto + '?').replace('sms:&','sms:' + smsto + '&'); document.getElementById('smssend').click(); } } function emailwho() { var emto=prompt('Email to?', document.getElementById('emailto').value); if (emto == null) { emto = ''; } if (emto.indexOf('@') != -1) { document.getElementById('emailto').value=emto; document.getElementById('hcont').value=''; document.getElementById('iemail').click(); } } function orflag(thiscc) { var ccsuff='', ccchar=' ', cde=''; for (var iccsuff=0; iccsuff