--- templates/subSilver/agreement.tpl.orig Thu Sep 1 01:09:20 2005 +++ templates/subSilver/agreement.tpl Sat Aug 26 21:19:50 2006 @@ -12,7 +12,18 @@ - +

{AGREEMENT}




+ В связи с участившимся количеством спама на форуме нам хотелось бы быть уверенными + в том, что аккаунт регистрирует не робот. Пожалуйста, введите в поле ввода ниже + английское слово registration и нажмите кнопку OK для продолжения + регистрации.

+ +
+   + + +
+
--- includes/usercp_register.php.orig Sat Aug 26 21:10:47 2006 +++ includes/usercp_register.php Sat Aug 26 21:18:27 2006 @@ -84,6 +84,7 @@ include($phpbb_root_path . 'includes/page_tail.'.$phpEx); } + $coppa = ( empty($HTTP_POST_VARS['coppa']) && empty($HTTP_GET_VARS['coppa']) ) ? 0 : TRUE; // @@ -940,13 +941,19 @@ if ($row = $db->sql_fetchrow($result)) { - if ($row['attempts'] > 3) +/* if ($row['attempts'] > 3) { message_die(GENERAL_MESSAGE, $lang['Too_many_registers']); - } + }*/ } $db->sql_freeresult($result); + $nospam = ( isset($HTTP_GET_VARS['nospam']) ) ? $HTTP_GET_VARS['nospam'] : $HTTP_POST_VARS['nospam']; + $nospam = htmlspecialchars($nospam); + if ( $nospam != 'registration' ) { + message_die(GENERAL_ERROR, 'Пожалуйста, попробуйте ещё раз.'); + } + $confirm_chars = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '1', '2', '3', '4', '5', '6', '7', '8', '9'); list($usec, $sec) = explode(' ', microtime()); @@ -975,7 +982,6 @@ $template->assign_block_vars('switch_confirm', array()); } - // // Let's do an overall check for settings/versions which would prevent