From 2705b9312ccab75c7996755d624e4ae202e70355 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 13 May 2015 11:57:04 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=B8=EB=88=84=EB=B3=B4=EB=93=9C5.0.33=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=EB=82=B4=EC=97=AD=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/css/admin.css | 26 +++++++++++++------------- adm/member_list.php | 4 ++-- adm/menu_list.php | 6 +++++- adm/poll_form.php | 4 ++-- adm/poll_form_update.php | 5 ++--- adm/service.php | 17 +++++------------ bbs/login_check.php | 2 +- bbs/qatail.php | 2 +- config.php | 1 + js/autosave.js | 4 ++-- lib/common.lib.php | 4 ++-- 11 files changed, 36 insertions(+), 39 deletions(-) diff --git a/adm/css/admin.css b/adm/css/admin.css index 10b7cf592..036da508a 100644 --- a/adm/css/admin.css +++ b/adm/css/admin.css @@ -690,11 +690,11 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right} /*부가서비스*/ .lnb_svc{color:#ff3061;font-weight:bold} -.service_wrap{min-width:960px; margin:0 20px 10px;overflow:hidden} -.sevice_1{border:1px solid #ebe8e8;width:286px;float:left;border-radius:5px;text-align:center;margin-right:6px;} +.service_wrap{width:960px; margin:0 20px 10px;overflow:hidden} +.sevice_1{border:1px solid #ebe8e8;width:330px;float:left;border-radius:5px;text-align:center;margin-right:6px;} .sevice_1 .svc_img{padding:30px 0 0;} .sevice_1 h3{font-size:16px;margin:15px 0;color:#525252} -.sevice_1 p{padding:20px;background:#f8f8f8;height:102px;font-size:12px;text-align:left; color:#898989;line-height:18px} +.sevice_1 p{padding:20px;background:#f8f8f8;height:90px;font-size:12px;text-align:left; color:#898989;line-height:18px} .sevice_1 ul {width:100%;padding:0; margin:0;border-top:1px solid #ebe8e8;} .sevice_1 ul li{list-style:none;float:left;border-right:1px solid #ebe8e8;width:33%;} .sevice_1 ul li a{display:inline-block;height:76px;width:100%} @@ -703,14 +703,14 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right} .sevice_1 h4{width:100%;padding:0; margin:0;border-top:1px solid #ebe8e8;} .sevice_1 h4 a{display:inline-block;height:66px;padding:10px 0 0;width:100%} -.sevice_2{border:1px solid #ebe8e8;float:left;width:370px;} -.sevice_2 .svc_a{float:left;width:203px;padding:33px 0 0 22px ;height:111px; } -.sevice_2 .svc_a h3{font-size:14px;letter-spacing:-1px;color:#525252;margin-bottom:5px} -.sevice_2 .svc_a p{color:#898989;line-height:18px;letter-spacing:-1px;} -.sevice_2 .svc_btn{float:right;} -.sevice_2 .svc_btn a{display:inline-block; background:#ff3061;width:121px;text-align:center;color:#fff;padding:10px 0;margin:53px 10px 0 0;} +.sevice_2{border:1px solid #ebe8e8;float:left;width:282px;} +.sevice_2 .svc_a{padding:33px 0 0;} +.sevice_2 .svc_a h3{font-size:14px;letter-spacing:-1px;color:#525252;margin-bottom:5px;padding:0 20px 0} +.sevice_2 .svc_a p{color:#898989;line-height:18px;letter-spacing:-1px;padding:5px 20px 0;} +.sevice_2 .svc_btn{text-align:center;position:absolute;bottom:0;left:0;width:282px;} +.sevice_2 .svc_btn a{display:inline-block; background:#ff3061;text-align:center;color:#fff;padding:10px 20px;} .sevice_2 .svc_btn a:hover{text-decoration:none;} -.sevice_2 .svc_sms{overflow:hidden;border-bottom:1px solid #ebe8e8;} -.sevice_2 .svc_sms .svc_btn a{display:inline-block; width:132px; background:#f8f8f8;height:145px;text-align:center;margin:0;padding:0} -.sevice_2 .svc_sms .svc_btn a img{margin-top:50px;} -.sevice_2 .svc_keyword{overflow:hidden;border-bottom:1px solid #ebe8e8;background:#e6f2f4} +.sevice_2 .svc_sms{overflow:hidden;border-bottom:1px solid #ebe8e8; height:212px;position:relative} +.sevice_2 .svc_sms .svc_btn a{display:inline-block; background:#f8f8f8;width:100%;text-align:center;margin:0;padding:10px 0 0 } +.sevice_2 .svc_design{overflow:hidden;height:210px;position:relative} +.sevice_2 .svc_design .svc_btn a{margin:0 0 20px} diff --git a/adm/member_list.php b/adm/member_list.php index 5b94d03b5..71758af66 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -224,7 +224,7 @@ $colspan = 16; > - + " class="sound_only">접근차단 - + diff --git a/adm/menu_list.php b/adm/menu_list.php index bf6f75752..408a597f1 100644 --- a/adm/menu_list.php +++ b/adm/menu_list.php @@ -71,12 +71,16 @@ $colspan = 7; $sub_menu_info = ''.$row['me_name'].'의 서브'; $sub_menu_ico = ''; } + + $search = array('"', "'"); + $replace = array('"', '''); + $me_name = str_replace($search, $replace, $row['me_name']); ?> - + diff --git a/adm/poll_form.php b/adm/poll_form.php index 533596dcd..795719edf 100644 --- a/adm/poll_form.php +++ b/adm/poll_form.php @@ -86,8 +86,8 @@ include_once('./admin.head.php'); - - + 투표등록일 + diff --git a/adm/poll_form_update.php b/adm/poll_form_update.php index ef955f793..19a11b49d 100644 --- a/adm/poll_form_update.php +++ b/adm/poll_form_update.php @@ -14,7 +14,7 @@ if ($w == '') { $sql = " insert {$g5['poll_table']} ( po_subject, po_poll1, po_poll2, po_poll3, po_poll4, po_poll5, po_poll6, po_poll7, po_poll8, po_poll9, po_cnt1, po_cnt2, po_cnt3, po_cnt4, po_cnt5, po_cnt6, po_cnt7, po_cnt8, po_cnt9, po_etc, po_level, po_point, po_date ) - values ( '{$_POST['po_subject']}', '{$_POST['po_poll1']}', '{$_POST['po_poll2']}', '{$_POST['po_poll3']}', '{$_POST['po_poll4']}', '{$_POST['po_poll5']}', '{$_POST['po_poll6']}', '{$_POST['po_poll7']}', '{$_POST['po_poll8']}', '{$_POST['po_poll9']}', '{$_POST['po_cnt1']}', '{$_POST['po_cnt2']}', '{$_POST['po_cnt3']}', '{$_POST['po_cnt4']}', '{$_POST['po_cnt5']}', '{$_POST['po_cnt6']}', '{$_POST['po_cnt7']}', '{$_POST['po_cnt8']}', '{$_POST['po_cnt9']}', '{$_POST['po_etc']}', '{$_POST['po_level']}', '{$_POST['po_point']}', '".G5_TIME_YMDHIS."' ) "; + values ( '{$_POST['po_subject']}', '{$_POST['po_poll1']}', '{$_POST['po_poll2']}', '{$_POST['po_poll3']}', '{$_POST['po_poll4']}', '{$_POST['po_poll5']}', '{$_POST['po_poll6']}', '{$_POST['po_poll7']}', '{$_POST['po_poll8']}', '{$_POST['po_poll9']}', '{$_POST['po_cnt1']}', '{$_POST['po_cnt2']}', '{$_POST['po_cnt3']}', '{$_POST['po_cnt4']}', '{$_POST['po_cnt5']}', '{$_POST['po_cnt6']}', '{$_POST['po_cnt7']}', '{$_POST['po_cnt8']}', '{$_POST['po_cnt9']}', '{$_POST['po_etc']}', '{$_POST['po_level']}', '{$_POST['po_point']}', '".G5_TIME_YMD."' ) "; sql_query($sql); $po_id = mysql_insert_id(); @@ -43,8 +43,7 @@ else if ($w == 'u') po_cnt9 = '{$_POST['po_cnt9']}', po_etc = '{$_POST['po_etc']}', po_level = '{$_POST['po_level']}', - po_point = '{$_POST['po_point']}', - po_date = '{$_POST['po_date']}' + po_point = '{$_POST['po_point']}' where po_id = '{$_POST['po_id']}' "; sql_query($sql); } diff --git a/adm/service.php b/adm/service.php index 1e72e4732..4c6fd9d91 100644 --- a/adm/service.php +++ b/adm/service.php @@ -19,9 +19,9 @@ include_once('./admin.head.php');

정보통신망법 23조 2항(주민등록번호의 사용제한)에 따라 기존 주민등록번호 기반의 인증서비스 이용이 불가합니다. 주민등록번호 대체수단으로 최소한의 정보(생년월일, 휴대폰번호, 성별)를 입력받아 본인임을 확인하는 인증수단 입니다

@@ -30,23 +30,16 @@ include_once('./admin.head.php');

정부가 주관하는 주민등록번호 대체 수단으로 본인의 개인정보를 아이핀 사이트에 한번만 발급해 놓고, 이후부터는 아이디와 패스워드 만으로 본인임을 확인하는 인증수단 입니다.

-

OKname 아이핀 본인확인 신청하기

+

OKname 아이핀 본인확인 신청하기

SMS 문자 서비스

-

사이트 관리자 또는 회원이 다른 회원의 휴대폰으로 단문메세지(최대 한글 40자, 영문 80자)를 발송할 수 있습니다.

+

사이트 관리자 또는 회원이 다른 회원의
휴대폰으로 단문메세지(최대 한글 40자, 영문 80자)를 발송할 수 있습니다.

아이코드 SMS 서비스 신청하기
-
-
-

키워드 검색광고 (네이버, 다음)

-

키워드 광고 최소 70원 부터!
키워드 광고의 전문가가 검색 결과의
최상단에 노출시켜 드립니다

-
- -

디자인 소스 (아사달)

diff --git a/bbs/login_check.php b/bbs/login_check.php index d5c1b0086..b83fc2f00 100644 --- a/bbs/login_check.php +++ b/bbs/login_check.php @@ -14,7 +14,7 @@ $mb = get_member($mb_id); // 가입된 회원이 아니다. 비밀번호가 틀리다. 라는 메세지를 따로 보여주지 않는 이유는 // 회원아이디를 입력해 보고 맞으면 또 비밀번호를 입력해보는 경우를 방지하기 위해서입니다. // 불법사용자의 경우 회원아이디가 틀린지, 비밀번호가 틀린지를 알기까지는 많은 시간이 소요되기 때문입니다. -if (!$mb['mb_id'] || (sql_password($mb_password) != $mb['mb_password'])) { +if (!$mb['mb_id'] || (sql_password($mb_password) !== $mb['mb_password'])) { alert('가입된 회원아이디가 아니거나 비밀번호가 틀립니다.\\n비밀번호는 대소문자를 구분합니다.'); } diff --git a/bbs/qatail.php b/bbs/qatail.php index b8b667307..4ab23b30d 100644 --- a/bbs/qatail.php +++ b/bbs/qatail.php @@ -6,7 +6,7 @@ if (G5_IS_MOBILE) { // 모바일의 경우 설정을 따르지 않는다. include_once('./_tail.php'); } else { - echo conv_content($qaconfig['qa_mobile_content_tail'], 1); + echo conv_content($qaconfig['qa_content_tail'], 1); if($qaconfig['qa_include_tail']) @include ($qaconfig['qa_include_tail']); else diff --git a/config.php b/config.php index edcd085b0..1256efa2e 100644 --- a/config.php +++ b/config.php @@ -5,6 +5,7 @@ ********************/ define('G5_VERSION', '그누보드5'); +define('G5_GNUBOARD_VER', '5.0.33'); // 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음 define('_GNUBOARD_', true); diff --git a/js/autosave.js b/js/autosave.js index 201e0d5ce..c03fe0188 100644 --- a/js/autosave.js +++ b/js/autosave.js @@ -11,7 +11,7 @@ function autosave() { this.wr_content.value = CKEDITOR.instances.wr_content.getData(); } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") { this.wr_content.value = ed_wr_content.outputBodyHTML(); - } else if (g5_editor.indexOf("smarteditor2") != -1 && typeof(oEditors.getById['wr_content'])!="undefined" ) { + } else if (g5_editor.indexOf("smarteditor2") != -1 && typeof(oEditors)!="undefined" && typeof(oEditors.getById['wr_content'])!="undefined" ) { this.wr_content.value = oEditors.getById['wr_content'].getIR(); } // 변수에 저장해 놓은 값과 다를 경우에만 임시 저장함 @@ -82,7 +82,7 @@ $(function(){ CKEDITOR.instances.wr_content.setData(content); } else if (g5_editor.indexOf("cheditor5") != -1 && typeof(ed_wr_content)!="undefined") { ed_wr_content.putContents(content); - } else if (g5_editor.indexOf("smarteditor2") != -1 && typeof(oEditors.getById['wr_content'])!="undefined" ) { + } else if (g5_editor.indexOf("smarteditor2") != -1 && typeof(oEditors)!="undefined" && typeof(oEditors.getById['wr_content'])!="undefined" ) { oEditors.getById["wr_content"].exec("SET_CONTENTS", [""]); //oEditors.getById["wr_content"].exec("SET_IR", [""]); oEditors.getById["wr_content"].exec("PASTE_HTML", [content]); diff --git a/lib/common.lib.php b/lib/common.lib.php index 0a1e14889..37e0c4704 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2430,12 +2430,12 @@ function googl_short_url($longUrl) // URL Shortener API ON $apiKey = $config['cf_googl_shorturl_apikey']; - $postData = array('longUrl' => $longUrl, 'key' => $apiKey); + $postData = array('longUrl' => $longUrl); $jsonData = json_encode($postData); $curlObj = curl_init(); - curl_setopt($curlObj, CURLOPT_URL, 'https://www.googleapis.com/urlshortener/v1/url'); + curl_setopt($curlObj, CURLOPT_URL, 'https://www.googleapis.com/urlshortener/v1/url?key='.$apiKey); curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curlObj, CURLOPT_HEADER, 0);