3c3 < // English Word Associate via Yahoo YQL Thesaurus Until It Peters Out --- > // Word Associate via Yahoo YQL Thesaurus Until It Peters Out 21,24d20 < $score = 1; < $goes = 1; < < $lang = "English"; 26,36d21 < if (isset($_POST['language'])) $language = str_replace(" ","%20",$_POST['language']); < if (isset($_GET['language'])) $language = str_replace(" ","%20",$_GET['language']); < $dprefix = "http://www.thefreedictionary.com/"; < if ($language == "fr_FR") $dprefix = "http://www.systranet.com/dictionary/fr-en/"; < if ($language == "de_DE") $dprefix = "http://www.dict.cc/?s="; < if ($language == "es_ES") $dprefix = "http://www.wordreference.com/es/en/translation.asp?spen="; < if ($language == "it_IT") $dprefix = "http://www.wordreference.com/iten/"; < if ($language == "fr_FR") $lang = "French"; < if ($language == "de_DE") $lang = "German"; < if ($language == "es_ES") $lang = "Spanish"; < if ($language == "it_IT") $lang = "Italian"; 37a23,24 > $score = 1; > $goes = 1; 53c40 < $callbit = "?language=" . $language . "&1=" . urlencode($_GET['1']); --- > $callbit = "?1=" . urlencode($_GET['1']); 60c47 < $rest = str_replace("", " Optionally Email Snapshot of Game / Chat", $rest); --- > $rest = str_replace("", " Optionally Email Snapshot of Game / Chat", $rest); 76c63 < if (strpos($_SERVER['QUERY_STRING'], "score=") === false) $callbit = str_replace("&", "?language=" . $language . "&score=1&goes=1&", $callbit); --- > if (strpos($_SERVER['QUERY_STRING'], "score=") === false) $callbit = str_replace("&", "?score=1&goes=1&", $callbit); 79c66 < } else if ($language == "" || $language == "en_US") { --- > } else { 84,85c71,72 < $callbit = "?language=" . $language . "&score=1&goes=1&1=" . urlencode($startword) . "&2="; < $rest = " Optionally Email Snapshot of Game / Chat"; --- > $callbit = "?score=1&goes=1&1=" . urlencode($startword) . "&2="; > $rest = " Optionally Email Snapshot of Game / Chat"; 91c78,79 < --- > > 110,116c98 < $proposed = str_replace(" (umgangssprachlich)", "", str_replace(" (antonym)", "", str_replace(" (related term)", "", str_replace(" (similar term)", "", $mywords[$ii])))); < $huhs = explode(" (", $proposed); < if (sizeof($huhs) > 1) $proposed = $huhs[0]; < if (substr(($proposed . " "), 0, 1) == "(") { < $huhs = explode(") ", $proposed); < if (sizeof($huhs) > 1) $proposed = str_replace($huhs[0] . ") ", "", $proposed); < } --- > $proposed = str_replace(" (antonym)", "", str_replace(" (related term)", "", str_replace(" (similar term)", "", $mywords[$ii]))); 138,139c120,121 < $callbit = "?language=" . $language . "&score=1&goes=1&1=" . $startword . "&2="; < $rest = " Optionally Email Snapshot of Game / Chat"; --- > $callbit = "?score=1&goes=1&1=" . $startword . "&2="; > $rest = " Optionally Email Snapshot of Game / Chat"; 149,152d130 < if (str_replace("achat", "", $rest) == $rest) { < $rest = str_replace("", " Optionally Email Snapshot of Game / Chat", $rest); < } < 161c139 <