From 0ed73e65c1b3279603f30273ce071c9abcda9f58 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 3 May 2013 10:00:10 +0900 Subject: [PATCH] =?UTF-8?q?#121=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=EB=90=9C=20=EC=83=81=ED=92=88=EC=9D=B4=20?= =?UTF-8?q?=EC=97=86=EC=9D=84=20=EA=B2=BD=EC=9A=B0=20=EC=B2=98=EB=A6=AC=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 2 ++ shop/list.skin.10.php | 5 ++++- shop/list.skin.11.php | 5 ++++- shop/list.skin.12.php | 5 ++++- shop/list.skin.13.php | 5 ++++- shop/maintype10.inc.php | 5 ++++- shop/maintype11.inc.php | 5 ++++- shop/maintype12.inc.php | 5 ++++- shop/maintype13.inc.php | 5 ++++- 9 files changed, 34 insertions(+), 8 deletions(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index ef620e915..e596d8523 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -219,9 +219,11 @@ function display_type($type, $skin_file, $list_mod, $list_row, $img_width, $img_ $sql .= " order by it_order, it_id desc limit $items "; $result = sql_query($sql); + /* if (!mysql_num_rows($result)) { return false; } + */ $file = G4_SHOP_PATH.'/'.$skin_file; if (!file_exists($file)) { diff --git a/shop/list.skin.10.php b/shop/list.skin.10.php index 51e6320c8..635f3a7dc 100644 --- a/shop/list.skin.10.php +++ b/shop/list.skin.10.php @@ -39,6 +39,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?> diff --git a/shop/list.skin.11.php b/shop/list.skin.11.php index 328d42b49..c6a8a8e39 100644 --- a/shop/list.skin.11.php +++ b/shop/list.skin.11.php @@ -39,6 +39,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?> diff --git a/shop/list.skin.12.php b/shop/list.skin.12.php index 13b3ffc13..59ce62a44 100644 --- a/shop/list.skin.12.php +++ b/shop/list.skin.12.php @@ -39,6 +39,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?> diff --git a/shop/list.skin.13.php b/shop/list.skin.13.php index ee2dc42b0..cc12d72e0 100644 --- a/shop/list.skin.13.php +++ b/shop/list.skin.13.php @@ -42,6 +42,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?> diff --git a/shop/maintype10.inc.php b/shop/maintype10.inc.php index 3aabc0d06..d14bfa64c 100644 --- a/shop/maintype10.inc.php +++ b/shop/maintype10.inc.php @@ -33,6 +33,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?> diff --git a/shop/maintype11.inc.php b/shop/maintype11.inc.php index 6fa49be19..38b31c2a4 100644 --- a/shop/maintype11.inc.php +++ b/shop/maintype11.inc.php @@ -33,6 +33,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?> diff --git a/shop/maintype12.inc.php b/shop/maintype12.inc.php index 12fd0077c..851a32065 100644 --- a/shop/maintype12.inc.php +++ b/shop/maintype12.inc.php @@ -35,6 +35,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?> diff --git a/shop/maintype13.inc.php b/shop/maintype13.inc.php index 6e7c407b3..3f3f72b71 100644 --- a/shop/maintype13.inc.php +++ b/shop/maintype13.inc.php @@ -38,6 +38,9 @@ for ($i=1; $row=sql_fetch_array($result); $i++) { 구글플러스에 공유 - 1) echo ''; + +if($i == 1) echo '

등록된 상품이 없습니다.

'; ?>