= 0) { if(!$orname && !$orsun) $order = " order by updatetime desc"; else $order = " order by $orname $orsun"; if($menu=="index") { $result = $dalib->selectSQLAll("select * from $Table[Product] where $kind = '1' $order"); $rnumPN = $result[rnum]; }elseif($menu=="search") { $result = $dalib->selectSQLAll("select * from $Table[Product] where pname like '%$search%' or pcompany like '%$search%' $order"); $rnumPN = $result[rnum]; }else { $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and smcate = '$smcate' $order"); $rnumPN = $result[rnum]; } if($mode=="prev") { @mysql_data_seek($result[result],$state); $r_prev = mysql_fetch_array($result[result]); $pcode = $r_prev[pcode]; }elseif($mode=="next") { @mysql_data_seek($result[result],$state); $r_next = @mysql_fetch_array($result[result]); $pcode = $r_next[pcode]; } $prev_state = $state - 1; $next_state = $state + 1; } $r = $dalib->selectSQLField("select bigcatename from $Table[Bigcategory] where bigcate ='$bigcate'"); $r2 = $dalib->selectSQLField("select smcatename from $Table[Smcategory] where smcate ='$smcate'"); $bigcatename = $r[bigcatename]; $smcatename = $r2[smcatename]; if($smcatename=="") $smcatenameTitle = $r2[smcatename]; else $smcatenameTitle = $smcatename; $r = $dalib->selectSQLField("select * from $Table[Product] where pcode = '$_GET[pcode]'"); $pname = stripslashes($r[pname]); $pcompany = stripslashes($r[pcompany]); $pinfo = $r[pinfo]; $pbuylimit = stripslashes($r[pbuylimit]); $selfStock = $r[selfStock]; $self_sale = $r[sale]; switch ($pcompany){ case SHIMANO : $affiPerSale = $RMANAGE[shimanoaffiPerSale]; break; case DAIWA : $affiPerSale = $RMANAGE[daiwaaffiPerSale]; break; default : $affiPerSale = $RMANAGE[etcaffiPerSale]; } /* if($r[persale]>0){ $psellprice = round($r[pprice]*$affiSale*(1-($r[persale]/100)),-3); }else{ $psellprice = round($r[pprice]*$affiSale*(1-($r[persale]/100)),-3); } */ $rClient = $dalib->selectSQLField("select client from $Table[Product] where pcode='$pcode'"); if($rClient[client]=="한국다이와정공"){ $_Table = "domefishing.Barcode"; }elseif($rClient[client]=="윤성조구"){ $_Table = "domefishing.ShimanoBarcode"; }else{ $_Table = "$Table[Product]"; } if($_Table == "$Table[Product]"){ $psellprice = $r[psellprice]; $totalStock = $r[stock_amount]; $rowSale = $dalib->selectSQLField("select sale from $_Table where pcode='$r[pcode]'"); }else{ $result = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r[pcode]'"); if($result[rnum]>0) { $row = @mysql_fetch_array($result[result]); for($loop=1;$loop<=36;$loop++) { if($row["k_".$loop]=="") continue; $cWhere .= "jancode='".$row["k_".$loop]."' or "; } $cWhere = substr($cWhere, 0, -3); $rPs = $dalib->selectSQLField("select MIN(psellprice) as psellprice, MAX(sale) as sale from $_Table where ($cWhere) and psellprice>0"); $psellprice = $rPs[psellprice]; $resultStock = $dalib->selectSQLAll("select amount, bonsaAmount from $_Table where ($cWhere)"); while($rs = mysql_fetch_array($resultStock[result])){ $totalStock += $rs[amount]+$rs[bonsaAmount]; } if($self_sale>0){ $rowSale = $dalib->selectSQLField("select sale from $Table[Product] where jancode='$r[jancode]'"); }else{ $rowSale = $dalib->selectSQLField("select sale from $_Table where jancode='$r[jancode]'"); } }else{ $psellprice = $r[psellprice]; $rPs = $dalib->selectSQLField("select amount, bonsaAmount from $_Table where pcode = '$r[pcode]'"); $totalStock = $rPs[amount]+ $rPs[bonsaAmount]; if($self_sale>0){ $rowSale = $dalib->selectSQLField("select sale from $Table[Product] where pcode='$r[pcode]'"); }else{ $rowSale = $dalib->selectSQLField("select sale from $_Table where pcode='$r[pcode]'"); } } } //$rowSale = $dalib->selectSQLField("select sale from $_Table where jancode='$r[jancode]'"); if($_COOKIE[$CookieIDName]!="" or $RMANAGE[member_sale_ok]=="Y"){ //if($rowSale[sale]>0) $affiPerSale = 0; //$psellprice = floor(($psellprice*(1-($rowSale[sale]/100))-$psellprice/100*$affiPerSale)/100)*100; $psellprice = floor($psellprice*(1-($affiPerSale/100))*(1-($rowSale[sale]/100))); }else{ $psellprice = $psellprice; } # 상품코드가 잘못되었거나 상품이 디비내용에 없을경우 if($r[srlno]=="") $fulib->alertBack("잘못된 상품코드이거나 현재 서비스하지 않는 상품입니다."); if($totalStock < 1) $STOCK_IMG = ""; if($r[html] == "0") { $pcontents = str_replace(" "," ",$r[pcontents]) ; $pcontents = nl2br(stripslashes($pcontents)) ; }elseif($r[html] =="1") { $pcontents = stripslashes($r[pcontents]); } $rstock = $dalib->selectSQLField("select * from $Table[ProductStockItemDetail] where pcode = '$_GET[pcode]' and kind = '1'"); $rstock2 = $dalib->selectSQLField("select * from $Table[ProductStockItemDetail] where pcode = '$_GET[pcode]' and kind = '2'"); $rstock3 = $dalib->selectSQLField("select * from $Table[ProductStockSetting] where pcode = '$_GET[pcode]'"); # 배송정보 $r_send = $dalib->selectSQLField("select sendkind, sendcontent from $Table[ManageInfo]"); if($r_send[sendkind] == "0") { $sendcontent = str_replace(" "," ",$r_send[sendcontent]) ; $sendcontent = nl2br(stripslashes($sendcontent)) ; }elseif($r_send[sendkind] =="1") { $sendcontent = stripslashes($r_send[sendcontent]); } # 상품별 통계 if($r[srlno] != "" and $now != "ad") { $basedate = date("Ym"); $r_stat_total = $dalib->selectSQLField("select srlno from $Table[ProductStat] where pcode = '$pcode' and basedate = 'total'"); if($r_stat_total[0]=="") { $insertsql = "insert into $Table[ProductStat] set pcode = '$pcode', pname = '$pname', basedate = 'total', view = '1'"; $dalib->directQuery($insertsql); }else { $dalib->directQuery("update $Table[ProductStat] set view = view + 1 where pcode = '$pcode' and basedate = 'total'"); } $r_stat_view = $dalib->selectSQLField("select srlno from $Table[ProductStat] where pcode = '$pcode' and basedate = '$basedate'"); if($r_stat_view[0]=="") { $insertsql = "insert into $Table[ProductStat] set pcode = '$pcode', pname = '$pname', basedate = '$basedate', view = '1'"; $dalib->directQuery($insertsql); }else { $dalib->directQuery("update $Table[ProductStat] set view = view + 1 where pcode = '$pcode' and basedate = '$basedate'"); } } if($mode=="recom") { if($find=="precom") $PreTitle .= "추천상품 > "; if($find=="pnew") $PreTitle .= "신상품 > "; if($find=="pbest") $PreTitle .= "베스트 상품 > "; if($find=="ppopu") $PreTitle .= "인기상품 > "; }elseif($menu=="search") { $PreTitle .= "'$search' 검색 > "; }elseif($menu=="symp") { $PreTitle = "$SYMP_TITLE > "; }else { if($bigcatename != "") $PreTitle .= "$bigcatename > "; if($smcatenameTitle !="") $PreTitle .= "$smcatenameTitle > "; } $p_sale = "pcode_sale_".$pcode; ?>
5){ ?> <?echo($pname);?> <?echo($pname);?>
', 100, 0, 700, 600, 0, 0, 0, 0, 0);" onFocus="this.blur()">
selectSQLField("select bigcate, smcate, thirdcate from $Table[Product] where pcode='$pcode'"); $r_bigcate=$r['bigcate']; $r_smcate=$r['smcate']; $r_thirdcate=$r['thirdcate']; $r_cateorder = $r['cateorder']; $result_max = $dalib->selectSQLField("select max(cateorder) as max_cateorder, min(cateorder) as min_cateorder from $Table[Product] where bigcate='$r_bigcate' and smcate='$r_smcate' and thirdcate='$r_thirdcate'"); $max_cateorder = $result_max['max_cateorder']; $min_cateorder = $result_max['min_cateorder']; if($r_cateorder==$min_cateorder){ $prev = ""; }else{ $result2=$dalib->selectSQLField("select pcode from $Table[Product] where bigcate='$r_bigcate' and smcate='$r_smcate' and thirdcate='$r_thirdcate' and cateorder=$r_cateorder-1"); if($result2){ $prev = ""; } } if($r_cateorder==$max_cateorder){ $next = ""; }else{ $result3=$dalib->selectSQLField("select pcode from $Table[Product] where bigcate='$r_bigcate' and smcate='$r_smcate' and thirdcate='$r_thirdcate' and cateorder=$r_cateorder+1"); if($result3){ $next = ""; } } $cate_list = ""; echo "
$prev $cate_list $next
"; ?>
   
 
1){ ?> $r[psellprice]){ ?>
소비자 가격 : [".number_format($r[yenprice])."円]"); }elseif($r[yenprice]=="0" && $r[wonprice]=="0" && $r[dollorprice]!="0"){ echo (" [".number_format($r[dollorprice])."$]"); } } ?>
판매 가격 :
회원 할인가격 : style='border:0px solid #18519C; width:82; font-family:"돋움"; font-size:14px; color:#3588db; font-weight:bold;' ReadOnly>원 style='border:0px solid #18519C; width:48; font-family:"돋움"; font-size:13px; color:#3588db; font-weight:bold;' ReadOnly>원
판매 가격 : style='border:0px solid #18519C; width:60' ReadOnly>원
회원로그인시 할인해택있습니다. 회원이 아니시면 회원가입후 로그인바랍니다.
상품코드 :
JAN코드 : style='border:0px solid #18519C; width:82; font-family:"돋움"; font-size:14px; color:#35dsdb; font-weight:bold;' ReadOnly>
제조원 :
주문수량 :  개 (필요하신 수량을 적으세요.)
/
selectSQLField("select stock_amount, psellprice, sale from $_Table where pcode='$pcode'"); $totalAmount = $jcode[stock_amount]; if(eregi("#",$jancode)){ $optionPrice = explode("#",$jancode); $jcode[psellprice] = $optionPrice[1]; } }else{ //echo ("select amount, bonsaAmount, psellprice, sale from $_Table where jancode='$jancode'"); $jcode = $dalib->selectSQLField("select amount, bonsaAmount, psellprice, sale from $_Table where jancode='$jancode'"); $totalAmount = $jcode[amount] + $jcode[bonsaAmount]; } //$jcode = $dalib->selectSQLField("select amount, bonsaAmount, psellprice, sale from $_Table where jancode='$jancode'"); if($self_sale>0){ if($_COOKIE[$CookieIDName]!="" or $RMANAGE[member_sale_ok]=="Y"){ //$psellprice = floor(($jcode[psellprice]*(1-($jcode[sale]/100))-$jcode[psellprice]/100*$affiPerSale)/100)*100; $psellprice = floor($jcode[psellprice]*(1-($affiPerSale/100))*(1-($rowSale[sale]/100))); }else{ $psellprice = $jcode[psellprice]; } }else{ if($_COOKIE[$CookieIDName]!="" or $RMANAGE[member_sale_ok]=="Y"){ //$psellprice = floor(($jcode[psellprice]*(1-($jcode[sale]/100))-$jcode[psellprice]/100*$affiPerSale)/100)*100; $psellprice = floor($jcode[psellprice]*(1-($affiPerSale/100))*(1-($jcode[sale]/100))); }else{ $psellprice = $jcode[psellprice]; } } $item = $item01."#".$item02."#".$value."#".$jancode."#".$psellprice; //$totalAmount = $jcode[amount] + $jcode[bonsaAmount]; if($totalAmount>0 and strlen($jancode)>0 ){ if($r[pcompany]=="DAIWA" || $r[pcompany]=="SHIMANO"){ $STATE = ""; }else{ $STATE = ""; } }else{ if(strlen($jancode)>=5) $STATE = "X"; else $STATE = "-"; } /* if($rstock3["k_".$Count]>0) $STATE = "
-
selectSQLAll("select * from $Table[Product] where pcode like '$relation_pcode%' and pcode not like '$pcode' and display = '1' and completion='1' and (pcompany='DAIWA' || pcompany='SHIMANO') order by pname desc limit 0, 4"); $COL = 4; //가로 $ROW = 1; //세로 for ($row = 0; $row <= $ROW-1; $row++) { $beginlist = $row*$COL; $endlist = $row*$COL+$COL-1; ?> 0 && $img_info[1] > 0){ if($img_info[0]>=$img_info[1]){ $small_width = "100"; $small_height = $small_width*$img_info[1]/$img_info[0]; }else{ $small_height = "100"; $small_width = $small_height*$img_info[0]/$img_info[1]; } }else{ $small_height = "100"; $small_width = "100"; } if($r[sale]>0) { $sale = '
'; }else{ $sale = ""; } ?>

[".$pcompany."]"?>


".number_format($r[psellprice])."원(".number_format($affiSale)."할인)
"); ?>
"; //echo $pcontents; //}else{ echo $pcontents; //} ?>

배송지역 : 전국
배송비 : 10만원이상 구매시 무료배송 입니다.
               (도서,산간,오지 일부지역은 배송비가 추가될 수 있습니다.)
평균배송일 : 입금확인후 평균 당일,1,2일 이후에 배송됩니다.
  - 배송은 15시 이전 주문에 한에 당일 또는 익일 배송됩니다.
  - 토요일/공휴일은 배송기간에 포함되지 않습니다.
  - 도서/산간지역은 2~3일 정도 추가 소요됩니다.
  - 불가항력적(일시품절, 천재지변,명절등의 택배폭주시등)인 사유로 배송이 다소 늦어질수 있습니다.

교환 및 반품이 가능한 경우 :
  - 상품을 공급 받으신 날로부터 7일이내
  - 공급 받으신 상품 및 용역의 내용이 표시, 광고 내용과 다르거나 다르게 이행된 경우에는 공급 받은 날로부터 1월 이내,
    그 사실을 알게 된 날 또는 알 수 있었던 날로부터 1주일 이내
 
교환 및 반품이 불가능한 경우 :
  - 고객님의 책임 있는 사유로 상품이 멸실 또는 훼손된 경우. 
  - 포장을 개봉하였거나 포장이 훼손되어 상품가치가 현저히 상실된 경우
  - 포장 개봉 후 설치 혹은 사용하여 상품가치가 현저히 상실된 경우 반품, 환불이 되지 않습니다.
  - 고객 변심에 의한 반품, 교환시에는 고객께서 배송료를 부담하셔야 합니다.
     단, 상품불량, 파손, 주문내역과 다른 상품이 배송되었을 경우 무료입니다.
  - 반송시 반드시 해당 고객센터로 반품상담 접수후 상담원의 안내에 따라 반송처리해주셔야 반품처리 가능합니다.
  !!!! 상품을 공급받으신 날로부터 15일이상넘어갔을 경우 어떤 개인적인 사유로도 교환 및 반품 안됩니다.!!