g4를 g5로 변경

This commit is contained in:
chicpro
2013-09-13 14:32:06 +09:00
parent 9a18a049d5
commit 0f78b67eb7
563 changed files with 4097 additions and 4097 deletions

View File

@ -19,16 +19,16 @@ else if($default['de_send_cost_case'] == '상한')
<?php
// 상품ID^카테고리^상품명^제조사^이미지URL^상품URL^가격^적립금^할인쿠폰^무이자할부^사은품^모델명^추가정보^출시일^배송료
$str = "";
$sql = " select * from {$g4['shop_item_table']}
$sql = " select * from {$g5['shop_item_table']}
where it_use = '1'
order by ca_id ";
$result = sql_query($sql);
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$row2 = sql_fetch(" select ca_name from {$g4['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,2)."' ");
$row2 = sql_fetch(" select ca_name from {$g5['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,2)."' ");
$ca_name = $row2['ca_name'];
if (strlen($row['ca_id']) >= 4) {
$row3 = sql_fetch(" select ca_name from {$g4['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,4)."' ");
$row3 = sql_fetch(" select ca_name from {$g5['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,4)."' ");
$ca_name .= "|" . $row3['ca_name'];
}
@ -46,7 +46,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++) {
$str .= "^{$row['it_name']}"; // 상품명
$str .= "^{$row['it_maker']}"; // 제조사
$str .= "^".$img_url; // 이미지URL
$str .= "^".G4_SHOP_URL."/item.php?it_id={$row['it_id']}"; // 상품URL
$str .= "^".G5_SHOP_URL."/item.php?it_id={$row['it_id']}"; // 상품URL
$str .= "^{$row['it_price']}"; // 가격
$str .= "^{$row['it_point']}"; // 적립금
$str .= "^"; // 할인쿠폰