From 0efad927f68c483f33026f1a3f6825d8a6a6b2a2 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 17:38:37 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#101=20=EC=9D=B8?= =?UTF-8?q?=EB=8D=B1=EC=8A=A4=20=EC=83=81=ED=92=88=20=EB=AA=A9=EB=A1=9D=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=201=EC=B0=A8=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 | 29 ++++++++- img/shop/sns_twt.png | Bin 554 -> 538 bytes shop/index.php | 130 +++++++++++++++++++++++----------------- shop/maintype10.inc.php | 48 ++++++--------- 4 files changed, 120 insertions(+), 87 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 40702682f..45e261d3b 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;font-size:0.75em;font-family:"dotum"} +body {margin:0;padding:0;background:#fff;color:#3c4043;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:#000;text-decoration:none} +a:visited {color:#3c4043;text-decoration:none} a:hover, a:focus, -a:active {color:#000;text-decoration:underline} +a:active {color:#3c4043;text-decoration:underline} /* 화면낭독기 사용자용 */ #hd_login_msg {position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden} @@ -155,6 +155,29 @@ a:active {color:#000;text-decoration:underline} #container {z-index:4;position:relative;float:left;width:740px;min-height:500px;height:auto !important;height:500px;background:#fff;zoom:1} #container:after {display:block;visibility:hidden;clear:both;content:""} +/* 인덱스 상품 출력 */ +/* 공통 */ +.sidx_it_wrap {margin:0 0 30px;zoom:1} +.sidx_it_wrap:after {display:block;visibility:hidden;clear:both;content:''} +.sidx_it_wrap header {margin:0 0 20px;zoom:1} +.sidx_it_wrap header:after {display:block;visibility:hidden;clear:both;content:''} +.sidx_it_wrap h2 {float:left;margin:0 20px 0 0;padding:0;line-height:1em} +.sidx_it_wrap h2 a {text-decoration:none} +.sidx_it_wrap_hdesc {float:left;margin:0;padding:0;color:#777;line-height:1em} + +.sidx_it {margin:0;padding:0;list-style:none;zoom:1} +.sidx_it:after {display:block;visibility:hidden;clear:both;content:''} +.sidx_it_li {position:relative} + +/* 스킨 10 */ +.sidx_it_10 .sidx_it_li {float:left;margin:0 25px 0 0;width:230px} +.sidx_it_10 .sidx_it_last {margin:0 !important} +.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} + +/* 배너 인덱스 출력 */ #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} diff --git a/img/shop/sns_twt.png b/img/shop/sns_twt.png index 4f900f37b4fbbb5742d60d47a156332c811ce212..e4c3ceebf498318f76e8eb93afe1a6ec47612d5a 100644 GIT binary patch delta 510 zcmVKYlebaV(A$_e!q8?u4z=&BM^f6^H&t!)@0qvMEisUi^P!wdw)pgp<@CMJkoY;5er zdOsEx%Ypb*2?_}^czF4sh#fzAgyG}I57<(GG{``8do^NF?ZHOPfGvB~`U^%G2se@jR(u(1;z zG50|(+<{Hz^vRP9(lW9P!XhFJ3zn{Ac=_Tv#G;?S7`AQM#Bgx`UJTCw@lzJ43qcv( z6!qX z8+HeX=YklFNX1tXv~VC5RD1zqD`?S%QaJPhaVr^y1;Gr%R(#a}u|L!cga9Zq4bcl) zYz6ElsA4~8VXFwuR_{Qu2sL0m5TC+k3qXJY0B*}{by(3gRsaA107*qoM6N<$fnGeJ(a2SLPK=MnW>e;ZlY!TE|q<{n<<^Mb z5~M`m*RNk0u3fo;O-cgfvX9Udjun73mKWy}W6wt>Xllj)zkdA$)8Y~me++EwL`A|Q zkjst(u`#;L>60fJq-A6oghfOc7A#%K@bblTh$TONF>KqiiQ(Y>z35twGXgU@C;~2_ z%W!jZGfbQ|3+yrsSO5IU5FX^m@aNATWMM;)H!q`SSXe;kXQeUh*tUh?`Lm}e2JP6k z72P0^{tJxIA_x=#XNbt)WLU!rh)qC66fAFo$|_LGd_kf?FQEEfqZdIS?;1i2K4QRb zsQSy;$}^ZvZb0k|#A~2w5G5@^#hsz*UJxp2L0}&g!@^Sz8aA)-ITawl0I_v -
-히트상품
'; - 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 ''; ?> - -
    - - - - - - -