diff --git a/mobile/shop/list.php b/mobile/shop/list.php index 3714d08ed..8687a605f 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -97,20 +97,20 @@ if ($is_admin) } ?> + + '.stripslashes($ca['ca_mobile_tail_html']).''; ?> - - diff --git a/shop/list.php b/shop/list.php index c0d18bd39..d3ce794a4 100644 --- a/shop/list.php +++ b/shop/list.php @@ -75,6 +75,9 @@ if ($is_admin) if (file_exists($list_file)) { include G4_SHOP_PATH.'/list.sort.php'; + // 상품 보기 타입 변경 버튼 + include G4_SHOP_PATH.'/list.sub.php'; + // 총몇개 = 한줄에 몇개 * 몇줄 $items = $ca['ca_list_mod'] * $ca['ca_list_row']; // 페이지가 없으면 첫 페이지 (1 페이지) @@ -115,18 +118,16 @@ if ($is_admin) } ?> - + '; ?> - - @@ -21,21 +25,5 @@ $sct_sort_href .= '&ev_id='.$ev_id.'&sort=';
  • 인기상품
  • 할인상품
  • - - - - \ No newline at end of file diff --git a/shop/list.sub.php b/shop/list.sub.php index c549d7803..5be29ebc2 100644 --- a/shop/list.sub.php +++ b/shop/list.sub.php @@ -1,19 +1,6 @@ 태그 폭 -$td_width = (int)(100 / $list_mod); - -$sql = "select COUNT(*) as cnt $sql_common "; -$row = sql_fetch($sql); -$total_count = $row['cnt']; - -// 전체 페이지 계산 -$total_page = ceil($total_count / $items); -// 페이지가 없으면 첫 페이지 (1 페이지) -if ($page == "") $page = 1; -// 시작 레코드 구함 -$from_record = ($page - 1) * $items; ?> + + + \ No newline at end of file diff --git a/shop/list.sub2.php b/shop/list.sub2.php new file mode 100644 index 000000000..84986a469 --- /dev/null +++ b/shop/list.sub2.php @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/shop/listtype.php b/shop/listtype.php index e88f499aa..d128282ce 100644 --- a/shop/listtype.php +++ b/shop/listtype.php @@ -55,6 +55,13 @@ if (file_exists($list_file)) { $list->set_is_page(true); $list->set_order_by($order_by); $list->set_from_record($from_record); + $list->set_view('it_img', true); + $list->set_view('it_id', false); + $list->set_view('it_name', true); + $list->set_view('it_cust_price', false); + $list->set_view('it_price', true); + $list->set_view('it_icon', true); + $list->set_view('sns', true); echo $list->run(); // where 된 전체 상품수