From e0633cb248c7d3bf3c47382ae0fdb9a0f3d01fc3 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 21 Jun 2013 17:03:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=EA=B0=80=EA=B2=A9=EB=B9=84=EA=B5=90=20?= =?UTF-8?q?=EC=82=AC=EC=9D=B4=ED=8A=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/price/danawa.old.php | 27 -------- shop/price/enuri.old.php | 128 ------------------------------------ shop/price/omi_ufo.php | 45 ------------- shop/price/shopbinder.php | 133 ------------------------------------- shop/price/yavis.php | 134 -------------------------------------- 5 files changed, 467 deletions(-) delete mode 100644 shop/price/danawa.old.php delete mode 100644 shop/price/enuri.old.php delete mode 100644 shop/price/omi_ufo.php delete mode 100644 shop/price/shopbinder.php delete mode 100644 shop/price/yavis.php diff --git a/shop/price/danawa.old.php b/shop/price/danawa.old.php deleted file mode 100644 index 4ccf7be33..000000000 --- a/shop/price/danawa.old.php +++ /dev/null @@ -1,27 +0,0 @@ - -= 4) - $row3 = sql_fetch(" select ca_name from {$g4['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,4)."' "); - - $str .= "\n"; - $str .= "{$row['it_id']}#{$row2['ca_name']}#{$row3['ca_name']}#{$row['it_name']}#".G4_SHOP_URL."/item.php?it_id={$row['it_id']}#{$row['it_price']}"; -} -echo $str; -?> \ No newline at end of file diff --git a/shop/price/enuri.old.php b/shop/price/enuri.old.php deleted file mode 100644 index bce6eea48..000000000 --- a/shop/price/enuri.old.php +++ /dev/null @@ -1,128 +0,0 @@ - 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 {$g4['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.'
- -

- - - - \ No newline at end of file diff --git a/shop/price/omi_ufo.php b/shop/price/omi_ufo.php deleted file mode 100644 index bada9a9ef..000000000 --- a/shop/price/omi_ufo.php +++ /dev/null @@ -1,45 +0,0 @@ - - -오미 엔진페이지 - - - - - - -상품번호^대분류^중분류^소분류^제조사^모델명^상품Url^가격 -$str = ""; -$sql = " select * from {$g4['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)."' "); - - 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)."' "); - - if (strlen($row['ca_id']) >= 6) - $row4 = sql_fetch(" select ca_name from {$g4['shop_category_table']} where ca_id = '".substr($row['ca_id'],0,6)."' "); - - // 재고검사해서 없으면 상품가격을 0 으로 설정 - $stock = get_it_stock_qty($row['it_id']); - if ($stock <= 0) - $row['it_price'] = 0; - - $str .= "

{$row['it_id']}^{$row2['ca_name']}^{$row3['ca_name']}^{$row4['ca_name']}^{$row['it_maker']}^{$row['it_name']}^".G4_SHOP_URL."/item.php?it_id={$row['it_id']}^{$row['it_price']}"; - $str .= "\n"; -} - -echo "

" . $config['cf_title'] . " 입니다. 총 (".$i.") 건 입니다.\n"; -echo $str; -?> - - \ No newline at end of file diff --git a/shop/price/shopbinder.php b/shop/price/shopbinder.php deleted file mode 100644 index f5556e70d..000000000 --- a/shop/price/shopbinder.php +++ /dev/null @@ -1,133 +0,0 @@ -= $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['shop_item_table']} where it_use = '1' "; -$row = sql_fetch($sql); -$total_count = $row['cnt']; -?> - -샵바인더 엔진페이지 - - - - - - - - - - - - - - - - - - - - - - - - -= 4) - $row3 = sql_fetch(" select ca_name from {$g4['shop_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['shop_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['shop_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_price'] = 0; - - // 상품이미지 - $img_url = get_it_imageurl($row['it_id']); - - 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_price'])."  ".$img_url." $delivery  
-

-

- -

- - \ No newline at end of file diff --git a/shop/price/yavis.php b/shop/price/yavis.php deleted file mode 100644 index ec2168173..000000000 --- a/shop/price/yavis.php +++ /dev/null @@ -1,134 +0,0 @@ -= $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 .= "..."; - - return $str; -} - -function it_image($img) -{ - global $g4; - - $tmp = G4_DATA_PATH.'/item/'.$img; - if (file_exists($tmp) && $img) { - $str = G4_DATA_URL.'/item/'.$img; - } else { - $str = G4_SHOP_URL.'/img/no_image.gif'; - } - return $str; -} - -include_once('./_common.php'); - -// 페이지당 행수 -$page_rows = 100; - -$sql = " select count(*) as cnt from {$g4['shop_item_table']} where it_use = '1' "; -$row = sql_fetch($sql); -$total_count = $row['cnt']; -?> - -MYM 야비스 엔진페이지 - - - - - - - - - - - - - - - - - - - - - "; - } - - // 상품이미지 - $image = get_it_imageurl($row['it_id']); - - echo " - - - - - - - - - - - - "; -} -?> -
상품명상품URL상품이미지URL가격분류제조사브랜드모델명상품코드
{$row['it_name']}".G4_SHOP_URL."/item.php?it_id={$row['it_id']}$image{$row['it_price']} {$row['it_maker']}$category {$row['it_id']}
- -

총 개   - - - \ No newline at end of file