From 688354e7ad54b918e51b709387faedd01f4eaa5b Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 29 Apr 2013 18:02:25 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#99=20=EB=B0=B0?= =?UTF-8?q?=EB=84=88=20=EB=85=B8=EC=B6=9C=20=ED=91=9C=EC=A4=80=ED=99=94=20?= =?UTF-8?q?=EB=B0=8F=20=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 --- css/default_shop.css | 10 ++++++++++ shop/boxbanner.inc.php | 13 +++++++------ shop/index.php | 9 +++++---- shop/shop.head.php | 5 ++++- 4 files changed, 26 insertions(+), 11 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 9196924ea..e7a531c3c 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -130,9 +130,19 @@ a:active {color:#000;text-decoration:underline} #scomm a:hover {background:#f9f9f9} #scomm_empty {padding:15px 0;text-align:center} +#sbn_aside {margin:0 0 5px} +#sbn_aside h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} +#sbn_aside ul {margin:0;padding:0;border:0;list-style:none} +#sbn_aside li {margin:0 0 1px} + #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:""} +#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} + /* 텍스트 크기 조절 */ #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} diff --git a/shop/boxbanner.inc.php b/shop/boxbanner.inc.php index eebeb82cb..2190fb73a 100644 --- a/shop/boxbanner.inc.php +++ b/shop/boxbanner.inc.php @@ -6,10 +6,11 @@ $sql = " select * from {$g4['shop_banner_table']} order by bn_order, bn_id desc "; $result = sql_query($sql); ?> - + '.PHP_EOL; //print_r2($row); // 테두리 있는지 $bn_border = $row['bn_border']; @@ -20,15 +21,15 @@ for ($i=0; $row=sql_fetch_array($result); $i++) if (file_exists($bimg)) { $size = getimagesize($bimg); - echo ''.PHP_EOL; + echo ''.$row['bn_alt'].''.PHP_EOL; + echo ''.PHP_EOL; } } -?> -
'; + echo '
  • '.PHP_EOL; if ($row['bn_url'][0] == '#') echo ''; else if ($row['bn_url'] && $row['bn_url'] != 'http://') { echo ''; } - echo ''.$row['bn_alt'].''; - echo '
  • \ No newline at end of file +if ($i>0) echo ''.PHP_EOL; +?> \ No newline at end of file diff --git a/shop/index.php b/shop/index.php index d79903e57..6869082a0 100644 --- a/shop/index.php +++ b/shop/index.php @@ -87,10 +87,11 @@ if ($default["de_type{$type}_list_use"]) -
    - - -
    +
    +

    쇼핑몰 메인 배너

    + + +
    -
    +
    +

    쇼핑몰 배너

    + +