diff --git a/adm/shop_admin/configform.php b/adm/shop_admin/configform.php index 4d8ac93b4..890c57e76 100644 --- a/adm/shop_admin/configform.php +++ b/adm/shop_admin/configform.php @@ -210,7 +210,7 @@ $pg_anchor = '
등록된 상품이 없습니다.
\n"; +?> + \ No newline at end of file diff --git a/shop/index.php b/shop/index.php index 6ca7ffacb..4632b1ce0 100644 --- a/shop/index.php +++ b/shop/index.php @@ -51,7 +51,7 @@ exit;히트상품 모음
- set_type(1); echo $list->run(); @@ -65,7 +65,7 @@ exit;추천상품 모음
- set_type(2); echo $list->run(); @@ -79,7 +79,7 @@ exit;최신상품 모음
- set_type(3); echo $list->run(); @@ -93,7 +93,7 @@ exit;인기상품 모음
- set_type(4); echo $list->run(); @@ -107,7 +107,7 @@ exit;할인상품 모음
- set_type(5); echo $list->run(); diff --git a/skin/shop/basic/main.10.skin.php b/skin/shop/basic/main.10.skin.php new file mode 100644 index 000000000..070d6ecd2 --- /dev/null +++ b/skin/shop/basic/main.10.skin.php @@ -0,0 +1,75 @@ + + + + + +list_mod >= 2) { // 1줄 이미지 : 2개 이상 + if ($i%$this->list_mod == 0) $sct_last = 'sct_last'; // 줄 마지막 + else if ($i%$this->list_mod == 1) $sct_last = 'sct_clear'; // 줄 첫번째 + else $sct_last = ''; + } else { // 1줄 이미지 : 1개 + $sct_last = 'sct_clear'; + } + + if ($i == 1) { + if ($this->css) { + echo "등록된 상품이 없습니다.
\n"; +?> + \ No newline at end of file diff --git a/skin/shop/basic/main.20.skin.php b/skin/shop/basic/main.20.skin.php new file mode 100644 index 000000000..83dc2eb33 --- /dev/null +++ b/skin/shop/basic/main.20.skin.php @@ -0,0 +1,150 @@ + + + + + +type; + +for ($i=1; $row=sql_fetch_array($result); $i++) { + if ($this->list_mod >= 2) { // 1줄 이미지 : 2개 이상 + if ($i%$this->list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막 + else if ($i%$this->list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째 + else $sct_last = ''; + } else { // 1줄 이미지 : 1개 + $sct_last = ' sct_clear'; + } + + if ($i == 1) { + if ($this->css) { + echo "등록된 상품이 없습니다.
\n"; +?> + + + \ No newline at end of file diff --git a/skin/shop/basic/main.30.skin.php b/skin/shop/basic/main.30.skin.php new file mode 100644 index 000000000..11f51a56e --- /dev/null +++ b/skin/shop/basic/main.30.skin.php @@ -0,0 +1,142 @@ + + + + + +type; + +for ($i=1; $row=sql_fetch_array($result); $i++) { + if ($i == 1) { + if ($this->css) { + echo "등록된 상품이 없습니다.
\n"; +?> + + + \ No newline at end of file diff --git a/skin/shop/basic/main.40.skin.php b/skin/shop/basic/main.40.skin.php new file mode 100644 index 000000000..0cc4cb325 --- /dev/null +++ b/skin/shop/basic/main.40.skin.php @@ -0,0 +1,139 @@ + + + + + +type; + +for ($i=1; $row=sql_fetch_array($result); $i++) { + if ($this->list_mod >= 2) { // 1줄 이미지 : 2개 이상 + if ($i%$this->list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막 + else if ($i%$this->list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째 + else $sct_last = ''; + } else { // 1줄 이미지 : 1개 + $sct_last = ' sct_clear'; + } + + if ($i == 1) { + if ($this->css) { + echo "등록된 상품이 없습니다.
\n"; +?> + + + \ No newline at end of file diff --git a/skin/shop/basic/main.50.skin.php b/skin/shop/basic/main.50.skin.php new file mode 100644 index 000000000..a3b5ff51e --- /dev/null +++ b/skin/shop/basic/main.50.skin.php @@ -0,0 +1,156 @@ + + + + + +type; + +for ($i=1; $row=sql_fetch_array($result); $i++) { + if ($this->list_mod >= 2) { // 1줄 이미지 : 2개 이상 + if ($i%$this->list_mod == 0) $sct_last = ' sct_last'; // 줄 마지막 + else if ($i%$this->list_mod == 1) $sct_last = ' sct_clear'; // 줄 첫번째 + else $sct_last = ''; + } else { // 1줄 이미지 : 1개 + $sct_last = ' sct_clear'; + } + + if ($i == 1) { + if ($this->css) { + echo "등록된 상품이 없습니다.
\n"; +?> + + + \ No newline at end of file diff --git a/skin/shop/basic/style.css b/skin/shop/basic/style.css index 395ff62ed..9918347e5 100644 --- a/skin/shop/basic/style.css +++ b/skin/shop/basic/style.css @@ -1,5 +1,5 @@ -/* ##### maintype(nn).inc.php, list.skin.(nn).php 공통 적용 시작 ##### */ +/* ##### main(nn).skin.php, list.(nn).skin..php 공통 적용 시작 ##### */ /* 공통 */ .sct_wrap {margin:0 0 30px;zoom:1} .sct_wrap:after {display:block;visibility:hidden;clear:both;content:""} @@ -76,4 +76,72 @@ .sct_13 .sct_rel_ul {margin:0;padding:0;list-style:none} .sct_13 .sct_rel_li {float:left;margin:0 0 0 10px} .sct_13 .sct_sns {position:absolute;top:20px;right:20px} -/* ##### maintype(nn).inc.php, list.skin.(nn).php 공통 적용 끝 ##### */ + +/* 메인 상품 목록 스킨 20 */ +.smt_20 {position:relative;height:306px;overflow-y:hidden} +.smt_20 .sct_li {position:absolute;top:306px;left:0;display:none} +.smt_20 .sct_li_first {top:0;display:block} +.smt_20 .sct_div {float:left;margin:0 25px 15px 0;} +.smt_20 .sct_last {margin:0 0 15px !important} +.smt_20 .sct_clear {clear:both} +.smt_20 .sct_a {display:block;position:relative;text-decoration:none} +.smt_20 .sct_a:focus, .smt_20 .sct_a:hover {text-decoration:none} +.smt_20 .sct_img {display:block;margin:0 0 15px} +.smt_20 b {display:block;margin:0 0 8px;font-weight:normal} +.smt_20 s {display:block} +.smt_20 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} +.smt_20 .sct_icon {} +.smt_20 .sct_icon img {} +.smt_20 .sct_sns {position:absolute;top:190px;right:20px} + +/* 메인 상품 목록 스킨 30 */ +.smt_30 {position:relative;width:740px;height:308px;overflow-x:hidden} +.smt_30 .sct_li {position:absolute;top:0;left:765px;width:765px;display:none} +.smt_30 .sct_li_first {left:0;display:block} +.smt_30 .sct_div {float:left;margin:0 25px 15px 0;} +.smt_30 .sct_clear {clear:both} +.smt_30 .sct_a {display:block;position:relative;text-decoration:none} +.smt_30 .sct_a:focus, .smt_30 .sct_a:hover {text-decoration:none} +.smt_30 .sct_img {display:block;margin:0 0 15px} +.smt_30 b {display:block;margin:0 0 8px;font-weight:normal} +.smt_30 s {display:block} +.smt_30 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} +.smt_30 .sct_icon {} +.smt_30 .sct_icon img {} +.smt_30 .sct_sns {position:absolute;top:190px;right:20px} + +/* 메인 상품 목록 스킨 40 */ +.smt_40 {position:relative;height:306px} +.smt_40 .sct_li {position:absolute;top:0;left:0;display:none} +.smt_40 .sct_li_first {display:block} +.smt_40 .sct_div {float:left;margin:0 25px 15px 0;} +.smt_40 .sct_last {margin:0 0 15px !important} +.smt_40 .sct_clear {clear:both} +.smt_40 .sct_a {display:block;position:relative;text-decoration:none} +.smt_40 .sct_a:focus, .smt_40 .sct_a:hover {text-decoration:none} +.smt_40 .sct_img {display:block;margin:0 0 15px} +.smt_40 b {display:block;margin:0 0 8px;font-weight:normal} +.smt_40 s {display:block} +.smt_40 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} +.smt_40 .sct_icon {} +.smt_40 .sct_icon img {} +.smt_40 .sct_sns {position:absolute;top:190px;right:20px} + +/* 메인 상품 목록 스킨 50 */ +.smt_50 {position:relative;height:306px} +.smt_50 .sct_li {position:absolute;top:0;left:0;height:306px;display:none;overflow-y:hidden} +.smt_50 .sct_li_first {display:block} +.smt_50 .sct_div {float:left;position:relative;top:-306px;margin:0 25px 15px 0} +.smt_50 .sct_last {margin:0 0 15px} +.smt_50 .sct_clear {clear:both} +.smt_50 .sct_a {display:block;position:relative;text-decoration:none} +.smt_50 .sct_a:focus, .smt_50 .sct_a:hover {text-decoration:none} +.smt_50 .sct_img {display:block;margin:0 0 15px} +.smt_50 b {display:block;margin:0 0 8px;font-weight:normal} +.smt_50 s {display:block} +.smt_50 .sct_cost {display:block;margin:0 0 10px;font-weight:bold} +.smt_50 .sct_icon {} +.smt_50 .sct_icon img {} +.smt_50 .sct_sns {position:absolute;top:190px;right:20px} + +/* ##### main(nn).skin.php, list.(nn).skin..php 공통 적용 끝 ##### */