28,66d27 < $eleven="11"; < $thirteen="13"; < < if (isset($_GET['level'])) { < < if ($_GET['level'] == 'easiest') { < $eleven="3"; < $thirteen="5"; < } else if ($_GET['level'] == 'easy') { < $eleven="5"; < $thirteen="8"; < } else if ($_GET['level'] == 'hard') { < $eleven="8"; < $thirteen="11"; < } else if ($_GET['level'] == 'difficult') { < $eleven="11"; < $thirteen="13"; < } else { < $eleven="11"; < $thirteen="13"; < } < < } else if (isset($_GET['easiest'])) { < $eleven="3"; < $thirteen="5"; < } else if (isset($_GET['easy'])) { < $eleven="5"; < $thirteen="8"; < } else if (isset($_GET['hard'])) { < $eleven="8"; < $thirteen="11"; < } else if (isset($_GET['difficult'])) { < $eleven="11"; < $thirteen="13"; < } else { < $eleven="11"; < $thirteen="13"; < } < 136,138c97 < $xxx=""; < if (isset($_GET['score'])) { $xxx="x"; } < $theword[0] = strtolower(file_get_contents("http://" . $_SERVER['SERVER_NAME'] . str_replace("::",":",":" . str_replace("~","",str_replace(":443~","",str_replace(":80~","",(":" . $_SERVER['SERVER_PORT'] . "~"))))) . "/PHP/surprise.php?min=" . $eleven . "&max=" . $thirteen . "&com" . $xxx . "mon=tou" . $xxx . "ch&youllneverfindthis=y")); --- > $theword[0] = strtolower(file_get_contents("http://" . $_SERVER['SERVER_NAME'] . str_replace("::",":",":" . str_replace("~","",str_replace(":443~","",str_replace(":80~","",(":" . $_SERVER['SERVER_PORT'] . "~"))))) . "/PHP/surprise.php?min=11&max=13&common=touch&youllneverfindthis=y")); 299c258 < location.href = ("./anagrams.php?=&score=" + score + "&outof=" + outof).replace('?11=', '?level=difficult').replace('?8=', '?level=hard').replace('?5=', '?level=easy').replace('?3=', '?level=easiest'); --- > location.href = "./anagrams.php?score=" + score + "&outof=" + outof; 316c275 < location.href = ("./anagrams.php?=&score=" + score + "&outof=" + outof).replace('?11=', '?level=difficult').replace('?8=', '?level=hard').replace('?5=', '?level=easy').replace('?3=', '?level=easiest'); --- > location.href = "./anagrams.php?score=" + score + "&outof=" + outof; 324c283 < if ((zhr.responseText.indexOf('
') != -1 && zhr.responseText.indexOf('>') == -1) || zhr.responseText.trim() != '') { --- > if (zhr.responseText.indexOf('') != -1 && zhr.responseText.indexOf('>') == -1) { 333c292 < alert('Try again.' + zhr.responseText + '!'); --- > alert('Try again.'); 339,364d297 < < function checkit(iois) { < var idhtml=''; < if (iois != null) { < var aconto = (iois.contentWindow || iois.contentDocument); < if (aconto != null) { < if (aconto.document) { aconto = aconto.document; } < if (aconto.body != null) { < idhtml=aconto.body.innerHTML.replace('','').replace('
',''); < } < } < } < if (iois.src.indexOf('?') != -1) { < if (idhtml != '') { < document.getElementById('myguess').setAttribute('data-correct', ajitone); < score = score + 1; < ajitone=''; < ajittwo=''; < goagain(0); < } else { < ajitone=''; < ajittwo=''; < alert('Try again.'); < } < } < } 370,377d302 < if (1 == 1) { < //alert(ajurl + '?iswordthere=' + ansis + '&anagramof=' + anaof + '&youllneverfindthis=y'); < if (anaof.trim() == '') { < document.getElementById('ifhuh').src=document.getElementById('ifhuh').src.split('?')[0] + '?iswordthere=' + ansis + '&youllneverfindthis=y'; < } else { < document.getElementById('ifhuh').src=document.getElementById('ifhuh').src.split('?')[0] + '?iswordthere=' + ansis + '&anagramof=' + anaof + '&youllneverfindthis=y'; < } < } else { 383c308 < zhr.open('get', ajurl, true); --- > zhr.open('get', ajurl, true); 387d311 < } 448c372 < location.href = ("./anagrams.php?=&score=" + score + "&outof=" + outof).replace('?11=', '?level=difficult').replace('?8=', '?level=hard').replace('?5=', '?level=easy').replace('?3=', '?level=easiest'); --- > location.href = "./anagrams.php?score=" + score + "&outof=" + outof; 456,459d379 < < function changelevel(sois) { < location.href=(document.URL.split('?')[0].split('#')[0] + '?level=' + sois.value + '&score=' + '&outof=').replace('&score=0&outof=0',''); < } 468,494c388,391 < echo "