가격비교 사이트 코드 수정 1차

This commit is contained in:
chicpro
2013-11-27 18:01:08 +09:00
parent 29ed3dcddb
commit 24dedb8418
27 changed files with 84 additions and 2082 deletions

View File

@ -6,20 +6,6 @@ ob_start();
$lt = "";
$gt = "<!>";
// 배송비
if ($default['de_send_cost_case'] == '없음')
$delivery = 0;
else if($default['de_send_cost_case'] == '상한')
{
// 배송비 상한일 경우 제일 앞에 배송비 얼마 금액 이하
$tmp = explode(';', $default['de_send_cost_limit']);
$delivery_limit = (int)$tmp[0];
// 배송비 상한일 경우 제일 앞에 배송비
$tmp = explode(';', $default['de_send_cost_list']);
$delivery = (int)$tmp[0];
}
$sql =" select * from {$g5['g5_shop_item_table']} where it_use = '1' order by ca_id";
$result = sql_query($sql);
@ -58,10 +44,8 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$PRDATE = substr($row['it_time'], 0, 10);
// 개별배송비계산
if($default['de_send_cost_case'] == '개별') {
$delivery = get_item_sendcost($row['it_id'], $row['it_price'], 1);
}
// 배송비계산
$delivery = get_item_sendcost2($row['it_id'], $row['it_price'], 1);
// 상품이미지
$img_url = get_it_imageurl($row['it_id']);