From 5dad177d3e6e6af3223ba4b7aa7bbbcdfd13aa5c Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 19 Sep 2014 09:44:14 +0900 Subject: [PATCH 1/6] =?UTF-8?q?lguplus=20=EB=B3=B8=EC=9D=B8=ED=99=95?= =?UTF-8?q?=EC=9D=B8=20=EC=8B=A0=EC=B2=AD=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=EB=A7=81=ED=81=AC=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/config_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adm/config_form.php b/adm/config_form.php index b55a3b680..02da0575d 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -833,7 +833,7 @@ if ($config['cf_icode_id'] && $config['cf_icode_pw']) { 서비스에 가입되어 있지 않다면, 본인확인 서비스 신청페이지에서 서비스 신청 후 상점아이디를 발급 받으실 수 있습니다.
LG유플러스 휴대폰본인확인은 ActiveX 설치가 필요하므로 Internet Explorer 에서만 사용할 수 있습니다.') ?> si_ - LG유플러스 본인확인 서비스 신청페이지 + LG유플러스 본인확인 서비스 신청페이지 From 06eb66840ab0858fb0c82542213f01a16fb17a02 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 22 Sep 2014 09:47:22 +0900 Subject: [PATCH 2/6] =?UTF-8?q?faq=20=EA=B8=B0=EB=B3=B8=20=EC=8A=A4?= =?UTF-8?q?=ED=82=A8=EC=84=A4=EC=A0=95=20=EB=88=84=EB=9D=BD=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/install_db.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/install_db.php b/install/install_db.php index 1d0407eb6..52d64d8d9 100644 --- a/install/install_db.php +++ b/install/install_db.php @@ -120,6 +120,8 @@ $sql = " insert into `{$table_prefix}config` cf_mobile_search_skin = 'basic', cf_mobile_connect_skin = 'basic', cf_mobile_member_skin = 'basic', + cf_faq_skin = 'basic', + cf_mobile_faq_skin = 'basic', cf_editor = 'smarteditor2', cf_captcha_mp3 = 'basic', cf_register_level = '2', From 7f379482a8da6fa8cb7dbf3dae4a2f8e3b791596 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 25 Sep 2014 15:46:07 +0900 Subject: [PATCH 3/6] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=84=A4=EB=AA=85?= =?UTF-8?q?=EC=9D=84=20=EC=9D=B4=EC=9A=A9=ED=95=9C=20XSS=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/skin/board/basic/view.skin.php | 2 +- mobile/skin/board/gallery/view.skin.php | 2 +- skin/board/basic/view.skin.php | 2 +- skin/board/gallery/view.skin.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/skin/board/basic/view.skin.php b/mobile/skin/board/basic/view.skin.php index 3de738ab1..b1775bd1b 100644 --- a/mobile/skin/board/basic/view.skin.php +++ b/mobile/skin/board/basic/view.skin.php @@ -51,7 +51,7 @@ add_stylesheet('', 0 첨부 - () + () 회 다운로드 DATE : diff --git a/mobile/skin/board/gallery/view.skin.php b/mobile/skin/board/gallery/view.skin.php index c5635d5aa..6657cf5be 100644 --- a/mobile/skin/board/gallery/view.skin.php +++ b/mobile/skin/board/gallery/view.skin.php @@ -51,7 +51,7 @@ add_stylesheet('', 0 첨부 - () + () 회 다운로드 DATE : diff --git a/skin/board/basic/view.skin.php b/skin/board/basic/view.skin.php index 42f83a069..d49275ec5 100644 --- a/skin/board/basic/view.skin.php +++ b/skin/board/basic/view.skin.php @@ -53,7 +53,7 @@ add_stylesheet('', 0 첨부 - () + () 회 다운로드 DATE : diff --git a/skin/board/gallery/view.skin.php b/skin/board/gallery/view.skin.php index 42f83a069..d49275ec5 100644 --- a/skin/board/gallery/view.skin.php +++ b/skin/board/gallery/view.skin.php @@ -53,7 +53,7 @@ add_stylesheet('', 0 첨부 - () + () 회 다운로드 DATE : From 05b40efddf00d63736652ae120819c1b0a8b9cb7 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 25 Sep 2014 16:59:06 +0900 Subject: [PATCH 4/6] =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=EC=9D=B8=20=EC=95=8C=EB=A6=BC=20=ED=9B=84=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=EA=B2=BD=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/admin.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adm/admin.lib.php b/adm/admin.lib.php index 061f7992d..53410238e 100644 --- a/adm/admin.lib.php +++ b/adm/admin.lib.php @@ -192,7 +192,7 @@ function order_select($fld, $sel='') if (!$member['mb_id']) { //alert('로그인 하십시오.', '$g5['bbs_path']/login.php?url=' . urlencode('$_SERVER['PHP_SELF']?w=$w&mb_id=$mb_id')); - alert('로그인 하십시오.', G5_BBS_URL.'/login.php?url=' . urlencode($_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'])); + alert('로그인 하십시오.', G5_BBS_URL.'/login.php?url=' . urlencode(G5_ADMIN_URL)); } else if ($is_admin != 'super') { From 51c3f8a378607a2fd190af64bce05e07254cb691 Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 25 Sep 2014 17:00:32 +0900 Subject: [PATCH 5/6] =?UTF-8?q?=ED=88=AC=EB=AA=85=20gif=20=EC=8D=B8?= =?UTF-8?q?=EB=84=A4=EC=9D=BC=20=EC=83=9D=EC=84=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/thumbnail.lib.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/thumbnail.lib.php b/lib/thumbnail.lib.php index 50d7b0d2f..b9a5c4abf 100644 --- a/lib/thumbnail.lib.php +++ b/lib/thumbnail.lib.php @@ -235,6 +235,7 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h if ($size[2] == 1) { $src = imagecreatefromgif($source_file); + $src_transparency = imagecolortransparent($src); } else if ($size[2] == 2) { $src = imagecreatefromjpeg($source_file); @@ -332,9 +333,15 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h if($size[2] == 3) { imagealphablending($dst, false); imagesavealpha($dst, true); + } else if($size[2] == 1 && $src_transparency != -1) { + $transparent_color = imagecolorsforindex($src, $src_transparency); + $current_transparent = imagecolorallocate($dst, $transparent_color['red'], $transparent_color['green'], $transparent_color['blue']); + imagefill($dst, 0, 0, $current_transparent); + imagecolortransparent($dst, $current_transparent); } } else { $dst = imagecreatetruecolor($dst_w, $dst_h); + $bgcolor = imagecolorallocate($dst, 255, 255, 255); // 배경색 if($src_w < $dst_w) { if($src_h >= $dst_h) { @@ -359,8 +366,16 @@ function thumbnail($filename, $source_path, $target_path, $thumb_width, $thumb_h imagefill($dst, 0, 0, $bgcolor); imagealphablending($dst, false); imagesavealpha($dst, true); + } else if($size[2] == 1) { + if($src_transparency != -1) { + $transparent_color = imagecolorsforindex($src, $src_transparency); + $current_transparent = imagecolorallocate($dst, $transparent_color['red'], $transparent_color['green'], $transparent_color['blue']); + imagefill($dst, 0, 0, $current_transparent); + imagecolortransparent($dst, $current_transparent); + } else { + imagefill($dst, 0, 0, $bgcolor); + } } else { - $bgcolor = imagecolorallocate($dst, 255, 255, 255); // 배경색 imagefill($dst, 0, 0, $bgcolor); } } From f6a1fa94d362b9bbe5fcc0852363480738eedf00 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 26 Sep 2014 15:32:56 +0900 Subject: [PATCH 6/6] =?UTF-8?q?=ED=9A=8C=EC=9B=90=20=EC=82=AD=EC=A0=9C=20?= =?UTF-8?q?=EB=95=8C=20=ED=9A=8C=EC=9B=90=EC=9E=90=EB=A3=8C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C=ED=95=98=EB=8F=84=EB=A1=9D=20member=5Fdelete=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/lib/common.lib.php b/lib/common.lib.php index ab77afef8..a53b23898 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2756,6 +2756,30 @@ function member_delete($mb_id) // 회원자료는 정보만 없앤 후 아이디는 보관하여 다른 사람이 사용하지 못하도록 함 : 061025 $sql = " update {$g5['member_table']} set mb_password = '', mb_level = 1, mb_email = '', mb_homepage = '', mb_tel = '', mb_hp = '', mb_zip1 = '', mb_zip2 = '', mb_addr1 = '', mb_addr2 = '', mb_birth = '', mb_sex = '', mb_signature = '', mb_memo = '".date('Ymd', G5_SERVER_TIME)." 삭제함\n{$mb['mb_memo']}', mb_leave_date = '".date('Ymd', G5_SERVER_TIME)."' where mb_id = '{$mb_id}' "; sql_query($sql); + + // 포인트 테이블에서 삭제 + sql_query(" delete from {$g5['point_table']} where mb_id = '$mb_id' "); + + // 그룹접근가능 삭제 + sql_query(" delete from {$g5['group_member_table']} where mb_id = '$mb_id' "); + + // 쪽지 삭제 + sql_query(" delete from {$g5['memo_table']} where me_recv_mb_id = '$mb_id' or me_send_mb_id = '$mb_id' "); + + // 스크랩 삭제 + sql_query(" delete from {$g5['scrap_table']} where mb_id = '$mb_id' "); + + // 관리권한 삭제 + sql_query(" delete from {$g5['auth_table']} where mb_id = '$mb_id' "); + + // 그룹관리자인 경우 그룹관리자를 공백으로 + sql_query(" update {$g5['group_table']} set gr_admin = '' where gr_admin = '$mb_id' "); + + // 게시판관리자인 경우 게시판관리자를 공백으로 + sql_query(" update {$g5['board_table']} set bo_admin = '' where bo_admin = '$mb_id' "); + + // 아이콘 삭제 + @unlink(G5_DATA_PATH.'/member/'.substr($mb_id,0,2).'/'.$mb_id.'.gif'); } // 이메일 주소 추출