분류 관리';
?>
'.stripslashes($ca['ca_head_html']).'
';
include G5_SHOP_SKIN_PATH.'/listcategory3.skin.php';
// 상품 출력순서가 있다면
if ($sort != "")
$order_by = $sort.' '.$sortodr.' , it_order, it_id desc';
$error = '등록된 상품이 없습니다.
';
// 리스트 유형별로 출력
$list_file = G5_SHOP_SKIN_PATH.'/'.$ca['ca_skin'];
if (file_exists($list_file)) {
echo '';
include G5_SHOP_SKIN_PATH.'/list.sort.skin.php';
// 상품 보기 타입 변경 버튼
include G5_SHOP_SKIN_PATH.'/list.sub.skin.php';
echo '
';
// 총몇개 = 한줄에 몇개 * 몇줄
$items = $ca['ca_list_mod'] * $ca['ca_list_row'];
// 페이지가 없으면 첫 페이지 (1 페이지)
if ($page == "") $page = 1;
// 시작 레코드 구함
$from_record = ($page - 1) * $items;
$list = new item_list($ca['ca_skin'], $ca['ca_list_mod'], $ca['ca_list_row'], $ca['ca_img_width'], $ca['ca_img_height']);
$list->set_category($ca['ca_id'], 1);
$list->set_category($ca['ca_id'], 2);
$list->set_category($ca['ca_id'], 3);
$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_basic', 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 된 전체 상품수
$total_count = $list->total_count;
// 전체 페이지 계산
$total_page = ceil($total_count / $items);
}
else
{
$i = 0;
$error = ''.$ca['ca_skin'].' 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.
';
}
if ($i==0)
{
echo ''.$error.'
';
}
?>
'.stripslashes($ca['ca_tail_html']).'';
?>
\n";
?>