From b1ffcaf6603e6c10f37d93e24691f67f80a2f2cc Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 11:01:39 +0900 Subject: [PATCH 1/8] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#95=20?= =?UTF-8?q?=EC=98=A4=EB=8A=98=20=EB=B3=B8=20=EC=83=81=ED=92=88=20=ED=91=9C?= =?UTF-8?q?=EC=A4=80=ED=99=94=20=EB=B0=8F=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 21 +++++++++++---------- shop/boxtodayview.inc.php | 20 +++++++++++--------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 76dc8cc67..7283ee23d 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -9,11 +9,7 @@ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, header ul, nav ul, footer ul {margin:0;padding:0;list-style:none} label, input, select, img {vertical-align:middle} input {margin:0;padding:0;border-radius:0;font-family:"dotum"} -input[type=text], -input[type=password], -input[type=submit], -input[type=image] {-webkit-appearance:none} -button {border-radius:0;font-size:1em;-webkit-appearance:none} +button {border-radius:0;font-size:1em} p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all} hr {display:none} pre {overflow-x:scroll;font-size:1.1em} @@ -96,15 +92,20 @@ a:active {color:#000;text-decoration:underline} #stv {float:right;width:90px} #stv_list {border:1px solid #e9e9e9} #stv_list h2 {padding:10px 0 8px;background:#f7f7f7;text-align:center;letter-spacing:-0.1em} +#stv_pg {display:block;margin:5px 0 0} #stv_list p {padding:20px 0;text-align:center} -#stv_ul {margin:0;padding:0;list-style:none} -.stv_item {display:none} +#stv_btn {text-align:center;zoom:1} +#stv_btn:after {display:block;visibility:hidden;clear:both;content:''} +#stv_btn button {float:left;padding:5px 0 3px;width:44px;border:0;background:#555;color:#fff;text-align:center} +#stv_ul {margin:5px 0 10px;padding:0;list-style:none} +.stv_item {display:none;text-align:center} +.stv_item img {margin:5px 0} #stv_nb {background:#f9faf5} #stv_nb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#stv_nb_ul {margin:0;padding:0;list-style:none} -#stv_nb_ul li {text-align:center} -#stv_nb_ul a {display:block} +#stv_nb ul {margin:0;padding:0;list-style:none} +#stv_nb li {text-align:center} +#stv_nb a {display:block} /* aside wrapper */ #aside {float:left;margin:0 10px 0 0;width:150px} diff --git a/shop/boxtodayview.inc.php b/shop/boxtodayview.inc.php index 59163e334..6586cde4b 100644 --- a/shop/boxtodayview.inc.php +++ b/shop/boxtodayview.inc.php @@ -8,12 +8,14 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 ?>
-

오늘 본 상품

+

+ 오늘 본 상품 + +

-
- +
@@ -42,14 +44,14 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 var itemQty = ; // 총 아이템 수량 var itemShow = ; // 한번에 보여줄 아이템 수량 var Flag = 1; // 페이지 - var EOFlag = parseInt(/itemShow); // 전체 리스트를 3(한 번에 보여줄 값)으로 나눠 페이지 최댓값을 구하고 - var itemRest = parseInt(%itemShow); // 나머지 값을 구한 후 + var EOFlag = parseInt(/itemShow); // 전체 리스트를 3(한 번에 보여줄 값)으로 나눠 페이지 최댓값을 구하고 + var itemRest = parseInt(%itemShow); // 나머지 값을 구한 후 if (itemRest > 0) // 나머지 값이 있다면 { EOFlag++; // 페이지 최댓값을 1 증가시킨다. } $('.c'+Flag).css('display','block'); - $('#pg').text(Flag+'/'+EOFlag); // 페이지 초기 출력값 + $('#stv_pg').text(Flag+'/'+EOFlag); // 페이지 초기 출력값 $('#up').click(function() { if (Flag == 1) { @@ -59,7 +61,7 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 $('.c'+Flag).css('display','block'); $('.c'+(Flag+1)).css('display','none'); } - $('#pg').text(Flag+'/'+EOFlag); // 페이지 값 재설정 + $('#stv_pg').text(Flag+'/'+EOFlag); // 페이지 값 재설정 }) $('#down').click(function() { if (Flag == EOFlag) @@ -70,7 +72,7 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 $('.c'+Flag).css('display','block'); $('.c'+(Flag-1)).css('display','none'); } - $('#pg').text(Flag+'/'+EOFlag); // 페이지 값 재설정 + $('#stv_pg').text(Flag+'/'+EOFlag); // 페이지 값 재설정 }); }); @@ -83,7 +85,7 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수
-
-히트상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
-추천상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
-인기상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
-할인상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
+
+
+

최신상품

+

최신상품 모음

+
+ +
+ +
+
+

히트상품

+

히트상품 모음

+
+ +
+ +
+
+

추천상품

+

추천상품 모음

+
+ +
+ +
+
+

인기상품

+

인기상품 모음

+
+ +
+ +
+
+

할인상품

+

할인상품 모음

+
+ +
+
@@ -68,17 +99,6 @@ if ($default['de_type'.$type.'_list_use'])
-최신상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
diff --git a/shop/maintype10.inc.php b/shop/maintype10.inc.php index caaa82ed8..a15c7068b 100644 --- a/shop/maintype10.inc.php +++ b/shop/maintype10.inc.php @@ -1,37 +1,27 @@ - - 0 && $i % $list_mod == 0) { - echo "\n\n\n"; - } - - $href = ""; + $href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id']; + if (($i+1)%$list_mod == 0) $sidx_it_last = 'sidx_it_last'; + else $sidx_it_last = ''; + if ($i == 0) echo ' -"; -*/ -} - -// 나머지 td 를 채운다. -if (($cnt = $i%$list_mod) != 0) - for ($k=$cnt; $k<$list_mod; $k++) - echo "\n"; +
  • + + + + + +
    + 페이스북에 공유 + 트위터에 공유 + 구글플러스에 공유 +
    +
  • + 0) echo ''; ?> - -
    - - - - - - -
     
    From 52916b6c96303aa9f8167e94f77ffcb902f80975 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 17:42:44 +0900 Subject: [PATCH 4/8] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#103=20?= =?UTF-8?q?=EC=98=A4=EB=8A=98=20=EB=B3=B8=20=EC=83=81=ED=92=88=20=ED=81=AC?= =?UTF-8?q?=EB=A1=9C=EC=8A=A4=EB=B8=8C=EB=9D=BC=EC=9A=B0=EC=A7=95=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/boxtodayview.inc.php | 42 ++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/shop/boxtodayview.inc.php b/shop/boxtodayview.inc.php index 12e661888..0cebb0d81 100644 --- a/shop/boxtodayview.inc.php +++ b/shop/boxtodayview.inc.php @@ -35,7 +35,7 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 } if ($i > 1) echo ''.PHP_EOL; ?> - + - -

    없음

    @@ -110,4 +92,24 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수
  • 주문/배송조회
  • - \ No newline at end of file + + + + + \ No newline at end of file From 9e4694aa0703edab30e34622e0a14fe1ca691e2f Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 17:44:33 +0900 Subject: [PATCH 5/8] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#103=20?= =?UTF-8?q?=EC=98=A4=EB=8A=98=20=EB=B3=B8=20=EC=83=81=ED=92=88=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EB=AC=B8=EA=B5=AC=20=EC=88=98=EC=A0=95=20=EB=B0=8F?= =?UTF-8?q?=20=EB=84=93=EC=9D=B4=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 6 +++--- shop/boxtodayview.inc.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 45e261d3b..f837a2b15 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -89,14 +89,14 @@ a:active {color:#3c4043;text-decoration:underline} #wrapper_title {margin-bottom:20px;font-size:1.2em} /* 오늘 본 상품 */ -#stv {z-index:1001;float:right;position:relative;width:90px;background:#fff} -#stv_list {position:fixed !important;position:absolute;width:90px;border:1px solid #e9e9e9} +#stv {z-index:1001;float:right;position:relative;width:88px;background:#fff} +#stv_list {position:fixed !important;position:absolute;width:88px;border:1px solid #e9e9e9} #stv_list h2 {padding:10px 0 8px;background:#f7f7f7;text-align:center;letter-spacing:-0.1em} #stv_pg {display:block;margin:5px 0 0} #stv_list p {padding:20px 0;text-align:center} #stv_btn {text-align:center;zoom:1} #stv_btn:after {display:block;visibility:hidden;clear:both;content:''} -#stv_btn button {float:left;padding:5px 0 4px;width:44px;border:0;background:#555;color:#fff;text-align:center} +#stv_btn button {float:left;margin:0;padding:5px 0 4px;width:44px;border:0;background:#555;color:#fff;text-align:center} #stv_ul {margin:5px 0 10px;padding:0;list-style:none} .stv_item {display:none;text-align:center} .stv_item img {margin:5px 0} diff --git a/shop/boxtodayview.inc.php b/shop/boxtodayview.inc.php index 0cebb0d81..66278196c 100644 --- a/shop/boxtodayview.inc.php +++ b/shop/boxtodayview.inc.php @@ -42,7 +42,7 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 var itemShow = ; // 한번에 보여줄 아이템 수량 if (itemQty > itemShow) { - $('#stv_btn').append(''); + $('#stv_btn').append(''); } var Flag = 1; // 페이지 var EOFlag = parseInt(/itemShow); // 전체 리스트를 3(한 번에 보여줄 값)으로 나눠 페이지 최댓값을 구하고 From fa543306309c7bed64d47382d560f6105db88140 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 17:49:32 +0900 Subject: [PATCH 6/8] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#91=20#101?= =?UTF-8?q?=20=EC=9D=B8=EB=8D=B1=EC=8A=A4=20=EC=83=81=ED=92=88=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=20=EC=8A=A4=ED=83=80=EC=9D=BC=20SNS=20=EC=95=84?= =?UTF-8?q?=EC=9D=B4=EC=BD=98=20=EC=9C=84=EC=B9=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/default_shop.css b/css/default_shop.css index f837a2b15..86cf50317 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -175,7 +175,7 @@ a:active {color:#3c4043;text-decoration:underline} .sidx_it_10 .sidx_it_a {display:block;font-weight:bold;text-decoration:none} .sidx_it_10 span {display:block;margin:0 0 10px} .sidx_it_10 b {display:block;margin:0 0 5px;font-weight:normal} -.sidx_it_10 .sidx_it_sns {position:absolute;top:195px;right:20px} +.sidx_it_10 .sidx_it_sns {position:absolute;top:190px;right:20px} /* 배너 인덱스 출력 */ #sbn_idx {} From bdd58e85f4051721c076163d2a26d6292a9d759d Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 17:52:24 +0900 Subject: [PATCH 7/8] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20=EC=A0=84?= =?UTF-8?q?=EC=B2=B4=20=EA=B8=80=EC=9E=90=EC=83=89=20=EC=A7=80=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 86cf50317..8eaabb89c 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -2,7 +2,7 @@ /* 초기화 */ html {overflow-y:scroll} -body {margin:0;padding:0;background:#fff;color:#3c4043;font-size:0.75em;font-family:"dotum"} +body {margin:0;padding:0;background:#fff;color:#000;font-size:0.75em;font-family:"dotum"} html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0} h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} @@ -14,10 +14,10 @@ p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all} hr {display:none} pre {overflow-x:scroll;font-size:1.1em} a:link, -a:visited {color:#3c4043;text-decoration:none} +a:visited {color:#000;text-decoration:none} a:hover, a:focus, -a:active {color:#3c4043;text-decoration:underline} +a:active {color:#000;text-decoration:underline} /* 화면낭독기 사용자용 */ #hd_login_msg {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} From d01c28802c890a753f54f1ca20ffa8805221e873 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 18:04:18 +0900 Subject: [PATCH 8/8] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#107=20?= =?UTF-8?q?=EC=B5=9C=EC=8B=A0=EA=B8=80=20=EC=8A=A4=ED=82=A8=20=EC=9E=91?= =?UTF-8?q?=EC=97=85=20=EC=8B=9C=EC=9E=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/index.php | 5 +-- skin/latest/shop_basic/latest.skin.php | 41 +++++++++++++++++++++++++ skin/latest/shop_basic/style.css | 7 +++++ skin/latest/shop_notice/latest.skin.php | 20 ------------ 4 files changed, 51 insertions(+), 22 deletions(-) create mode 100644 skin/latest/shop_basic/latest.skin.php create mode 100644 skin/latest/shop_basic/style.css delete mode 100644 skin/latest/shop_notice/latest.skin.php diff --git a/shop/index.php b/shop/index.php index 8d30e8f6f..acb2195c6 100644 --- a/shop/index.php +++ b/shop/index.php @@ -1,6 +1,7 @@
    - +
    - +
    diff --git a/skin/latest/shop_basic/latest.skin.php b/skin/latest/shop_basic/latest.skin.php new file mode 100644 index 000000000..df33929b4 --- /dev/null +++ b/skin/latest/shop_basic/latest.skin.php @@ -0,0 +1,41 @@ + + + + +
    + +
      + +
    • + "; + if ($list[$i]['is_notice']) + echo "".$list[$i]['subject'].""; + else + echo $list[$i]['subject']; + + if ($list[$i]['comment_cnt']) + echo $list[$i]['comment_cnt']; + + echo ""; + + // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; } + // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; } + + if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new']; + if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot']; + if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file']; + if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link']; + if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret']; + ?> +
    • + + +
    • 게시물이 없습니다.
    • + +
    + +
    diff --git a/skin/latest/shop_basic/style.css b/skin/latest/shop_basic/style.css new file mode 100644 index 000000000..82f0b96d2 --- /dev/null +++ b/skin/latest/shop_basic/style.css @@ -0,0 +1,7 @@ +/* 새글 스킨 (latest) */ +.lt_pc {float:left;margin-left:20px} +.lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #ddd} +.lt ul {margin:0 0 10px;padding:0;list-style:none} +.lt li {padding:3px 0} +.lt_title {display:block;padding:10px 0 8px} +.lt_more {position:absolute;top:10px;right:0} \ No newline at end of file diff --git a/skin/latest/shop_notice/latest.skin.php b/skin/latest/shop_notice/latest.skin.php deleted file mode 100644 index ba29ea17f..000000000 --- a/skin/latest/shop_notice/latest.skin.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - -"; } ?> - - - - - -
    -     - - -
    게시물이 없습니다.