"; function inputstr($txt) { $file = "inputchr.dat"; $handle = fopen($file, "r"); $n = fread($handle, 3); for ($i = 0; $i < $n; $i++) { $nn = fread($handle, 1); $s = ""; for ($ii = 0; $ii < $nn; $ii++) $s .= chr(fread($handle, 3)); $c = fread($handle, 1); $txt = str_replace($s, $c, $txt); } fclose($handle); $txt = str_replace('\\\\', '\\', $txt); $txt = str_replace('\\\'', '\'', $txt); $txt = str_replace('\\"', '"', $txt); $txt = str_replace(chr(13) . chr(10), chr(1), $txt); $txt = str_replace(chr(10), chr(1), $txt); $txt = str_replace(chr(13), chr(1), $txt); $txt = str_replace("**", chr(1), $txt); $txt = str_replace("*A", 'Á', $txt); $txt = str_replace("*a", 'á', $txt); $txt = str_replace("*E", 'É', $txt); $txt = str_replace("*e", 'é', $txt); $txt = str_replace("*I", 'Í', $txt); $txt = str_replace("*i", 'í', $txt); $txt = str_replace("*O:", 'Ö', $txt); $txt = str_replace("*o:", 'ö', $txt); $txt = str_replace("*O=", 'Ő', $txt); $txt = str_replace("*o=", 'ő', $txt); $txt = str_replace("*O", 'Ó', $txt); $txt = str_replace("*o", 'ó', $txt); $txt = str_replace("*U:", 'Ü', $txt); $txt = str_replace("*u:", 'ü', $txt); $txt = str_replace("*U=", 'Ű', $txt); $txt = str_replace("*u=", 'ű', $txt); $txt = str_replace("*U", 'Ú', $txt); $txt = str_replace("*u", 'ú', $txt); return $txt; } function outputusr($s) { $s = str_replace("&", '&', $s); $s = str_replace("<", '<', $s); $s = str_replace(">", '>', $s); return $s; } function outputstr($s) { $s = str_replace("&", '&', $s); $s = str_replace("<", '<', $s); $s = str_replace(">", '>', $s); $s = str_replace(chr(1), $GLOBALS["brcmd"], $s); $s = " " . $s; $ss = ""; while ($s != "") { if ((strlen($s) >= 8) && (substr($s, 0, 8) == " http://")) { $s = substr($s, 1, strlen($s) - 1); $lnk = ""; while (($s != "") && ($s[0] != " ")) { $lnk = $lnk . $s[0]; $s = substr($s, 1, strlen($s) - 1); } $ss = $ss . " $lnk"; } else { $ss = $ss . $s[0]; $s = substr($s, 1, strlen($s) - 1); } } $s = substr($ss, 1, strlen($ss) - 1); return $s; } $tim = time(); echo "