스팸방지 를 자동등록방지 로 수정
This commit is contained in:
@ -16,7 +16,7 @@ if (substr_count($to, "@") > 1)
|
||||
|
||||
|
||||
if (!chk_captcha()) {
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
alert('자동등록방지 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ function chk_captcha()
|
||||
}
|
||||
});
|
||||
if (!captcha_result) {
|
||||
alert("스팸방지 숫자가 틀렸습니다.");
|
||||
alert("자동등록방지 숫자가 틀렸습니다.");
|
||||
captcha_key.select();
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@ if ($is_guest)
|
||||
alert('회원만 이용하실 수 있습니다.');
|
||||
|
||||
if (!chk_captcha()) {
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
alert('자동등록방지 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
$recv_list = explode(',', trim($_POST['me_recv_mb_id']));
|
||||
|
||||
@ -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');
|
||||
|
||||
@ -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'])
|
||||
|
||||
@ -17,7 +17,7 @@ if ($w == 'u' && $is_admin == 'super') {
|
||||
}
|
||||
|
||||
if (!chk_captcha()) {
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
alert('자동등록방지 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
$mb_id = escape_trim($_POST['mb_id']);
|
||||
|
||||
@ -22,7 +22,7 @@ if ($is_guest) {
|
||||
if ($wr_name == '')
|
||||
alert('이름은 필히 입력하셔야 합니다.');
|
||||
if(!chk_captcha())
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
alert('자동등록방지 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
if ($w == "c" || $w == "cu") {
|
||||
|
||||
@ -149,7 +149,7 @@ if ($w == '' || $w == 'u') {
|
||||
}
|
||||
|
||||
if ($is_guest && !chk_captcha()) {
|
||||
alert('스팸방지에 입력한 숫자가 틀렸습니다.');
|
||||
alert('자동등록방지 숫자가 틀렸습니다.');
|
||||
}
|
||||
|
||||
if ($w == '' || $w == 'r') {
|
||||
|
||||
Reference in New Issue
Block a user