Quote:
Originally Posted by djohn
I guess, i have the same problem as gmarik, any way to get this awesome hack to work with cyrillic letters?
|
Just find in hangman.php
Add above
Code:
$Ralpha = "@?????Ũ??????????????????????????";
$links .= "<BR><BR>";
for ($c=0; $c<33; $c++)
{
if (strstr($letters, $Ralpha[$c]))
{
if (strstr($words[$n], $Ralpha[$c])) {$links .= "\n<B>$Ralpha[$c]</B> "; }
else { $links .= "\n<FONT color=\"red\">$Ralpha[$c] </font>"; $wrong++; }
}
else
{ $links .= "\n<A HREF=\"$PHP_SELF?letters=$Ralpha[$c]$letters&n=$n\">$Ralpha[$c]</A> "; }
}
$Ralfa="cyrillic letters"