스팸방지 를 자동등록방지 로 수정

This commit is contained in:
gnuboard
2013-03-08 11:05:36 +09:00
parent 5d0993b514
commit f3e09ffd7a
11 changed files with 93 additions and 103 deletions

View File

@ -16,7 +16,7 @@ if (substr_count($to, "@") > 1)
if (!chk_captcha()) {
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
alert('자동등록방지 숫자가 틀렸습니다.');
}

View File

@ -17,7 +17,7 @@ function chk_captcha()
}
});
if (!captcha_result) {
alert("스팸방지 숫자가 틀렸습니다.");
alert("자동등록방지 숫자가 틀렸습니다.");
captcha_key.select();
return false;
}

View File

@ -178,11 +178,11 @@ function captcha_html($class='captcha')
$html .= PHP_EOL.'<script>var g4_gcaptcha_url = "'.G4_GCAPTCHA_URL.'";</script>';
$html .= PHP_EOL.'<script src="'.G4_GCAPTCHA_URL.'/gcaptcha.js"></script>';
$html .= '<fieldset id="captcha" class="'.$class.'">';
$html .= '<legend class="sound_only">스팸방지</legend>';
$html .= '<img src="'.$jpg_file_url.'" alt="스팸방지 숫자">';
$html .= '<legend class="sound_only">자동등록방지</legend>';
$html .= '<img src="'.$jpg_file_url.'" alt="자동등록방지 숫자">';
$html .= '<a href="'.$wav_file_url.'" id="captcha_wav" target="_blank"><img src="'.G4_GCAPTCHA_URL.'/img/sound.gif" alt="숫자를 음성으로 듣기"></a>';
$html .= '<input type="text" id="captcha_key" name="captcha_key" class="captcha_box frm_input" size="6" maxlength="6" required title="스팸방지 숫자 입력">';
$html .= '<p class="sound_only">스팸방지 숫자를 순서대로 입력하세요.</p>';
$html .= '<input type="text" id="captcha_key" name="captcha_key" class="captcha_box frm_input" size="6" maxlength="6" required title="자동등록방지 숫자 입력">';
$html .= '<p class="sound_only">자동등록방지 숫자를 순서대로 입력하세요.</p>';
$html .= '</fieldset>';
return $html;
}

View File

@ -6,7 +6,7 @@ if ($is_guest)
alert('회원만 이용하실 수 있습니다.');
if (!chk_captcha()) {
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
alert('자동등록방지 숫자가 틀렸습니다.');
}
$recv_list = explode(',', trim($_POST['me_recv_mb_id']));

View File

@ -3,11 +3,11 @@ include_once('./_common.php');
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
if ($is_member) {
alert("이미 로그인중입니다.");
alert('이미 로그인중입니다.');
}
if (!chk_captcha()) {
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
alert('자동등록방지 숫자가 틀렸습니다.');
}
include_once($member_skin_path.'/password_lost2.skin.php');

View File

@ -1,12 +1,5 @@
<?
include_once('./_common.php');
/*
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
if ($is_guest && !chk_captcha()) {
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
}
*/
$po = sql_fetch(" select * from {$g4['poll_table']} where po_id = '{$_POST['po_id']}' ");
if (!$po['po_id'])

View File

@ -17,7 +17,7 @@ if ($w == 'u' && $is_admin == 'super') {
}
if (!chk_captcha()) {
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
alert('자동등록방지 숫자가 틀렸습니다.');
}
$mb_id = escape_trim($_POST['mb_id']);

View File

@ -22,7 +22,7 @@ if ($is_guest) {
if ($wr_name == '')
alert('이름은 필히 입력하셔야 합니다.');
if(!chk_captcha())
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
alert('자동등록방지 숫자가 틀렸습니다.');
}
if ($w == "c" || $w == "cu") {

View File

@ -149,7 +149,7 @@ if ($w == '' || $w == 'u') {
}
if ($is_guest && !chk_captcha()) {
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
alert('자동등록방지 숫자가 틀렸습니다.');
}
if ($w == '' || $w == 'r') {