상품보기 유형 변경 코드를 파일에 분리해서 저장

This commit is contained in:
chicpro
2013-08-08 14:25:58 +09:00
parent 21e5ac6108
commit 0da7ccb589
7 changed files with 71 additions and 62 deletions

View File

@ -39,6 +39,9 @@ if (file_exists($list_file))
{
include G4_SHOP_PATH.'/list.sort.php';
// 상품 보기 타입 변경 버튼
include G4_SHOP_PATH.'/list.sub.php';
// 총몇개 = 한줄에 몇개 * 몇줄
$items = $ev['ev_list_mod'] * $ev['ev_list_row'];
// 페이지가 없으면 첫 페이지 (1 페이지)
@ -72,6 +75,9 @@ if ($i==0)
?>
<?php
// 상품 보기 타입 변경 처리 스크립트
include G4_SHOP_PATH.'/list.sub2.php';
$qstr .= 'skin='.$skin.'&amp;ev_id='.$ev_id.'&amp;sort='.$sort.'&amp;sortodr='.$sortodr;
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
?>