41d40 < $scoresuffix=''; 44,50c43,44 < if (isset($_GET['from'])) { < if (isset($_GET['not']) && strpos(str_replace('+',' ',urldecode($_GET['from'])),'Score:') !== false) { < $scoresuffix=" if (parent.document.URL.split('&')[0] != ('" . str_replace('+',' ',urldecode($_GET['not'])) . "').split('&')[0]) { parent.washing('Score:' + '" . explode('Score:', str_replace('+',' ',urldecode($_GET['from'])))[1] . "'); } "; < file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'x9pck.x9pck', str_replace(' + pck;', ' + ' . $_GET['pck'] . ';',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js'])))) . $scoresuffix); < } < } < file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg__players_' . str_replace('+',' ',urldecode($_GET['to'])) . '.txt', str_replace(' + pck;', ' + ' . $_GET['pck'] . ';',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js'])))) . $scoresuffix); --- > if (isset($_GET['from'])) { file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'x9pck.x9pck', str_replace(' + pck;', ' + ' . $_GET['pck'] . ';',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js']))))); } > file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg__players_' . str_replace('+',' ',urldecode($_GET['to'])) . '.txt', str_replace(' + pck;', ' + ' . $_GET['pck'] . ';',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js']))))); 52,58c46,47 < if (isset($_GET['from'])) { < if (isset($_GET['not']) && strpos(str_replace('+',' ',urldecode($_GET['from'])),'Score:') !== false) { < $scoresuffix=" if (parent.document.URL.split('&')[0] != ('" . str_replace('+',' ',urldecode($_GET['not'])) . "').split('&')[0]) { parent.washing('Score:' + '" . explode('Score:', str_replace('+',' ',urldecode($_GET['from'])))[1] . "'); } "; < file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'x99nonpck.x99nonpck', str_replace(' + pck;', ' + pck;',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js'])))) . $scoresuffix); < } < } < file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg__players_' . str_replace('+',' ',urldecode($_GET['to'])) . '.txt', str_replace(' + pck;', ' + ' . $_GET['pck'] . ';',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js'])))) . $scoresuffix); --- > if (isset($_GET['from'])) { file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'x99nonpck.x99nonpck', str_replace(' + pck;', ' + pck;',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js']))))); } > file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg__players_' . str_replace('+',' ',urldecode($_GET['to'])) . '.txt', str_replace(' + pck;', ' + ' . $_GET['pck'] . ';',str_replace(' ',' + ',str_replace('+',' ',urldecode($_GET['js']))))); 91c80,81 < } else if (isset($_GET['sleep']) || isset($_GET['sleepx']) || isset($_GET['gsleep']) || isset($_GET['gsleepx'])) { --- > } else if (isset($_GET['sleep']) || isset($_GET['sleepx'])) { > sleep(5); 93c83 < if (isset($_GET['sleepx']) || isset($_GET['gsleepx'])) { $srasuff='x'; } --- > if (isset($_GET['sleepx'])) { $srasuff='x'; } 97,99c87 < if (strpos($jsextra, 'wash3=') !== false) { < unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg_players_' . server_remote_addr() . '.txt'); < } --- > //unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg_players_' . server_remote_addr() . '.txt'); 103,108c91 < if (strpos($jsextra, 'wash3=') !== false) { < unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg_players_' . server_remote_addr() . '.txt'); < } < } < if (strpos($jsextra, 'wash3=') === false || 2 == 2) { < sleep(5); --- > //unlink($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'cg_players_' . server_remote_addr() . '.txt'); 130c113 < //file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'xx5.x5',''); --- > file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'xx5.x5',''); 134c117 < //file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'xx5.x5', " if (parent.document.URL.indexOf('playwith=') == -1) { parent.document.getElementById('iam').value='" . str_replace('+',' ',urldecode($_GET['playwith'])) . "'; parent.document.getElementById('otheris').value='" . server_remote_addr() . $srasuff . "'; holdon=false; parent.document.getElementById('tdstatus').innerHTML='Select a Zener Card You Are Asking Your Player Partner to Guess ...'; } "); --- > file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'xx5.x5', " if (parent.document.URL.indexOf('playwith=') == -1) { parent.document.getElementById('iam').value='" . str_replace('+',' ',urldecode($_GET['playwith'])) . "'; parent.document.getElementById('otheris').value='" . server_remote_addr() . $srasuff . "'; holdon=false; parent.document.getElementById('tdstatus').innerHTML='Select a Zener Card You Are Asking Your Player Partner to Guess ...'; } "); 137c120 < //file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'xx5.xx5', " if (parent.document.URL.indexOf('playwith=') == -1) { parent.document.getElementById('iam').value='" . str_replace('+',' ',urldecode($_GET['playwith'])) . "'; parent.document.getElementById('otheris').value='" . server_remote_addr() . "'; holdon=false; } "); --- > file_put_contents($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'xx5.xx5', " if (parent.document.URL.indexOf('playwith=') == -1) { parent.document.getElementById('iam').value='" . str_replace('+',' ',urldecode($_GET['playwith'])) . "'; parent.document.getElementById('otheris').value='" . server_remote_addr() . "'; holdon=false; } ");