diff --git a/bbs/gcaptcha/gcaptcha.lib.php b/bbs/gcaptcha/gcaptcha.lib.php index 38a7daaf0..b8c6772fc 100644 --- a/bbs/gcaptcha/gcaptcha.lib.php +++ b/bbs/gcaptcha/gcaptcha.lib.php @@ -172,6 +172,7 @@ function captcha_html($class='captcha') $obj = new gcaptcha(); $obj->run(); + $rand = rand(); $jpg_file_url = G4_DATA_URL.'/cache/'.$obj->captcha_filename.'.jpg'; $wav_file_url = G4_DATA_URL.'/cache/'.$obj->captcha_filename.'.wav'; @@ -179,8 +180,8 @@ function captcha_html($class='captcha') $html .= "\n".''; $html .= '
'; $html .= '자동등록방지'; - $html .= '자동등록방지 숫자'; - $html .= '숫자를 음성으로 듣기'; + $html .= '자동등록방지 숫자'; + $html .= '숫자를 음성으로 듣기'; $html .= ''; $html .= '

자동등록방지 숫자를 순서대로 입력하세요.

'; $html .= '
'; diff --git a/bbs/gcaptcha/wav.php b/bbs/gcaptcha/wav.php deleted file mode 100644 index f45405a9e..000000000 --- a/bbs/gcaptcha/wav.php +++ /dev/null @@ -1,74 +0,0 @@ - 16){ - $header .= fread($fp,($info['Subchunk1Size']-16)); - } - - // read SubChunk2ID - $header .= fread($fp,4); - - // read Subchunk2Size - $size = unpack('vsize',fread($fp, 4)); - $size = $size['size']; - - // read data - $data .= fread($fp,$size); - } - - return '' - .pack('a4', 'RIFF') - .pack('V', strlen($data) + 36) - .pack('a4', 'WAVE') - .pack('a4', 'fmt ') - .pack('V', $info['Subchunk1Size']) // 16 - .pack('v', $info['AudioFormat']) // 1 - .pack('v', $info['NumChannels']) // 1 - .pack('V', $info['SampleRate']) // 8000 - .pack('V', $info['ByteRate']) // 8000 - .pack('v', $info['BlockAlign']) // 1 - .pack('v', $info['BitsPerSample']) // 8 - .pack('a4', 'data') - .pack('V', strlen($data)) - .$data; -} -?> diff --git a/bbs/member_email_check.php b/bbs/member_email_check.php deleted file mode 100644 index e9a796500..000000000 --- a/bbs/member_email_check.php +++ /dev/null @@ -1,45 +0,0 @@ - '{$member[mb_id]}' "; -else - $sql = " select mb_email from {$g4[member_table]} where mb_email = '{$mb_email}' "; -$row = sql_fetch($sql); - -if ($row[mb_email]) { - echo << - alert(''.$mb_email.'은(는) 이미 다른 회원이 사용하는 E-mail이므로 사용하실 수 없습니다.'); - //opener.fmbform.mb_email_enabled.value = "0"; // 새창으로 열 경우에... - parent.document.getElementById('mb_email_enabled').value = -1; - window.close(); - -HEREDOC; -} else { - if (!preg_match("/([0-9a-zA-Z_-]+)@([0-9a-zA-Z_-]+)\.([0-9a-zA-Z_-]+)/", $mb_email)) { - echo << - alert(''.$mb_email.'은(는) E-mail 주소 형식이 아니므로 사용하실 수 없습니다.'); - parent.document.getElementById('mb_email_enabled').value = ''; - window.close(); - -HEREDOC; - } else { - echo << - alert(''.$mb_email.'은(는) 중복된 E-mail이 없습니다.'.PHP_EOL.PHP_EOL.'사용하셔도 좋습니다.'); - parent.document.getElementById('mb_email_enabled').value = 1; - window.close(); - -HEREDOC; - } -} - -include_once(G4_PATH.'/tail.sub.php'); -?> \ No newline at end of file diff --git a/bbs/member_id_check.php b/bbs/member_id_check.php deleted file mode 100644 index 96362466e..000000000 --- a/bbs/member_id_check.php +++ /dev/null @@ -1,39 +0,0 @@ - - '; - - '; - - '; - \ No newline at end of file diff --git a/bbs/member_nick_check.php b/bbs/member_nick_check.php deleted file mode 100644 index db5e86321..000000000 --- a/bbs/member_nick_check.php +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/css/admin.css b/css/admin.css index 0a8de5b21..a87fcd919 100644 --- a/css/admin.css +++ b/css/admin.css @@ -288,22 +288,22 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9 .new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #595959;border-left:1px solid #595959;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none} .new_win_desc {margin:0 auto;width:93%} -/* 사이드뷰 */ -.sv_wrap {display:inline-block;position:relative;font-weight:normal} -.sv_wrap .sv {z-index:5;display:none;margin:5px 0 0;border:1px solid #283646;background:#334356} -.sv_nojs .sv {display:block} -.sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:3px !important;width:94px;border-bottom:1px solid #283646;color:#fff !important} -.sv_wrap a:focus, -.sv_wrap a:hover, -.sv_wrap a:active {text-decoration:none !important} -.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto !important;background:#ddd} - /* 관리자 패스워드 확인 */ #admin_confirm {padding:0 0 10px;background:#222;text-align:center} #admin_confirm p {margin:0 0 10px;color:#9ab9c5;background:#383a3f} #admin_confirm label {color:#fff} #admin_confirm .frm_input {border-color:#000} +/* 사이드뷰 */ +.sv_wrap {display:inline-block;position:relative;font-weight:normal} +.sv_wrap .sv {z-index:5;display:none;margin:5px 0 0;border:1px solid #283646;background:#334356} +.sv_js_off .sv {display:block} +.sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:3px !important;width:94px;border-bottom:1px solid #283646;color:#fff !important} +.sv_wrap a:focus, +.sv_wrap a:hover, +.sv_wrap a:active {text-decoration:none !important} +.sv_on {display:block !important;position:absolute;top:10px;left:20px;width:auto;height:auto !important;background:#ddd} + /* pagination */ .pg_wrap {clear:both;margin:0 0 20px;padding-top:20px;text-align:center} .pg {display:inline-block;border:1px solid #ddd;letter-spacing:-4px} @@ -317,7 +317,4 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9 .pg_prev {border-right:1px solid #ddd} .pg_end, .pg_next {border-left:1px solid #ddd} -.pg_current {background:#444;color:#fff;font-weight:bold} - -/* 스킨자료실 바로가기 */ -.goto_sirskin {color:#ff5300} \ No newline at end of file +.pg_current {background:#444;color:#fff;font-weight:bold} \ No newline at end of file diff --git a/css/default.css b/css/default.css index 6d4ae8f9c..400fd1301 100644 --- a/css/default.css +++ b/css/default.css @@ -641,7 +641,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff; /* 사이드뷰 */ .sv_wrap {display:inline-block;position:relative;font-weight:normal} .sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646;background:#111} -.sv_nojs .sv {display:block} +.sv_js_off .sv {display:block} .sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:3px !important;width:94px;border-bottom:1px solid #283646;color:#fff !important} .sv_wrap a:focus, .sv_wrap a:hover, diff --git a/lib/common.lib.php b/lib/common.lib.php index f18bd6476..1475dff6c 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -998,7 +998,7 @@ function get_sideview($mb_id, $name='', $email='', $homepage='') $email = get_text($email); $homepage = get_text($homepage); - $str = "\n"; + $str = "\n"; $str .= $tmp_name."\n"; if(!G4_IS_MOBILE) { @@ -1024,7 +1024,7 @@ function get_sideview($mb_id, $name='', $email='', $homepage='') $str2 .= "포인트내역\n"; } $str2 .= "\n"; - $str .= $str2."\n"; + $str .= $str2;//."\n"; } $str .= ""; diff --git a/tail.sub.php b/tail.sub.php index c129f0625..6360af7b9 100644 --- a/tail.sub.php +++ b/tail.sub.php @@ -21,6 +21,8 @@ $(function() {