1) { $str .= ""; } $start_page = ( ( (int)( ($cur_page - 1 ) / $write_pages ) ) * $write_pages ) + 1; $end_page = $start_page + $write_pages - 1; if ($end_page >= $total_page) $end_page = $total_page; if ($start_page > 1) $str .= "..."; if ($total_page > 1) for ($k=$start_page;$k<=$end_page;$k++) if ($cur_page != $k) $str .= "[$k]"; else $str .= " $k "; if ($total_page > $end_page) $str .= "..."; if ($cur_page < $total_page) { $str .= ""; } $str .= ""; return $str; } include_once('./_common.php'); // 페이지당 행수 $page_rows = 1000; $sql = " select count(*) as cnt from {$g5['g5_shop_item_table']} where it_use = '1' and ca_id LIKE '$ca_id%'"; $row = sql_fetch($sql); $total_count = $row['cnt']; ?> 에누리 엔진페이지

상품수 : 개 '; } ?>
번호 제품명 가격 재고유무 배송 웹상품이미지 할인쿠폰 계산서 제조사 상품코드
'.$num.' '.$row['it_name'].' '.number_format($row['it_price']).' '.$stock.' '.$send_cost.' '.$img_url.' 1 N '.get_text($row['it_maker']).' '.$row['it_id'].'