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');
-