From 6db579a92a98268bb09f376a8703a64b2afcbda3 Mon Sep 17 00:00:00 2001 From: whitedot Date: Tue, 26 Nov 2013 14:21:59 +0900 Subject: [PATCH 1/6] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EB=AA=A9=EB=A1=9D=20SNS=20=EC=95=84=EC=9D=B4=EC=BD=98?= =?UTF-8?q?=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 --- skin/shop/basic/img/icon_arw_toleft.gif | Bin 0 -> 72 bytes skin/shop/basic/list.10.skin.php | 6 +- skin/shop/basic/list.20.skin.php | 6 +- skin/shop/basic/list.30.skin.php | 74 ++++++++++++------- skin/shop/basic/list.40.skin.php | 74 ++++++++++++------- skin/shop/basic/main.10.skin.php | 6 +- skin/shop/basic/main.20.skin.php | 69 +++++++++++------ skin/shop/basic/main.30.skin.php | 69 +++++++++++------ skin/shop/basic/main.40.skin.php | 69 +++++++++++------ skin/shop/basic/main.50.skin.php | 69 +++++++++++------ skin/shop/basic/style.css | 94 ++++++++++++------------ 11 files changed, 336 insertions(+), 200 deletions(-) create mode 100644 skin/shop/basic/img/icon_arw_toleft.gif diff --git a/skin/shop/basic/img/icon_arw_toleft.gif b/skin/shop/basic/img/icon_arw_toleft.gif new file mode 100644 index 0000000000000000000000000000000000000000..a9d338b5e9432d5c7c513d70ba3cb88bdad0a9a8 GIT binary patch literal 72 zcmZ?wbhEHbview_it_img) { - echo get_it_image($row['it_id'], $this->img_width, $this->img_height)."\n"; + echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name']))."\n"; } if ($this->href) { @@ -53,7 +53,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } - if ($this->view_it_basic) { + if ($this->view_it_basic && $row['it_basic']) { echo "
".stripslashes($row['it_basic'])."
\n"; } @@ -62,7 +62,7 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "
\n"; if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])." >\n"; + echo "".display_price($row['it_cust_price'])."\n"; } if ($this->view_it_price) { diff --git a/skin/shop/basic/list.20.skin.php b/skin/shop/basic/list.20.skin.php index 755482e24..e07236600 100644 --- a/skin/shop/basic/list.20.skin.php +++ b/skin/shop/basic/list.20.skin.php @@ -53,12 +53,16 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "\n"; } + if ($this->view_it_basic && $row['it_basic']) { + echo "
".stripslashes($row['it_basic'])."
\n"; + } + if ($this->view_it_cust_price || $this->view_it_price) { echo "
\n"; if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])." >\n"; + echo "".display_price($row['it_cust_price'])."\n"; } if ($this->view_it_price) { diff --git a/skin/shop/basic/list.30.skin.php b/skin/shop/basic/list.30.skin.php index 2fde5ca1c..3e1f821e6 100644 --- a/skin/shop/basic/list.30.skin.php +++ b/skin/shop/basic/list.30.skin.php @@ -24,42 +24,64 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } } - echo "
  • \n"; + $list_top_pad = 20; + $list_right_pad = 10; + $list_bottom_pad = 20; + $list_left_pad = $this->img_width + 10; + $list_real_width = 360; + $list_width = $list_real_width - $list_right_pad - $list_left_pad; + $list_height = $this->img_height - $list_top_pad - $list_bottom_pad; + + echo "
  • \n"; if ($this->href) { - echo "href}{$row['it_id']}\" class=\"sct_a\">\n"; + echo "href}{$row['it_id']}\" class=\"sct_a sct_img\">\n"; } - echo "\n"; - if ($this->view_it_img) { - echo "".get_it_image($row['it_id'], $this->img_width, $this->img_height)."\n"; - } - - if ($this->view_it_id) { - echo "".stripslashes($row['it_id'])."\n"; - } - - if ($this->view_it_name) { - echo "".stripslashes($row['it_name'])."\n"; - } - - if ($this->view_it_cust_price && $row['it_cust_price']) { - echo "".display_price($row['it_cust_price'])."\n"; - } - - if ($this->view_it_price) { - echo "".display_price(get_price($row), $row['it_tel_inq'])."\n"; - } - - if ($this->view_it_icon) { - echo "".item_icon($row)."\n"; + echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name']))."\n"; } if ($this->href) { echo "\n"; } + if ($this->view_it_id) { + echo "<".stripslashes($row['it_id']).">\n"; + } + + if ($this->href) { + echo "href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n"; + } + + if ($this->view_it_name) { + echo stripslashes($row['it_name'])."\n"; + } + + if ($this->href) { + echo "\n"; + } + + if ($this->view_it_basic && $row['it_basic']) { + echo "
    ".stripslashes($row['it_basic'])."
    \n"; + } + + if ($this->view_it_cust_price || $this->view_it_price) { + + echo "
    \n"; + + if ($this->view_it_cust_price && $row['it_cust_price']) { + echo "".display_price($row['it_cust_price'])."\n"; + } + + if ($this->view_it_price) { + echo display_price(get_price($row), $row['it_tel_inq'])."\n"; + } + + echo "
    \n"; + + } + if ($this->view_sns) { echo "
    "; echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_SHOP_SKIN_URL.'/img/sns_fb.png'); @@ -68,6 +90,8 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { echo "
    \n"; } + echo "
    "; + echo "
  • \n"; } diff --git a/skin/shop/basic/list.40.skin.php b/skin/shop/basic/list.40.skin.php index e716ea0c2..01016f5fe 100644 --- a/skin/shop/basic/list.40.skin.php +++ b/skin/shop/basic/list.40.skin.php @@ -24,44 +24,66 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { } else { echo "