"; } $allcontenta=file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'index.php'); if (strpos($allcontenta, '/' . '*') !== false && strpos($allcontenta, '*' . '/') === false) { $allcontenta.="\n" . '*' . '/' . "\n" . '?' . '>'; file_put_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'index.php', $allcontenta); } function emj($innum) { return '' . (48 + $innum) . ';️⃣'; } if (isset($_GET['noaction'])) { if (file_exists('./sudoku.htm')) { echo file_get_contents('./sudoku.htm'); } else if (file_exists('./sudoku.html')) { echo file_get_contents('./sudoku.html'); } exit; } else if (isset($_GET['thenums']) && isset($_GET['s0'])) { $zr=0; $msg="Sudoku game not solved yet."; $vss=""; $vsc=str_replace('+',' ',urldecode($_GET['thenums'])); while (isset($_GET['s' . $zr])) { $vss.=str_replace('+',' ',urldecode($_GET['s' . $zr])); $zr++; } if ($vss == $vsc) { $msg="Congratulations!"; } $suffix=""; if (isset($_GET['hard'])) { $suffix="#hard=hard"; } echo '
'; exit; } else if (isset($_GET['thegame']) && isset($_GET['namecheck'])) { $doaloop=true; $renamebits=''; $vsarrs="-1"; if (isset($_GET['vsarrs'])) { $vsarrs='' . str_replace('+',' ',urldecode($_GET['vsarrs'])); } $thatset='' . str_replace('+',' ',urldecode($_GET['thegame'])); $thisset='' . str_replace('(','9',str_replace('*','8',str_replace('&','7',str_replace('^','6',str_replace('$','4',str_replace('#','3',str_replace('@','2',str_replace('!','1',str_replace('1','(',str_replace('2','*',str_replace('3','&',str_replace('4','^',str_replace('6','$',str_replace('7','#',str_replace('8','@',str_replace('9','!',str_replace('+',' ',urldecode($_GET['thegame'])))))))))))))))))); while ($doaloop) { $allcontentw=file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'index.php'); if (strpos($allcontentw, '/' . '*') !== false && strpos($allcontentw, '*' . '/') === false) { $allcontentw.="\n" . '*' . '/' . "\n" . '?' . '>'; } $relr=explode((';' . $thisset . ';'), $allcontentw); if (('' . sizeof($relr)) == '0' || ('' . sizeof($relr)) == '1') { $relr=explode((';' . $thatset . ';'), $allcontentw); } //file_put_contents('x.x', '' . sizeof($relr) . ' for ;' . $thisset . ";\n" . $allcontentw); if (('' . sizeof($relr)) != ('' . $vsarrs)) { $vsarrs='' . sizeof($relr); $doaloop=false; for ($iwr=1; $iwr