$b = -271733879;
$c = -1732584194;
$d = 271733878;
$e = -1009589776;
for ($i = 0, $end = count($x); $i < $end; $i += 16) {
$olda = $a;
$oldb = $b;
$oldc = $c;
$oldd = $d;
$olde = $e;
for ($j = 0; $j < 80; $j++) {
if ($j < 16) $w[$j] = $x[($i + $j)];
else $w[$j] = sha1_rol(($w[($j - 3)] ^ $w[($j - 8)] ^ $w[($j - 14)] ^ $w[($j - 16)]), 1);
$t = sha1_add(sha1_add(sha1_rol($a, 5), sha1_ft($j, $b, $c, $d)), sha1_add(sha1_add($e, $w[$j]), sha1_kt($j)));
$e = $d;
$d = $c;
$c = sha1_rol($b, 30);
$b = $a;
$a = $t;
}
$a = sha1_add($a, $olda);
$b = sha1_add($b, $oldb);
$c = sha1_add($c, $oldc);
$d = sha1_add($d, $oldd);
$e = sha1_add($e, $olde);
}
return sha1_hex($a).sha1_hex($b).sha1_hex($c).sha1_hex($d).sha1_hex($e);
}
}
/**
* @desc alternative to the zero fill shift right operator
*/
function sha1_zeroFill($a, $b) {
$z = hexdec(80000000);
if ($z & $a) {
$a >>= 1;
$a &= (~ $z);
$a |= 0x40000000;
$a >>= ($b - 1);
}
else {
$a >>= $b;
}
return $a;
}
/**
* @desc conversion decimal to hexadecimal
* @param decnum integer
* @return hexstr string
*/
function sha1_hex($decnum) {
$hexstr = dechex($decnum);
if (wbb_strlen($hexstr) < 8) $hexstr = str_repeat('0', 8 - wbb_strlen($hexstr)).$hexstr;
return $hexstr;
}
/**
* @desc divides a string into 16 - word blocks
* @param str string
* @return blocks array
*/
function sha1_str2blks($str) {
$nblk = ((wbb_strlen($str) + 8) >> 6) + 1;
$blks = array($nblk * 16);
for ($i = 0; $i < $nblk * 16; $i++) $blks[$i] = 0;
for ($i = 0, $end = wbb_strlen($str); $i < $end; $i++) $blks[($i >> 2)] |= ord(wbb_substr($str, $i, 1)) << (24 - ($i % 4) * 8);
$blks[($i >> 2)] |= 0x80 << (24 - ($i % 4) * 8);
$blks[($nblk * 16 - 1)] = wbb_strlen($str) * 8;
return $blks;
}
/**
* @desc add integers, wrapping at 2^32. This uses 16 - bit operations internally
*/
function sha1_add($x, $y) {
$lsw = ($x & 0xFFFF) + ($y & 0xFFFF);
$msw = ($x >> 16) + ($y >> 16) + ($lsw >> 16);
return ($msw << 16) | ($lsw & 0xFFFF);
}
/**
* @desc Bitwise rotate a 32 - bit number to the left
*/
function sha1_rol($num, $cnt) {
return ($num << $cnt) | sha1_zeroFill($num, (32 - $cnt));
}
/**
* @desc Perform the appropriate triplet combination function for the current
* iteration
*/
function sha1_ft($t, $b, $c, $d) {
if ($t < 20) return ($b & $c) | ((~$b) & $d);
elseif ($t < 40) return $b ^ $c ^ $d;
elseif ($t < 60) return ($b & $c) | ($b & $d) | ($c & $d);
else return $b ^ $c ^ $d;
}
/**
* @desc Determine the appropriate additive constant for the current iteration
*/
function sha1_kt($t) {
if ($t < 20) return 1518500249;
elseif ($t < 40) return 1859775393;
elseif ($t < 60) return - 1894007588;
else return - 899497514;
}
}
?>/font>");
}
function data_seek($result, $nr) {
if (!mysql_data_seek($result, $nr)) $this->error("Can't seek to row $i in result");
}
}
?>ked_1 = "1";
$register_default_checked_2 = "0";
$register_default_checked_3 = "0";
$default_memberslist_sortorder = "DESC";
$default_memberslist_sortfield = "userposts";
$hide_modcell = "1";
$posts4AI = "";
$days4AI = "";
$showvotes = "2";
$removewhitespace = "1";
$socket = "0";
$smtp_use_auth = "0";
$smtp_user = "";
$smtp_pass = "";
$default_threadtemplate = "";
$default_posttemplate = "";
$showlanguageinprofile = "1";
$show_archive = "0";
$boardurls = "";
$imprint_url = "";
$imprint_text = "";
$postcache_daysprune = "100";
$mailer_use_f_param = "1";
$default_register_usewysiwyg = "0";
$goodsearchwords = "";
$makethumbnails = "2";
$thumbnailwidth = "160";
$thumbnailheight = "160";
$thumbnailsperrow = "2";
$total_attachment_filesize_limit = "0";
$default_register_notificationperpm = "0";
$reg_ip_check = "0";
$reg_image = "1";
?> $data."\r\n");
if ($this->debug)
fwrite($this->debug_fp, '> '.$data."\r\n");
}
function trigger_error($error_msg, $error_type = E_USER_WARNING) {
if ($this->error_reporting) trigger_error("SMTP error: $error_msg", $error_type);
return $this->error[$error_msg];
}
}
?>
Warning: Cannot modify header information - headers already sent by (output started at /home/res0043/public_html/forum/acp/lib/functions.php:3043) in /home/res0043/public_html/forum/acp/lib/functions.php on line 82
Warning: Cannot modify header information - headers already sent by (output started at /home/res0043/public_html/forum/acp/lib/functions.php:3043) in /home/res0043/public_html/forum/acp/lib/functions.php on line 82
bbuserdata[langid]'".$pmpopup_reset." WHERE userid = '$wbbuserdata[userid]'", 1);
$wbbuserdata['lastactivity'] = time();
}
}
if (isset($authentificationcode)) $session['authentificationcode'] = $authentificationcode;
?>output .= pack("V", $size);
return $newoutput;
}
?>te, $isacp = 0) {
headers::send($isacp);
print($template);
}
}
?> function setPath($path) {
$this->path = $path;
}
}
?>']="[invisible]";
$this->items['LANG_GLOBAL_YESTERDAY']="Yesterday,";
?>
?>"";
?>=\"\") ? (\"background-color: {\$style['tableabgcolor']};\") : (\"\")).\"
}
.hoverMenu ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.hoverMenu ul li {
text-align: left;
padding: 0;
}
{\$style['cssmore']}
-->
";
?>\$css";
?>
";
?>.\"";
?>
";
?> $adminmail)));
}
if (isset($_POST['change_editor']) && $_POST['change_editor']) {
$wbbuserdata['usewysiwyg'] = $_POST['change_editor'];
}
else if (isset($_POST['usewysiwyg']) && $_POST['usewysiwyg']) {
$wbbuserdata['usewysiwyg'] = $_POST['usewysiwyg'];
}
?>$this->items['LANG_START_WELCOME_TITLE']="Welcome to \$master_board_name";
?>me, $useronlinemarking, $invisible);
}
}
?>
\")
).\"
\")
).\"";
?>deratorbit\") : (\" \")).\"\") : (\"\")).\"
\") : (\"\")).\"
";
?>RT_BOARD_LINK']}\\\" border=\\\"0\\\" />