From 6bdf49f03fa21a3de7011bd9f2ef3cf31d9ba899 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 30 Apr 2013 10:21:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#95=20=EC=98=A4?= =?UTF-8?q?=EB=8A=98=20=EB=B3=B8=20=EC=83=81=ED=92=88,=20=EC=9C=A0?= =?UTF-8?q?=EB=A0=B9=EC=83=81=ED=92=88=20=EC=B6=94=EA=B0=80=EB=90=98?= =?UTF-8?q?=EB=8A=94=20=EB=AC=B8=EC=A0=9C=EC=97=90=20=EB=B4=89=EC=B0=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 14 +- shop/boxtodayview.inc.php | 263 +++++++++++--------------------------- shop/shop.head.php | 8 +- 3 files changed, 90 insertions(+), 195 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 4192a90fe..76dc8cc67 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -93,8 +93,18 @@ a:active {color:#000;text-decoration:underline} #wrapper_title {margin-bottom:20px;font-size:1.2em} /* 오늘 본 상품 */ -#stod {float:right} -#stod span {display:none} +#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_list p {padding:20px 0;text-align:center} +#stv_ul {margin:0;padding:0;list-style:none} +.stv_item {display:none} + +#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} /* 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 331e372a0..6b239b3ec 100644 --- a/shop/boxtodayview.inc.php +++ b/shop/boxtodayview.inc.php @@ -4,203 +4,88 @@ $tv_idx = get_session("ss_tv_idx"); $tv_div['top'] = 0; $tv_div['img_width'] = 70; $tv_div['img_height'] = 70; -$tv_div['img_length'] = 3; // 노출할 이미지 순 - -echo ''; -echo ''; -echo '
'; - -for ($i=0;$i<9;$i++) { - if ($i==0) $k=0; - if ($i%3==0) $k++; - echo 'class'.$k.''; -} +$tv_div['img_length'] = 1; // 한번에 보여줄 이미지 수 ?> - + + - - $tv_div['img_length']) - echo ""; +

없음

- // 오늘 본 상품 이미지 출력 - echo ""; - for ($i=1; $i<=$tv_div['img_length']; $i++) - { - echo ""; - } - echo "
"; - echo ""; - echo "
"; + - // 오늘 본 상품갯수가 보여지는 최대 이미지 수 보다 크다면 아래로 화살표를 보임 - if ($tv_idx > $tv_div['img_length']) - echo ""; -} -else -{ - echo ""; -} -?> - - - - - - + + \ No newline at end of file diff --git a/shop/shop.head.php b/shop/shop.head.php index 053081737..1ef3bc93a 100644 --- a/shop/shop.head.php +++ b/shop/shop.head.php @@ -24,9 +24,9 @@ include_once(G4_LIB_PATH.'/popular.lib.php'); @@ -85,7 +85,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
-