From 4c1cef21de2f92e298a0b03de5f21304eb16fb6c Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 15:49:10 +0900 Subject: [PATCH 1/9] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EC=83=81=EC=84=B8=EB=B3=B4=EA=B8=B0=20=EB=B3=B8?= =?UTF-8?q?=EB=AC=B8=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=A6=AC=EC=82=AC?= =?UTF-8?q?=EC=9D=B4=EC=A7=95=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 1 + shop/item.php | 86 +++++++++++++++++++++----------------------- 2 files changed, 42 insertions(+), 45 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 49b250bdf..bd6349245 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -522,6 +522,7 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col #sit_inf_basic {margin:0 0 10px} #sit_inf_explan {margin:0 0 10px} +#sit_inf_explan img {max-width:100%;height:auto} #sit_inf_open {width:100%;border:0;border-collapse:collapse} #sit_inf_open th {padding:7px 10px;border:1px solid #fff;background:#f5f6fa;text-align:left} diff --git a/shop/item.php b/shop/item.php index 957901664..e136c6f85 100644 --- a/shop/item.php +++ b/shop/item.php @@ -685,56 +685,52 @@ else menu(id); save_qa_id = id; } + - // 상품상세설명에 있는 이미지의 사이즈를 줄임 - // 삭제 대상 - 지운아빠 2013-05-03 - function explan_resize_image() + - + From 3619a059dcb1c71798db9103a8a56e27ed832ad0 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 15:49:41 +0900 Subject: [PATCH 2/9] =?UTF-8?q?M=EC=87=BC=ED=95=91=EB=AA=B0:=20#156=20?= =?UTF-8?q?=EC=83=81=ED=92=88=EC=83=81=EC=84=B8=EB=B3=B4=EA=B8=B0=20?= =?UTF-8?q?=EB=B3=B8=EB=AC=B8=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=A6=AC?= =?UTF-8?q?=EC=82=AC=EC=9D=B4=EC=A7=95=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile_shop.css | 1 + mobile/shop/item.php | 86 +++++++++++++++++++++----------------------- 2 files changed, 42 insertions(+), 45 deletions(-) diff --git a/css/mobile_shop.css b/css/mobile_shop.css index a893c34da..cd19a7bdc 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -356,6 +356,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei #sit_inf_basic {margin:0 0 1em} #sit_inf_explan {margin:0 0 1em} +#sit_inf_explan img {max-width:100%;height:auto} #sit_inf_open {width:100%;border:0;border-collapse:collapse} #sit_inf_open th {padding:0.5em 1em;border:1px solid #fff;background:#f5f6fa;text-align:left} diff --git a/mobile/shop/item.php b/mobile/shop/item.php index e70da4e4c..5df11e255 100644 --- a/mobile/shop/item.php +++ b/mobile/shop/item.php @@ -702,56 +702,52 @@ else menu(id); save_qa_id = id; } + - // 상품상세설명에 있는 이미지의 사이즈를 줄임 - // 삭제 대상 - 지운아빠 2013-05-03 - function explan_resize_image() + - + From 1937e6d63885950a4a9afa66fedbf3d6c4216411 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 16:04:59 +0900 Subject: [PATCH 3/9] merge --- lib/shop.lib.php | 21 +++++++++++++++++++++ mobile/shop/item.php | 9 ++++----- mobile/shop/list.skin.10.php | 9 ++++----- mobile/shop/maintype10.inc.php | 9 ++++----- mobile/shop/shop.tail.php | 2 ++ shop/list.skin.10.php | 9 ++++----- shop/list.skin.11.php | 9 ++++----- shop/list.skin.12.php | 9 ++++----- shop/list.skin.13.php | 9 ++++----- shop/maintype10.inc.php | 9 ++++----- shop/maintype11.inc.php | 9 ++++----- shop/maintype12.inc.php | 9 ++++----- shop/maintype13.inc.php | 9 ++++----- shop/shop.tail.php | 2 ++ 14 files changed, 69 insertions(+), 55 deletions(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 0bc105446..17208d845 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -778,6 +778,27 @@ function display_item_icon($it) return $icon; } + +// sns 공유하기 +function get_sns_share_link($sns, $url, $title, $img) +{ + if(!$sns) + return ''; + + switch($sns) { + case 'facebook': + $str = ''; + break; + case 'twitter': + $str = ''; + break; + case 'googleplus': + $str = ''; + break; + } + + return $str; +} //============================================================================== // 쇼핑몰 함수 모음 끝 //============================================================================== diff --git a/mobile/shop/item.php b/mobile/shop/item.php index 5df11e255..c54674ac1 100644 --- a/mobile/shop/item.php +++ b/mobile/shop/item.php @@ -228,14 +228,13 @@ else
고객선호도 - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
diff --git a/mobile/shop/list.skin.10.php b/mobile/shop/list.skin.10.php index c7d9b804c..bc953764d 100644 --- a/mobile/shop/list.skin.10.php +++ b/mobile/shop/list.skin.10.php @@ -7,8 +7,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) $href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id']; $sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']); - $sns_send = G4_SHOP_URL.'/sns_send.php?url='.urlencode(G4_SHOP_URL.'/item.php?it_id='.$row['it_id']); - $sns_send .= '&title='.urlencode(cut_str($sns_title, 100)); + $sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id']; if ($i == 1) echo '
    '; ?> @@ -30,9 +29,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++)
    - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
    '; ?> @@ -21,9 +20,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
    - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
    + + diff --git a/shop/list.skin.10.php b/shop/list.skin.10.php index 635f3a7dc..88968fdf8 100644 --- a/shop/list.skin.10.php +++ b/shop/list.skin.10.php @@ -14,8 +14,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) } $sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']); - $sns_send = G4_SHOP_URL.'/sns_send.php?url='.urlencode(G4_SHOP_URL.'/item.php?it_id='.$row['it_id']); - $sns_send .= '&title='.urlencode(cut_str($sns_title, 100)); + $sns_url = G4_SHOP_URL.'/item.php?it_id='.$row['it_id']; if ($i == 1) echo '
      '; ?> @@ -34,9 +33,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++)
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      '; ?> @@ -34,9 +33,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++)
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      '; ?> @@ -34,9 +33,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++)
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      '; ?> @@ -37,9 +36,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++)
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      '; ?> @@ -28,9 +27,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      '; ?> @@ -28,9 +27,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      '; ?> @@ -30,9 +29,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      '; ?> @@ -33,9 +32,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
      - 페이스북에 공유 - 트위터에 공유 - 구글플러스에 공유 + + +
      + + From deb767b0d93194f500f37df5f1111571166158f8 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 16:05:57 +0900 Subject: [PATCH 4/9] sns.js --- js/sns.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 js/sns.js diff --git a/js/sns.js b/js/sns.js new file mode 100644 index 000000000..38ca4f725 --- /dev/null +++ b/js/sns.js @@ -0,0 +1,16 @@ +$(function() { + $(".share-facebook").click(function() { + window.open($(this).attr("href"), "win_facebook", "menubar=1,resizable=1,width=600,height=400"); + return false; + }); + + $(".share-twitter").click(function() { + window.open($(this).attr("href"), "win_twitter", "menubar=1,resizable=1,width=600,height=350"); + return false; + }); + + $(".share-googleplus").click(function() { + window.open($(this).attr("href"), "win_googleplus", "menubar=1,resizable=1,width=600,height=600"); + return false; + }); +}); \ No newline at end of file From 0e6deb58374f87c5d24fe62849a0c0f551ab9e84 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 16:15:03 +0900 Subject: [PATCH 5/9] =?UTF-8?q?M=EC=87=BC=ED=95=91=EB=AA=B0:=20#163=20?= =?UTF-8?q?=EC=A3=BC=EB=AC=B8=EC=83=81=EC=84=B8=EB=82=B4=EC=97=AD=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/cartsub.inc.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/mobile/shop/cartsub.inc.php b/mobile/shop/cartsub.inc.php index 82c119620..26b98158c 100644 --- a/mobile/shop/cartsub.inc.php +++ b/mobile/shop/cartsub.inc.php @@ -23,12 +23,11 @@ else
- 포인트'; echo ''; -else if ($s_page == 'orderinquiryview.php') - echo ''; +} ?> @@ -133,13 +132,12 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) - '; echo ''; - else if ($s_page == 'orderinquiryview.php') - echo ''; + } ?> From e1150cdd57a7ff2c684123cdc9741632268259c4 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 16:19:35 +0900 Subject: [PATCH 6/9] =?UTF-8?q?M=EC=87=BC=ED=95=91=EB=AA=B0:=20#184=20?= =?UTF-8?q?=EC=83=81=ED=92=88=EA=B2=80=EC=83=89=EA=B2=B0=EA=B3=BC=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/search.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/shop/search.php b/mobile/shop/search.php index 32b970bd8..415b3708b 100644 --- a/mobile/shop/search.php +++ b/mobile/shop/search.php @@ -68,7 +68,7 @@ $total_count = $row['cnt']; for ($i=0; $row=mysql_fetch_array($result); $i++) { if ($save['ca_id'] != $row['ca_id']) { if ($save['ca_id']) { - write_search_save($save); + write_msearch_save($save); unset($save); } $save['ca_id'] = $row['ca_id']; @@ -80,9 +80,9 @@ $total_count = $row['cnt']; } mysql_free_result($result); - write_search_save($save); + write_msearch_save($save); - function write_search_save($save) + function write_msearch_save($save) { global $g4, $search_str , $default , $image_rate , $cart_dir; From 7074f2231eec2ef421d700bf8bc689c472204c4c Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 16:48:59 +0900 Subject: [PATCH 7/9] =?UTF-8?q?M=EC=87=BC=ED=95=91=EB=AA=B0:=20#169=20CSS?= =?UTF-8?q?=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile_shop.css | 208 ++++++++++++++++++-------------------------- 1 file changed, 86 insertions(+), 122 deletions(-) diff --git a/css/mobile_shop.css b/css/mobile_shop.css index cd19a7bdc..b69ebc17c 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -15,7 +15,7 @@ input[type=password], input[type=submit], input[type=image], button {border-radius:0 !important;font-size:1em} /* 모바일에서만 사용 */ -p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all} +p {margin:0;padding:1em 0;line-height:1.7em;word-break:break-all} hr {display:none} pre {overflow-x:scroll;font-size:1.1em} a:link, @@ -42,13 +42,13 @@ a:active {color:#000;text-decoration:underline} #mp3_embed {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} /* 익스 8 이하에서 음성캡챠 실행 스타일 */ /* ckeditor 단축키 */ -.cke_sc {margin:0 0 5px;text-align:right} -.btn_cke_sc{display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:1.9em;vertical-align:middle} -.cke_sc_def {margin:0 0 5px;padding:10px;border:1px solid #ccc;background:#f5f6fa;text-align:center} -.cke_sc_def dl {margin:0 0 5px;text-align:left;zoom:1} +.cke_sc {margin:0 0 0.5em;text-align:right} +.btn_cke_sc{display:inline-block;padding:0 1em;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:1.9em;vertical-align:middle} +.cke_sc_def {margin:0 0 0.5em;padding:1em;border:1px solid #ccc;background:#f5f6fa;text-align:center} +.cke_sc_def dl {margin:0 0 0.5em;text-align:left;zoom:1} .cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""} .cke_sc_def dt, -.cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid .e9e9e9} +.cke_sc_def dd {float:left;margin:0;padding:0.5em 0;border-bottom:1px solid .e9e9e9} .cke_sc_def dt {width:20%;font-weight:bold} .cke_sc_def dd {width:30%} @@ -57,7 +57,7 @@ a:active {color:#000;text-decoration:underline} /* 텍스트 크기 조절 */ #text_size {display:none;position:absolute;top:-31px;left:-1px} -#text_size button {padding:0 10px;height:30px;border:1px solid #cfded8;border-bottom:0;background:#000;color:#fff;cursor:pointer} +#text_size button {padding:0 1em;height:2.5em;border:1px solid #cfded8;border-bottom:0;background:#000;color:#fff;cursor:pointer} #wrapper_title {margin-bottom:1em;font-size:1.2em} @@ -74,7 +74,7 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none} #mobile_cng {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center} /* 콘텐츠별 스타일 */ -.cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold} +.cnt_cmt {display:inline-block;margin:0 0 0 0.3em;font-weight:bold} /* 버튼 */ .btn01 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;font-size:1em;text-decoration:none !important;line-height:2em;vertical-align:middle} .btn01:focus, @@ -124,7 +124,7 @@ td.empty_table {padding:5em 0;text-align:center} .frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none} .frm_input:focus, input.required:focus {border:0;background:#21272e !important;color:#fff;line-height:1.8em} -.frm_tbl textarea {width:90%;height:150px} +.frm_tbl textarea {width:90%;height:10em} .frm_address {display:block;margin-top:0.3em} .frm_file {display:block;margin-bottom:0.3em} .frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent} @@ -170,27 +170,27 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei /* 새창 기본 스타일 */ .new_win {} -.new_win h1 {margin-bottom:20px;padding:0 20px;height:60px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} -.new_win table {margin:0 auto 20px !important;width:93% !important;background:#fff !important} -.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1} +.new_win h1 {margin-bottom:2em;padding:0 2em;height:60px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} +.new_win table {margin:0 auto 2em !important;width:93% !important;background:#fff !important} +.new_win_ul {margin:-2em 0 2em 0;padding:0 0 0 2em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1} .new_win_ul:after {display:block;visibility:hidden;clear:both;content:""} .new_win_ul li {float:left;margin-left:-1px} -.new_win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none} +.new_win_ul a {display:block;padding:1em 1em 0.7em;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none} .new_win_desc {margin:0 auto;width:93%} /* 자바스크립트 alert 대안 */ #validation_check {margin:100px auto;width:500px} -#validation_check h1 {margin-bottom:20px;font-size:1.3em} -#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff} +#validation_check h1 {margin-bottom:2em;font-size:1.3em} +#validation_check p {margin-bottom:2em;padding:3em 2em;border:1px solid #e9e9e9;background:#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_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 .sv {z-index:1000;display:none;margin:0.5em 0 0;border:1px solid #283646;background:#111} +.sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:0.3em !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} +.sv_on {display:block !important;position:absolute;top:1em;left:2em;width:auto;height:auto !important} .sv_nojs .sv {display:block} /* pagination */ @@ -214,35 +214,35 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei /* 상품 목록 */ #sct {} -.sct_admin {margin:0 0 10px;text-align:right} +.sct_admin {margin:0 0 1em;text-align:right} /* 상품 목록 현재 위치 */ #sct_location {border:1px solid #e9e9e9;background:#f5f6fa;letter-spacing:-4px} #sct_location a {display:inline-block;padding:0.7em 0.5em;text-decoration:none;letter-spacing:0 !important} .sct_here {font-weight:bold} -.sct_bg {padding-right:15px !important;background:url('../img/shop/sct_bg_toright.gif') right 0.9em no-repeat} +.sct_bg {padding-right:1.3em !important;background:url('../img/shop/sct_bg_toright.gif') right 0.9em no-repeat} /* 상품 목록 카테고리 목록 */ .sct_ct {} .sct_ct h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -.sct_ct ul {margin:0 0 10px;padding:10px;border-bottom:1px solid #e9e9e9;list-style:none;zoom:1} +.sct_ct ul {margin:0 0 1em;padding:1em;border-bottom:1px solid #e9e9e9;list-style:none;zoom:1} .sct_ct ul:after {display:block;visibility:hidden;clear:both;content:""} .sct_ct a {text-decoration:none} .sct_ct_parent {font-weight:bold} .sct_ct_here {color:#ff3600 !important} -#sct_ct_1 li {float:left;margin:0 10px 10px 0;width:120px} -#sct_ct_2 li {margin:0 0 10px} +#sct_ct_1 li {float:left;margin:0 1em 1em 0;width:120px} +#sct_ct_2 li {margin:0 0 1em} #sct_ct_2 a {display:inline-block;width:120px} -#sct_ct_3 li {float:left;margin:0 10px 10px 0;width:120px} +#sct_ct_3 li {float:left;margin:0 1em 1em 0;width:120px} /* ##### maintype(nn).inc.php, list.skin.(nn).php 공통 적용 시작 ##### */ /* 공통 */ .sct_wrap {margin:0 0 2em;zoom:1} .sct_wrap:after {display:block;visibility:hidden;clear:both;content:""} -.sct_wrap header {margin:0 0 20px;zoom:1} +.sct_wrap header {margin:0 0 1.8em;zoom:1} .sct_wrap header:after {display:block;visibility:hidden;clear:both;content:""} -.sct_wrap h2 {float:left;margin:0 20px 0 0;padding:0;line-height:1em} +.sct_wrap h2 {float:left;margin:0 1.8em 0 0;padding:0;line-height:1em} .sct_wrap h2 a {text-decoration:none} .sct_wrap_hdesc {float:left;margin:0;padding:0;color:#777;line-height:1em} @@ -260,9 +260,9 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei .sct_10 .sct_a:focus, .sct_10 .sct_a:hover {text-decoration:none} .sct_10 .sct_img {display:block;margin:0 0 15px} -.sct_10 b {display:block;margin:0 0 8px;font-weight:normal} +.sct_10 b {display:block;margin:0 0 0.8em;font-weight:normal} .sct_10 s {display:block} -.sct_10 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} +.sct_10 .sct_cost {display:block;margin:0 0 1em;font-weight:bold} .sct_10 .sct_icon {position:absolute;top:10px;left:-5px;margin:0 !important} .sct_10 .sct_icon img {display:block} .sct_10 .sct_sns {position:absolute;top:190px;right:20px} @@ -272,7 +272,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei .sct_11 .sct_a:after {display:block;visibility:hidden;clear:both;content:""} .sct_11 .sct_a:focus, .sct_11 .sct_a:hover {text-decoration:none} -.sct_11 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:20px;left:30px;width:10px;height:19px;background:url('../../img/shop/icon_arw_toleft.gif') no-repeat} +.sct_11 .sct_arw_toleft {display:block;z-index:2;position:absolute;top:1.8em;left:2.8em;width:1em;height:1.8em;background:url('../../img/shop/icon_arw_toleft.gif') no-repeat} .sct_11 .sct_img {float:left;margin:0 1em 0 0} .sct_11 b {display:block;margin:0 0 1em;font-size:1.2em;letter-spacing:-0.1em} .sct_11 p {margin:0 0 1em;padding:0;line-height:1.5em} @@ -289,7 +289,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei .sit_empty {padding:2em 0;text-align:center} /* 상품 상세보기 - 개요 */ -#sit_ov_wrap {margin:0 0 20px;border-bottom:1px solid #e9e9e9;zoom:1} +#sit_ov_wrap {margin:0 0 2em;border-bottom:1px solid #e9e9e9;zoom:1} #sit_ov_wrap:after {display:block;visibility:hidden;clear:both;content:""} /* 상품 상세보기 - 이미지 미리보기 */ @@ -309,29 +309,29 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei #sit_pvi_slide img {width:280px;height:280px} #sit_pvi_nw h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sit_pvi_nwbig {padding:10px 0;text-align:center} -#sit_pvi_nw ul {margin:0 0 20px;padding:0 10px;list-style:none;zoom:1} +#sit_pvi_nwbig {padding:1em 0;text-align:center} +#sit_pvi_nw ul {margin:0 0 1.18em;padding:0 1em;list-style:none;zoom:1} #sit_pvi_nw ul:after {display:block;visibility:hidden;clear:both;content:""} #sit_pvi_nw li {float:left;margin:0 0 0 1px} #sit_pvi_nw li img {width:60px;height:60px} /* 상품 상세보기 - 간략정보 및 구매기능 */ -#sit_ov {position:relative;padding:50px 15px 15px;height:auto !important;height:355px;min-height:355px;background:#f5f6fa} +#sit_ov {position:relative;padding:50px 1.3em 1.3em;height:auto !important;height:355px;min-height:355px;background:#f5f6fa} #sit_ov h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sit_title {display:inline-block;margin:0 0 5px;font-size:1.3em} -#sit_desc {display:inline-block;margin:0 0 10px;color:#999} -.sit_icon {display:block;margin:5px 0 0} +#sit_title {display:inline-block;margin:0 0 0.3em;font-size:1.3em} +#sit_desc {display:inline-block;margin:0 0 1em;color:#999} +.sit_icon {display:block;margin:0.3em 0 0} .sit_icon img {margin:0 1px 0 0;border:1px solid #fff} #sit_star_sns {position:absolute;top:15px;right:15px;color:#b8afa2;font-size:0.95em;letter-spacing:-0.1em} -#sit_star_sns span {display:inline-block;margin:0 5px 0 0;color:#666;letter-spacing:0} +#sit_star_sns span {display:inline-block;margin:0 0.3em 0 0;color:#666;letter-spacing:0} #sit_star_sns .sit_star {position:relative;top:-2px;margin:0 5px 0 0} #sit_star_sns a {position:relative;top:-2px} #sit_ov_tbl {margin-bottom:2em;width:100%;border:0;border-collapse:collapse} #sit_ov_tbl th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;font-weight:normal;text-align:left} -#sit_ov_tbl td {padding:7px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} +#sit_ov_tbl td {padding:0.7em 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} .sit_ov_ro {padding:2px 2px 3px;border:0;background:transparent;text-align:right;vertical-align:middle} .sit_ov_opt {padding:2px 2px 3px;border:0;background:transparent;vertical-align:middle} .sit_ov_input {height:1.8em;border:1px solid #b8c9c2;background:transparent;vertical-align:middle} @@ -339,14 +339,14 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei #sit_ov_btn {margin:0;padding:0;text-align:center;list-style:none} #sit_ov_btn li {display:inline-block;margin:0 0 0 1px} -#sit_ov_btn a {display:inline-block;padding:10px 0 8px;width:80px;font-size:0.95em;text-align:center;text-decoration:none;letter-spacing:-0.1em} +#sit_ov_btn a {display:inline-block;padding:1em 0 0.7em;width:80px;font-size:0.95em;text-align:center;text-decoration:none;letter-spacing:-0.1em} #sit_btn_buy {background:#ff5b89;color:#fff} #sit_btn_cart, #sit_btn_wish {background:#555;color:#fff} #sit_btn_rec {background:#888;color:#fff} /* 상품 상세보기 - 다른 상품 보기 */ -#sit_siblings {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9;text-align:center} +#sit_siblings {margin:0 0 1em;padding:1em 1em 2em;border-bottom:1px solid #e9e9e9;text-align:center} #sit_siblings h2 {position:absolute;font-size:0;line-height:0;content:""} /* 상품 상세보기 - 상품정보 */ @@ -371,25 +371,25 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei #sit_qna h2 {margin:0 0 1em} #sit_qna h3 {margin:0 0 1em} -#sit_qna_ol {margin:0 0 5px;padding:0;border-top:1px solid #e9e9e9;list-style:none} -.sit_qna_li {position:relative;padding:0 0 10px;border-bottom:1px solid #e9e9e9;background:#f5f6fa} -.sit_qna_li_title {display:block;margin:0;padding:10px;width:100%;border:0;background:transparent;text-align:left;cursor:pointer} +#sit_qna_ol {margin:0 0 0.5em;padding:0;border-top:1px solid #e9e9e9;list-style:none} +.sit_qna_li {position:relative;padding:0 0 1em;border-bottom:1px solid #e9e9e9;background:#f5f6fa} +.sit_qna_li_title {display:block;margin:0;padding:1em;width:100%;border:0;background:transparent;text-align:left;cursor:pointer} -.sit_qna_dl {margin:0;padding:0 10px;zoom:1} +.sit_qna_dl {margin:0;padding:0 1em;zoom:1} .sit_qna_dl:after {display:block;visibility:hidden;clear:both;content:""} .sit_qna_dl dt {float:left} -.sit_qna_dl dd {float:left;margin:0 20px 0 5px} +.sit_qna_dl dd {float:left;margin:0 1.8em 0 0.3em} -.sit_qna_con {display:none;padding:10px 10px 0} +.sit_qna_con {display:none;padding:1em 1em 0} .sit_qna_con p {padding:0} -.sit_qna_qaq {margin:0 0 5px} +.sit_qna_qaq {margin:0 0 0.3em} .sit_qna_con textarea {display:none} .sit_qna_cmd {text-align:right} -.sit_qna_pw {display:none;position:absolute;top:30px;left:175px;padding:10px;width:348px;border:1px solid #000;background:#fff;text-align:center} -.sit_qna_pw span {display:block;margin:0 0 5px} +.sit_qna_pw {display:none;position:absolute;top:30px;left:175px;padding:1em;width:348px;border:1px solid #000;background:#fff;text-align:center} +.sit_qna_pw span {display:block;margin:0 0 0.3em} -#sit_qna_wbtn {margin:0 0 5px;text-align:right} +#sit_qna_wbtn {margin:0 0 0.3em;text-align:right} #sit_qna_w {display:none} @@ -409,24 +409,24 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei /* 사용후기 모음 */ #sps {zoom:1} #sps ol {margin:0;padding:0;border-top:1px solid #e9e9e9;list-style:none} -#sps li {position:relative;padding:10px;border-bottom:1px solid #e9e9e9} +#sps li {position:relative;padding:1em;border-bottom:1px solid #e9e9e9} #sps li:after {display:block;visibility:hidden;clear:both;content:""} -.sps_img {float:left;margin:0 10px 0 0;width:80px} +.sps_img {float:left;margin:0 1em 0 0;width:80px} .sps_img span {position:absolute;font-size:0;line-height:0} .sps_section {float:left;width:630px} -#sps dl {margin:5px 0 10px;zoom:1} +#sps dl {margin:0.3em 0 1em;zoom:1} #sps dl:after {display:block;visibility:hidden;clear:both;content:""} #sps dt {float:left} -#sps dd {float:left;margin:0 20px 0 5px} +#sps dd {float:left;margin:0 1.8em 0 0.3em} #sps dd img {position:relative;top:-2px} -.sps_section p {padding:0;width:100%;height:20px;overflow:hidden} +.sps_section p {padding:0;width:100%;height:1.8em;overflow:hidden} .sps_con_full {padding:0;height:auto !important} -.sps_con_btn {margin:5px 0 0;text-align:right} -.sps_con_btn button {margin:0;padding:5px;border:0;background:#565e60;color:#fff} +.sps_con_btn {margin:0.3em 0 0;text-align:right} +.sps_con_btn button {margin:0;padding:0.3em;border:0;background:#565e60;color:#fff} /* 마이페이지 */ #smb_my {} @@ -438,11 +438,11 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei #smb_my_ov dt {float:left;padding:0.8em;width:30%;border-bottom:1px solid #e9e9e9;font-weight:bold} #smb_my_ov dd {margin:0;padding:0.8em 0;border-bottom:1px solid #e9e9e9} -#smb_my_od {margin:0 0 20px} -#smb_my_od h2 {margin:0 0 10px} +#smb_my_od {margin:0 0 1.8em} +#smb_my_od h2 {margin:0 0 1em} #smb_my_od .td_stat {width:100px} -#smb_my_wish h2 {margin:0 0 10px} +#smb_my_wish h2 {margin:0 0 1em} .smb_my_img {width:90px;text-align:center} @@ -451,13 +451,13 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei .sod_bsk_img {width:90px;text-align:center} .sod_bsk_itopt {margin:0 0 0.5em;padding:0.3em;border:1px solid #e9e9e9;background:#f5f6fa} -#sod_bsk_dvr {padding:5px 0 12px;border-bottom:1px solid #e9e9e9} -#sod_bsk_cnt {margin:0 0 10px;padding:12px 0 12px;border-bottom:1px solid #e9e9e9;background:#f5f6fa} +#sod_bsk_dvr {padding:0.3em 0 1em;border-bottom:1px solid #e9e9e9} +#sod_bsk_cnt {margin:0 0 1em;padding:1em 0;border-bottom:1px solid #e9e9e9;background:#f5f6fa} .sod_bsk_tot span {display:inline-block;width:64%;text-align:right} .sod_bsk_tot strong {display:inline-block;width:35%;text-align:right} #sod_bsk_act {text-align:center} -#sod_bsk_act p {margin:0 0 10px} +#sod_bsk_act p {margin:0 0 1em} /* 위시리스트 */ #sod_ws {} @@ -467,22 +467,22 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei /* 주문서 작성 */ #sod_frm {} -#sod_frm h2 {margin:0 0 10px} +#sod_frm h2 {margin:0 0 1em} -#sod_frm_orderer {margin:20px 0 40px} +#sod_frm_orderer {margin:1.8em 0 3.6em} -#sod_frm_same {margin:0 0 10px} +#sod_frm_same {margin:0 0 1em} #sod_frm #od_memo {height:7em} #sod_frm_pay .frm_input {background:#fff !important} #sod_frm_pay .frm_input:focus {color:#000} -#sod_frm_paysel {margin:0 0 20px;padding:10px;border:1px solid #e9e9e9;background:#f5f6fa;text-align:center} +#sod_frm_paysel {margin:0 0 1.8em;padding:1em;border:1px solid #e9e9e9;background:#f5f6fa;text-align:center} #sod_frm_paysel legend {position:absolute;font-size:0;line-height:0;overflow:hidden} -#settle_bank {margin:10px 0 0} +#settle_bank {margin:1em 0 0} -#sod_frm_escrow {margin:30px 0 0} +#sod_frm_escrow {margin:2.8em 0 0} /* 주문내역 */ #sod_v {} @@ -490,83 +490,47 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei /* 주문상세내역 */ #sod_fin {} -#sod_fin_list dl {padding:7px 5px 0;border:1px solid #e9e9e9;zoom:1} +#sod_fin_list dl {padding:0.6em 0.3em 0;border:1px solid #e9e9e9;zoom:1} #sod_fin_list dl:after {display:block;visibility:hidden;clear:both;content:''} -#sod_fin_list dt {clear:both;float:left;margin:0 0 5px;width:50px;font-weight:bold} +#sod_fin_list dt {clear:both;float:left;margin:0 0 0.3em;width:50px;font-weight:bold} #sod_fin_list dd {float:left;margin:0} #sod_fin_view {border:1px solid #e9e9e9} #sod_fin_view h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sod_fin_view h3 {margin:0 0 10px} -#sod_fin_view .basic_tbl th {padding:0 10px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f5f6fa;text-align:left} +#sod_fin_view h3 {margin:0 0 1em} +#sod_fin_view .basic_tbl th {padding:0 1em;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f5f6fa;text-align:left} -#sod_fin_pay {padding:10px;border-bottom:1px solid #e9e9e9} +#sod_fin_pay {padding:1em;border-bottom:1px solid #e9e9e9} -#sod_fin_orderer {padding:10px;border-bottom:1px solid #e9e9e9} +#sod_fin_orderer {padding:1em;border-bottom:1px solid #e9e9e9} -#sod_fin_receiver {padding:10px;border-bottom:1px solid #e9e9e9} +#sod_fin_receiver {padding:1em;border-bottom:1px solid #e9e9e9} -#sod_fin_dvr {padding:10px} +#sod_fin_dvr {padding:1em} -#sod_fin_tot {margin:0 0 30px;padding:10px;border:1px solid #e9e9e9;border-top:0;background:#565e60;color:#fff} +#sod_fin_tot {margin:0 0 2.8em;padding:1em;border:1px solid #e9e9e9;border-top:0;background:#565e60;color:#fff} #sod_fin_tot h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #sod_fin_tot ul {margin:0;padding:0;list-style:none} -#sod_fin_tot li {padding:10px;border-bottom:1px solid #6f7a7d;zoom:1} +#sod_fin_tot li {padding:1em;border-bottom:1px solid #6f7a7d;zoom:1} #sod_fin_tot li:after {display:block;visibility:hidden;clear:both;content:""} #sod_fin_tot #alrdy {border-bottom:0 !important} #sod_fin_tot strong {float:right} #sod_fin_cancel {text-align:center} #sod_fin_cancel h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sod_fin_cancel button {padding:10px;border:0;background:#ff3600;color:#fff} -#sod_fin_cancelfrm {display:none;margin:10px 0 0} +#sod_fin_cancel button {padding:1em;border:0;background:#ff3600;color:#fff} +#sod_fin_cancelfrm {display:none;margin:1em 0 0} #sod_fin_cancelfrm .frm_input {background:#fff} /* 주문상세내역 중 현금영수증 발급 */ #scash {} -#scash section {padding:10px 0} -#scash h2 {margin:0 0 10px;text-align:center} -#scash .basic_tbl th {padding:0 10px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f5f6fa;text-align:left} -#scash_apply {padding:10px 0 20px;text-align:center} -#scash_apply button {padding:10px;border:0;background:#565e60;color:#fff} +#scash section {padding:1em 0} +#scash h2 {margin:0 0 1em;text-align:center} +#scash .basic_tbl th {padding:0 1em;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#f5f6fa;text-align:left} +#scash_apply {padding:1em 0 1.8em;text-align:center} +#scash_apply button {padding:1em;border:0;background:#565e60;color:#fff} #scash_copy {text-align:center} -/* 공지사항 및 커뮤니티 새글 */ -#sidx_lat {padding:15px 0 0;border-top:1px solid #ddd} -#sidx_lat h2 {text-align:center} - -/* 배너 인덱스 출력 */ -#sbn_idx {} -#sbn_idx h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sbn_idx ul {margin:0;padding:0;border:0;list-style:none} -#sbn_idx li {margin:0 0 1px} - -/* 내용관리 */ -#socc {margin:10px 0;padding:10px;border:1px solid #e9e9e9} -.socc_admin {text-align:right} -#socc header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#socc_con {padding:10px 0} -.socc_img {text-align:center} - -/* FAQ 관리 */ -#sfaq {} -.sfaq_admin {text-align:right} -#sfaq header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sfaq_wrap {margin:10px 0} -#sfaq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#sfaq_wrap ol {margin:0;padding:0;list-style:none} -#sfaq_list {margin:0 0 10px;border:1px solid #ccc} -#sfaq_list li {border-bottom:1px solid #fff;background:#f5f6fa} -#sfaq_list a {display:block;padding:10px;font-weight:bold;text-decoration:none} -#sfaq_list a:focus, -#sfaq_list a:hover {background:#626870;color:#fff} -#sfaq_con {border:1px solid #e9e9e9;border-top:0} -#sfaq_con li {padding:0 0 10px} -#sfaq_con h3 {padding:10px;background:#f5f6fa;border-top:1px solid #e9e9e9} -#sfaq_con p {padding:10px} -.sfaq_tolist {padding:0 10px;text-align:right} -.sfaq_img {text-align:center} - /* 상품검색 */ #ssch{margin:0 0 2em} #ssch_ov {padding:15px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa;text-align:center} From c5ce7155af3573bb9668fec74aefc330fe6a1ec6 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 17:37:22 +0900 Subject: [PATCH 8/9] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90:=20=EC=83=81=ED=92=88=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=20=EC=9C=A0=ED=9A=A8=EC=84=B1=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=A0=95=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemlist.php | 8 ++++---- lib/common.lib.php | 2 +- lib/shop.lib.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/adm/shop_admin/itemlist.php b/adm/shop_admin/itemlist.php index 4c9ee9fb2..9be2853d1 100644 --- a/adm/shop_admin/itemlist.php +++ b/adm/shop_admin/itemlist.php @@ -17,7 +17,7 @@ $result = sql_query($sql); for ($i=0; $row=sql_fetch_array($result); $i++) { $len = strlen($row['ca_id']) / 2 - 1; - $nbsp = ""; + $nbsp = ''; for ($i=0; $i<$len; $i++) { $nbsp .= '   '; } @@ -102,8 +102,8 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌 $result1 = sql_query($sql1); for ($i=0; $row1=sql_fetch_array($result1); $i++) { $len = strlen($row1['ca_id']) / 2 - 1; - $nbsp = ""; - for ($i=0; $i<$len; $i++) $nbsp .= "   "; + $nbsp = ''; + for ($i=0; $i<$len; $i++) $nbsp .= '   '; echo ''.PHP_EOL; } ?> @@ -120,7 +120,7 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌 - + diff --git a/lib/common.lib.php b/lib/common.lib.php index 1ac098608..00ae54b39 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1677,7 +1677,7 @@ function abs_ip2long($ip='') function get_selected($field, $value) { - return ($field==$value) ? ' selected="selected"' : ''; + return ($field==$value) ? ' selected' : ''; } diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 17208d845..c6305fdde 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -673,7 +673,7 @@ function conv_selected_option($options, $value) if(!$options) return ''; - $options = preg_replace('/(value=[\'\"]?'.$value.'[\'\"]?)/i', '\\1 selected="selected"', $options); + $options = preg_replace('/(value=[\'\"]?'.$value.'[\'\"]?)/i', '\\1 selected', $options); return $options; } From a1a16814ff5660d7e29e0949f94c724e4bbdf30c Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 13 May 2013 17:41:16 +0900 Subject: [PATCH 9/9] =?UTF-8?q?M=EC=87=BC=ED=95=91=EB=AA=B0:=20#167=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20=EC=83=81=EB=8B=A8=20?= =?UTF-8?q?=EC=9E=91=EC=97=85=20=EC=A4=91=20css=20=EC=88=9C=EC=84=9C=20?= =?UTF-8?q?=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile_shop.css | 342 +++++++++++++++++++------------------- mobile/shop/shop.head.php | 2 +- 2 files changed, 171 insertions(+), 173 deletions(-) diff --git a/css/mobile_shop.css b/css/mobile_shop.css index b69ebc17c..62a1b5ed5 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -24,40 +24,10 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} -/* 화면낭독기 사용자용 */ -#hd_login_msg {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} -.msg_sound_only, -.sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important} -/* 본문 바로가기 */ -#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden} -#to_content a:focus, -#to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em} - -/* 이미지 등비율 리사이징 */ -.img_fix {width:100%;height:auto} - -/* 캡챠 자동등록(입력)방지 기본 */ -#captcha img {border:1px solid #cfded8;border-right:0} -#captcha_mp3 img {border:1px solid #cfded8;border-left:0;background:#494949} -#mp3_embed {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} /* 익스 8 이하에서 음성캡챠 실행 스타일 */ - -/* ckeditor 단축키 */ -.cke_sc {margin:0 0 0.5em;text-align:right} -.btn_cke_sc{display:inline-block;padding:0 1em;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:1.9em;vertical-align:middle} -.cke_sc_def {margin:0 0 0.5em;padding:1em;border:1px solid #ccc;background:#f5f6fa;text-align:center} -.cke_sc_def dl {margin:0 0 0.5em;text-align:left;zoom:1} -.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""} -.cke_sc_def dt, -.cke_sc_def dd {float:left;margin:0;padding:0.5em 0;border-bottom:1px solid .e9e9e9} -.cke_sc_def dt {width:20%;font-weight:bold} -.cke_sc_def dd {width:30%} - /* 상단 레이아웃 */ -#hd h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} - -/* 텍스트 크기 조절 */ -#text_size {display:none;position:absolute;top:-31px;left:-1px} -#text_size button {padding:0 1em;height:2.5em;border:1px solid #cfded8;border-bottom:0;background:#000;color:#fff;cursor:pointer} +#hd h1, +#hd h2, +#hd h3 {position:absolute;font-size:0;line-height:0;overflow:hidden} #wrapper_title {margin-bottom:1em;font-size:1.2em} @@ -70,144 +40,6 @@ a:active {color:#000;text-decoration:underline} .sanchor a:hover {background:#626870;color:#fff;text-decoration:none} a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none} -/* Mobile화면으로 */ -#mobile_cng {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center} - -/* 콘텐츠별 스타일 */ -.cnt_cmt {display:inline-block;margin:0 0 0 0.3em;font-weight:bold} -/* 버튼 */ -.btn01 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;font-size:1em;text-decoration:none !important;line-height:2em;vertical-align:middle} -.btn01:focus, -.btn01:hover {text-decoration:none !important} -.btn02 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #333 !important;background:#333 !important;color:#fff !important;font-size:1em;text-decoration:none !important;line-height:2em;vertical-align:middle} -.btn02:focus, -.btn02:hover {text-decoration:none !important} -.btn_confirm {text-align:center} /* 서식단계 진행 */ -.btn_submit {padding:0 1em;height:2.6em;border:0;background:#333;color:#fff;font-size:1em;letter-spacing:-0.1em;vertical-align:top;cursor:pointer;-webkit-appearance:none} -.btn_cancel {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.5em} -.btn_frmline {display:inline-block;padding:0 0.3em;height:1.9em;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.9em} /* 우편번호검색버튼 등 */ -.btn_win {clear:both;margin-bottom:1.5em;text-align:center} /* 새창용 */ -.btn_win a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em;cursor:pointer} -/* 게시판용 버튼 */ -.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:middle} -.btn_b01:focus, -.btn_b01:hover {text-decoration:none !important} -.btn_b02 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:middle} -.btn_b02:focus, -.btn_b02:hover {text-decoration:none !important} -.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c !important;background:#e8180c !important;color:#fff !important;text-decoration:none !important;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */ -.btn_admin:focus, -.btn_admin:hover {text-decoration:none !important} - -/* 기본테이블 */ -.basic_tbl {margin-bottom:1em;width:100%;border-collapse:collapse;border-spacing:0} -.basic_tbl caption {padding:0 0 1em;color:#777;text-align:left} -.basic_tbl thead th {padding:0.5em 0;background:#565e60;color:#fff} -.basic_tbl thead a {color:#fff} -.basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */ -.basic_tbl tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff} -.basic_tbl tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center} -.basic_tbl td {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all} -.basic_tbl a {display:block;padding:0.5em;color:#000;text-decoration:none} -.bo_sideview td {} /* 사이드뷰 사용하는 테이블 셀 패딩값 */ -td.empty_table {padding:5em 0;text-align:center} - -/* 필수입력 */ -.required {background:url('../img/wrest.gif') #f7f7f7 top right no-repeat !important} - -/* 폼 테이블 */ -.frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0} -.frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left} -.frm_tbl th {padding-left:1em;width:110px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left} -.frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent} -.frm_tbl textarea, -.frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none} -.frm_input:focus, -input.required:focus {border:0;background:#21272e !important;color:#fff;line-height:1.8em} -.frm_tbl textarea {width:90%;height:10em} -.frm_address {display:block;margin-top:0.3em} -.frm_file {display:block;margin-bottom:0.3em} -.frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent} -.frm_tbl #captcha input {margin-left:0.3em;text-align:center} -.frm_tbl a {text-decoration:none} - -.frm_info {display:block;padding:0.3em 0 0;color:#666;line-height:1.3em} - -/* 테이블 그리드 padding 0 5px 고려한 넓이 */ -.grid_1 {width:40px} -.grid_2 {width:90px} -.grid_3 {width:140px} -.grid_4 {width:190px} -.grid_5 {width:240px} -.grid_6 {width:290px} -.grid_7 {width:340px} -.grid_8 {width:390px} -.grid_9 {width:440px} -.grid_10 {width:490px} -.grid_11 {width:540px} -.grid_12 {width:590px} -.grid_13 {width:640px} -.grid_14 {width:690px} -.grid_15 {width:740px} -.grid_16 {width:790px} -.grid_17 {width:840px} -.grid_18 {width:890px} - -/* 테이블 항목별 정의 */ -.td_chk {width:50px;text-align:center} -.td_group {width:100px;text-align:center} -.td_board {width:120px;text-align:center} -.td_num {width:50px;text-align:center} -.td_bignum {width:120px;text-align:center} -.td_mb_id {width:100px;text-align:center} -.td_nick {width:100px;text-align:center} -.td_name {width:100px;text-align:left} -.td_date {width:100px;text-align:center} -.td_datetime {width:170px;text-align:center} -.td_smallmng {width:50px;text-align:center} -.td_mng {width:80px;text-align:center} -.td_stat {text-align:center} - -/* 새창 기본 스타일 */ -.new_win {} -.new_win h1 {margin-bottom:2em;padding:0 2em;height:60px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} -.new_win table {margin:0 auto 2em !important;width:93% !important;background:#fff !important} -.new_win_ul {margin:-2em 0 2em 0;padding:0 0 0 2em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1} -.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""} -.new_win_ul li {float:left;margin-left:-1px} -.new_win_ul a {display:block;padding:1em 1em 0.7em;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none} -.new_win_desc {margin:0 auto;width:93%} - -/* 자바스크립트 alert 대안 */ -#validation_check {margin:100px auto;width:500px} -#validation_check h1 {margin-bottom:2em;font-size:1.3em} -#validation_check p {margin-bottom:2em;padding:3em 2em;border:1px solid #e9e9e9;background:#fff} - -/* 사이드뷰 */ -.sv_wrap {display:inline-block;position:relative;font-weight:normal} -.sv_wrap .sv {z-index:1000;display:none;margin:0.5em 0 0;border:1px solid #283646;background:#111} -.sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:0.3em !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:1em;left:2em;width:auto;height:auto !important} -.sv_nojs .sv {display:block} - -/* pagination */ -.pg_wrap {clear:both;margin:0 0 1em;padding-top:1em;text-align:center} -.pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px} -.pg a:focus, -.pg a:hover, -.pg a:active {text-decoration:none} -.pg_page, -.pg_current {display:inline-block;padding:0 0.6em;color:#000;letter-spacing:0;line-height:1.9em;vertical-align:middle} -.pg_page {background:#f9f9f9;text-decoration:none} -.pg_start, -.pg_prev {border-right:1px solid #cfded8} -.pg_end, -.pg_next {border-left:1px solid #cfded8} -.pg_current {background:#333;color:#fff;font-weight:bold} - /* ########## 쇼핑몰 컨텐츠 ########## */ /* 인덱스 이미지 출력 */ #sidx {padding:1em} @@ -542,4 +374,170 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei /* 쇼핑몰 이벤트 */ #sev {} -.sev_admin {text-align:right} \ No newline at end of file +.sev_admin {text-align:right} + +/* 화면낭독기 사용자용 */ +#hd_login_msg {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} +.msg_sound_only, +.sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important} +/* 본문 바로가기 */ +#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden} +#to_content a:focus, +#to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em} + +/* 이미지 등비율 리사이징 */ +.img_fix {width:100%;height:auto} + +/* 캡챠 자동등록(입력)방지 기본 */ +#captcha img {border:1px solid #cfded8;border-right:0} +#captcha_mp3 img {border:1px solid #cfded8;border-left:0;background:#494949} +#mp3_embed {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} /* 익스 8 이하에서 음성캡챠 실행 스타일 */ + +/* Mobile화면으로 */ +#mobile_cng {display:block;margin:0.3em;padding:0.5em 0;border:1px solid #eee;border-radius:2em;background:#fff;color:#000;font-size:2em;text-decoration:none;text-align:center} + +/* ckeditor 단축키 */ +.cke_sc {margin:0 0 0.5em;text-align:right} +.btn_cke_sc{display:inline-block;padding:0 1em;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:1.9em;vertical-align:middle} +.cke_sc_def {margin:0 0 0.5em;padding:1em;border:1px solid #ccc;background:#f5f6fa;text-align:center} +.cke_sc_def dl {margin:0 0 0.5em;text-align:left;zoom:1} +.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""} +.cke_sc_def dt, +.cke_sc_def dd {float:left;margin:0;padding:0.5em 0;border-bottom:1px solid .e9e9e9} +.cke_sc_def dt {width:20%;font-weight:bold} +.cke_sc_def dd {width:30%} + +/* 콘텐츠별 스타일 */ +.cnt_cmt {display:inline-block;margin:0 0 0 0.3em;font-weight:bold} +/* 버튼 */ +.btn01 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;font-size:1em;text-decoration:none !important;line-height:2em;vertical-align:middle} +.btn01:focus, +.btn01:hover {text-decoration:none !important} +.btn02 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #333 !important;background:#333 !important;color:#fff !important;font-size:1em;text-decoration:none !important;line-height:2em;vertical-align:middle} +.btn02:focus, +.btn02:hover {text-decoration:none !important} +.btn_confirm {text-align:center} /* 서식단계 진행 */ +.btn_submit {padding:0 1em;height:2.6em;border:0;background:#333;color:#fff;font-size:1em;letter-spacing:-0.1em;vertical-align:top;cursor:pointer;-webkit-appearance:none} +.btn_cancel {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.5em} +.btn_frmline {display:inline-block;padding:0 0.3em;height:1.9em;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.9em} /* 우편번호검색버튼 등 */ +.btn_win {clear:both;margin-bottom:1.5em;text-align:center} /* 새창용 */ +.btn_win a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em;cursor:pointer} +/* 게시판용 버튼 */ +.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:middle} +.btn_b01:focus, +.btn_b01:hover {text-decoration:none !important} +.btn_b02 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:middle} +.btn_b02:focus, +.btn_b02:hover {text-decoration:none !important} +.btn_admin {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #e8180c !important;background:#e8180c !important;color:#fff !important;text-decoration:none !important;line-height:2em;vertical-align:middle} /* 관리자 전용 버튼 */ +.btn_admin:focus, +.btn_admin:hover {text-decoration:none !important} + +/* 기본테이블 */ +.basic_tbl {margin-bottom:1em;width:100%;border-collapse:collapse;border-spacing:0} +.basic_tbl caption {padding:0 0 1em;color:#777;text-align:left} +.basic_tbl thead th {padding:0.5em 0;background:#565e60;color:#fff} +.basic_tbl thead a {color:#fff} +.basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */ +.basic_tbl tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff} +.basic_tbl tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center} +.basic_tbl td {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all} +.basic_tbl a {display:block;padding:0.5em;color:#000;text-decoration:none} +.bo_sideview td {} /* 사이드뷰 사용하는 테이블 셀 패딩값 */ +td.empty_table {padding:5em 0;text-align:center} + +/* 필수입력 */ +.required {background:url('../img/wrest.gif') #f7f7f7 top right no-repeat !important} + +/* 폼 테이블 */ +.frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0} +.frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left} +.frm_tbl th {padding-left:1em;width:110px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left} +.frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent} +.frm_tbl textarea, +.frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none} +.frm_input:focus, +input.required:focus {border:0;background:#21272e !important;color:#fff;line-height:1.8em} +.frm_tbl textarea {width:90%;height:10em} +.frm_address {display:block;margin-top:0.3em} +.frm_file {display:block;margin-bottom:0.3em} +.frm_tbl #captcha {margin:0;padding:0;border:0;background:transparent} +.frm_tbl #captcha input {margin-left:0.3em;text-align:center} +.frm_tbl a {text-decoration:none} + +.frm_info {display:block;padding:0.3em 0 0;color:#666;line-height:1.3em} + +/* 테이블 그리드 padding 0 5px 고려한 넓이 */ +.grid_1 {width:40px} +.grid_2 {width:90px} +.grid_3 {width:140px} +.grid_4 {width:190px} +.grid_5 {width:240px} +.grid_6 {width:290px} +.grid_7 {width:340px} +.grid_8 {width:390px} +.grid_9 {width:440px} +.grid_10 {width:490px} +.grid_11 {width:540px} +.grid_12 {width:590px} +.grid_13 {width:640px} +.grid_14 {width:690px} +.grid_15 {width:740px} +.grid_16 {width:790px} +.grid_17 {width:840px} +.grid_18 {width:890px} + +/* 테이블 항목별 정의 */ +.td_chk {width:50px;text-align:center} +.td_group {width:100px;text-align:center} +.td_board {width:120px;text-align:center} +.td_num {width:50px;text-align:center} +.td_bignum {width:120px;text-align:center} +.td_mb_id {width:100px;text-align:center} +.td_nick {width:100px;text-align:center} +.td_name {width:100px;text-align:left} +.td_date {width:100px;text-align:center} +.td_datetime {width:170px;text-align:center} +.td_smallmng {width:50px;text-align:center} +.td_mng {width:80px;text-align:center} +.td_stat {text-align:center} + +/* 새창 기본 스타일 */ +.new_win {} +.new_win h1 {margin-bottom:2em;padding:0 2em;height:60px;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;background:#fff;font-size:1.2em;line-height:5em} +.new_win table {margin:0 auto 2em !important;width:93% !important;background:#fff !important} +.new_win_ul {margin:-2em 0 2em 0;padding:0 0 0 2em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1} +.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""} +.new_win_ul li {float:left;margin-left:-1px} +.new_win_ul a {display:block;padding:1em 1em 0.7em;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none} +.new_win_desc {margin:0 auto;width:93%} + +/* 자바스크립트 alert 대안 */ +#validation_check {margin:100px auto;width:500px} +#validation_check h1 {margin-bottom:2em;font-size:1.3em} +#validation_check p {margin-bottom:2em;padding:3em 2em;border:1px solid #e9e9e9;background:#fff} + +/* 사이드뷰 */ +.sv_wrap {display:inline-block;position:relative;font-weight:normal} +.sv_wrap .sv {z-index:1000;display:none;margin:0.5em 0 0;border:1px solid #283646;background:#111} +.sv_wrap .sv a {display:inline-block !important;margin:0 !important;padding:0.3em !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:1em;left:2em;width:auto;height:auto !important} +.sv_nojs .sv {display:block} + +/* pagination */ +.pg_wrap {clear:both;margin:0 0 1em;padding-top:1em;text-align:center} +.pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px} +.pg a:focus, +.pg a:hover, +.pg a:active {text-decoration:none} +.pg_page, +.pg_current {display:inline-block;padding:0 0.6em;color:#000;letter-spacing:0;line-height:1.9em;vertical-align:middle} +.pg_page {background:#f9f9f9;text-decoration:none} +.pg_start, +.pg_prev {border-right:1px solid #cfded8} +.pg_end, +.pg_next {border-left:1px solid #cfded8} +.pg_current {background:#333;color:#fff;font-weight:bold} \ No newline at end of file diff --git a/mobile/shop/shop.head.php b/mobile/shop/shop.head.php index d976049f9..d37d074d3 100644 --- a/mobile/shop/shop.head.php +++ b/mobile/shop/shop.head.php @@ -16,7 +16,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
수량 판매가 소계포인트 삭제상태
삭제'.$row['ct_status'].'