= $total_page) $end_page = $total_page; if ($start_page > 1) $str .= "..."; if ($total_page > 1) for ($k=$start_page;$k<=$end_page;$k++) $str .= "$k"; if ($total_page > $end_page) $str .= "..."; return $str; } include_once("./_common.php"); // 페이지당 행수 $page_rows = 500; $sql = " select count(*) as cnt from $g4[yc4_item_table] where it_use = '1' "; $row = sql_fetch($sql); $total_count = $row[cnt]; ?> 샵바인더 엔진페이지 = 4) $row3 = sql_fetch(" select ca_name from $g4[yc4_category_table] where ca_id = '".substr($row[ca_id],0,4)."' "); else $row3[ca_name] = " "; if (strlen($row[ca_id]) >= 6) $row4 = sql_fetch(" select ca_name from $g4[yc4_category_table] where ca_id = '".substr($row[ca_id],0,6)."' "); else $row4[ca_name] = " "; if (strlen($row[ca_id]) >= 8) $row5 = sql_fetch(" select ca_name from $g4[yc4_category_table] where ca_id = '".substr($row[ca_id],0,8)."' "); else $row5[ca_name] = " "; $num = (($page - 1) * $page_rows) + $i + 1; $delivery = 0; // 배송료 $qty = (int)get_it_stock_qty($row[it_id]); if ($qty <= 0) $row[it_amount] = 0; echo "\n"; } ?>
번호 분류1 분류2 분류3 분류4 제조회사 상품명 상품코드 가격 이벤트 이미지URL 배송료 할인쿠폰 제조년월
$num  $row2[ca_name] $row3[ca_name] $row4[ca_name] $row5[ca_name] $row[it_maker]  $row[it_name]  $row[it_id]  ".number_format($row[it_amount])."    {$g4[url]}/data/item/{$row[it_id]}_l1  $delivery