/* Decoded by unphp.net */ isLogged() ) { $_do = ( isset($_REQUEST["do"]) and $_REQUEST["do"] == "set" ) ? "set":"old"; if ( $_do == 'set' and $l2cfg["chmail_activate"] ) { $hash = ( isset($_REQUEST["hash"]) ) ? urldecode( $_REQUEST["hash"] ):""; if ( empty($hash) ) { $_do = 'old'; } else { $hash = explode( '|', base64_decode($hash) ); if ( count($hash) != 5 or md5($hash[0].$hash[1].$hash[2].$hash[3].$l2cfg['salt']) != $hash[4] ) { $profile = "
incorrect hash
"; } elseif ( time() > $hash[3] + 259200 ) { $profile = "
������ ��������
"; } elseif ( $hash[0] != $controller->GetName() ) { $profile = "
������ �������������
"; } else { $db->ldb( $_lid ); $ldb[$_lid]->query( "UPDATE `accounts` SET `l2email`='".$ldb[$_lid]->safe($hash[1])."' WHERE `login`='".$ldb[$_lid]->safe($hash[0])."' AND `l2email`='".$ldb[$_lid]->safe($hash[2])."'" ); if ( $ldb[$_lid]->affected() > 0 ) { $tpl->ShowError( $lang["error"], '