'.str_replace(G5_PATH.'/', '', $skin_path).'파일이 존재하지 않습니다.
';
+ }
}
diff --git a/mobile/shop/shop.tail.php b/mobile/shop/shop.tail.php
index 5373f9be3..699adaf6a 100644
--- a/mobile/shop/shop.tail.php
+++ b/mobile/shop/shop.tail.php
@@ -11,7 +11,7 @@ $admin = get_admin("super");
정보
-

+
대표
diff --git a/shop/img/sct_bg_toright.gif b/mobile/skin/shop/basic/img/sct_bg_toright.gif
similarity index 100%
rename from shop/img/sct_bg_toright.gif
rename to mobile/skin/shop/basic/img/sct_bg_toright.gif
diff --git a/mobile/skin/shop/basic/style.css b/mobile/skin/shop/basic/style.css
index 51ad892cd..9095c2c46 100644
--- a/mobile/skin/shop/basic/style.css
+++ b/mobile/skin/shop/basic/style.css
@@ -55,7 +55,7 @@
#sct_location {border:1px solid #e9e9e9;background:#f2f5f9;letter-spacing:-4px}
#sct_location a {display:inline-block;padding:5px 10px;text-decoration:none;letter-spacing:0 !important}
.sct_here {font-weight:bold}
-.sct_bg {padding-right:13px !important;background:url('../shop/img/sct_bg_toright.gif') right 8px no-repeat}
+.sct_bg {padding-right:13px !important;background:url('img/sct_bg_toright.gif') right 8px no-repeat}
/* 상품 목록 카테고리 목록 */
.sct_ct {}
diff --git a/shop/cartupdate.php b/shop/cartupdate.php
index 4e9383508..d96ca0981 100644
--- a/shop/cartupdate.php
+++ b/shop/cartupdate.php
@@ -215,6 +215,15 @@ else // 장바구니에 담기
$io_price = $opt_list[$io_type][$io_id]['price'];
$ct_qty = $_POST['ct_qty'][$it_id][$k];
+ // 구매가격이 음수인지 체크
+ if($io_type) {
+ if((int)$io_price < 0)
+ alert('구매금액이 음수인 상품은 구매할 수 없습니다.');
+ } else {
+ if((int)$it['it_price'] + (int)$io_price < 0)
+ alert('구매금액이 음수인 상품은 구매할 수 없습니다.');
+ }
+
// 동일옵션의 상품이 있으면 수량 더함
$sql2 = " select ct_id
from {$g5['g5_shop_cart_table']}
diff --git a/shop/index.php b/shop/index.php
index 8dfad6637..12356a4ed 100644
--- a/shop/index.php
+++ b/shop/index.php
@@ -13,7 +13,7 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
-

+
@@ -146,13 +146,6 @@ include_once(G5_SHOP_PATH.'/shop.head.php');
-
-
-
-
\ No newline at end of file
diff --git a/shop/shop.head.php b/shop/shop.head.php
index de94139c2..3fad28c0c 100644
--- a/shop/shop.head.php
+++ b/shop/shop.head.php
@@ -103,10 +103,7 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
-
+
diff --git a/shop/shop.tail.php b/shop/shop.tail.php
index 205295fa0..7bd11114e 100644
--- a/shop/shop.tail.php
+++ b/shop/shop.tail.php
@@ -15,7 +15,7 @@ $admin = get_admin("super");
-

+
- 회사소개
- 서비스이용약관
diff --git a/skin/shop/basic/boxbanner.skin.php b/skin/shop/basic/boxbanner.skin.php
index 6bc6da6c9..ec27b1c9d 100644
--- a/skin/shop/basic/boxbanner.skin.php
+++ b/skin/shop/basic/boxbanner.skin.php
@@ -1,10 +1,6 @@
', 0);
?>
@@ -12,10 +8,11 @@ add_stylesheet('',
'.PHP_EOL;
+
+ if ($i==0) echo '
'.PHP_EOL;
?>
\ No newline at end of file
diff --git a/skin/shop/basic/img/sbn_btn.png b/skin/shop/basic/img/sbn_btn.png
new file mode 100644
index 000000000..ebd38ec94
Binary files /dev/null and b/skin/shop/basic/img/sbn_btn.png differ
diff --git a/skin/shop/basic/img/sct_bg_toright.gif b/skin/shop/basic/img/sct_bg_toright.gif
new file mode 100644
index 000000000..0d180544f
Binary files /dev/null and b/skin/shop/basic/img/sct_bg_toright.gif differ
diff --git a/skin/shop/basic/mainbanner.10.skin.php b/skin/shop/basic/mainbanner.10.skin.php
new file mode 100644
index 000000000..362084453
--- /dev/null
+++ b/skin/shop/basic/mainbanner.10.skin.php
@@ -0,0 +1,244 @@
+', 0);
+?>
+
+'.PHP_EOL.'
쇼핑몰 배너
'.PHP_EOL.'
'.PHP_EOL;
+ //print_r2($row);
+ // 테두리 있는지
+ $bn_border = ($row['bn_border']) ? ' sbn_border' : '';;
+ // 새창 띄우기인지
+ $bn_new_win = ($row['bn_new_win']) ? ' target="'.$row['bn_new_win'].'"' : '';
+
+ $bimg = G5_DATA_PATH.'/banner/'.$row['bn_id'];
+ if (file_exists($bimg))
+ {
+ $size = getimagesize($bimg);
+
+ if($size[2] < 1 || $size[2] > 16)
+ continue;
+
+ if($max_width < $size[0])
+ $max_width = $size[0];
+
+ if($max_height < $size[1])
+ $max_height = $size[1];
+
+ echo '- '.PHP_EOL;
+ if ($row['bn_url'][0] == '#')
+ echo '';
+ else if ($row['bn_url'] && $row['bn_url'] != 'http://') {
+ echo '';
+ }
+ echo '
';
+ if($row['bn_url'])
+ echo ''.PHP_EOL;
+ echo ' '.PHP_EOL;
+
+ $bn_first_class = '';
+ }
+}
+if ($i>0) echo '
'.PHP_EOL.''.PHP_EOL;
+?>
+
+
\ No newline at end of file
diff --git a/skin/shop/basic/style.css b/skin/shop/basic/style.css
index 7e8322f09..b197f5d07 100644
--- a/skin/shop/basic/style.css
+++ b/skin/shop/basic/style.css
@@ -52,10 +52,23 @@
#scomm_empty {padding:15px 0;text-align:center}
/* aside:배너 */
-#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}
+.sbn {margin:0 0 5px}
+.sbn h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
+.sbn ul {margin:0;padding:0;border:0;list-style:none}
+.sbn li {margin:0 0 1px}
+.sbn .sbn_border {border:1px solid #d5d5d5} /* 인덱스 배너도 함께 사용 */
+
+#sbn_idx {position:relative}
+#sbn_idx .sbn_btn {z-index:100;position:absolute;top:50%}
+#sbn_idx .sbn_btn button {position:relative;top:-35px;margin:0;padding:0;width:70px;height:70px;border:0;background:transparent;overflow:hidden}
+#sbn_idx .sbn_btn span {display:block;width:100%;height:100%;background:url('img/sbn_btn.png')}
+#sbn_idx #sbn_btn_p {left:25px}
+#sbn_idx .sbn_btn #sbn_btn_prev span {background-position:0 0}
+#sbn_idx #sbn_btn_n {right:25px}
+#sbn_idx .sbn_btn #sbn_btn_next span {background-position:-70px 0}
+#sbn_idx ul {position:relative;overflow:hidden}
+#sbn_idx ul li {position:absolute;display:none;top:0;left:0}
+#sbn_idx ul li.sbn_first{display:block}
/* aside:장바구니 */
#sbsk {margin:0 0 5px;padding:0 0 10px;border:1px solid #d5d5d5;background:#f2f5f9}
@@ -249,7 +262,7 @@
#sct_location {margin:0 0 10px;border:1px solid #e9e9e9;background:#f2f5f9;letter-spacing:-4px}
#sct_location a {display:inline-block;padding:10px 10px 8px;text-decoration:none;letter-spacing:0 !important}
.sct_here {font-weight:bold}
-.sct_bg {padding-right:15px !important;background:url('../shop/img/sct_bg_toright.gif') right 11px no-repeat}
+.sct_bg {padding-right:15px !important;background:url('img/sct_bg_toright.gif') right 11px no-repeat}
/* 상품 목록 카테고리 목록 */
.sct_ct {}