selectSQLAll("select * from $Table[Product] where display = '1' and completion = '1' and stock_amount>0 and $find = '$search' $order"); $rnum = $result[rnum]; if($find=="pbest") $PresentTitle = "베스트 상품"; if($find=="pnew") $PresentTitle = "이벤트 상품"; if($find=="precom") $PresentTitle = "추천상품"; if($find=="ppopu") $PresentTitle = "인기상품"; if($find=="is_sale") $PresentTitle = "초특가 세일상품"; }else{ if(!$orname && !$orsun) $order = " order by direct_stock='1' desc, updatetime desc"; else $order = " order by $orname $orsun"; $r = $dalib->selectSQLField("select bigcatename from $Table[Bigcategory] where bigcate ='$bigcate'"); $r2 = $dalib->selectSQLField("select smcatename from $Table[Smcategory] where smcate ='$smcate'"); //$r3 = $dalib->selectSQLField("select thirdcatename from $Table[Thirdcategory] where thirdcate='$thirdcate'"); $PresentTitle = $r[bigcatename]; $PresendSmcate = $r2[smcatename]; //$PresendThirdcate = $r3[thirdcatename]; $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and display = '1' and completion='1' and stock_amount>0 $order"); if($smcate=="" && $pcompany=="") $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and display = '1' and completion='1' and stock_amount>0 $order"); elseif($smcate!="" && $pcompany=="") $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and smcate = '$smcate' and display = '1' and completion='1' and stock_amount>0 $order"); else $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and smcate = '$smcate' and pcompany = '$pcompany' and display = '1' and completion='1' and stock_amount>0 $order"); $rnum = $result[rnum]; } $pagingList = $paging2->pagingList("mode=$mode&bigcate=$bigcate&smcate=$smcate&pcompany=$pcompany&bigcatename=$bigcatename&smcatename=$smcatename&orname=$orname&orsun=$orsun&search=$search&find=$find",$rnum,40,10); $startRecord = $paging2->startRecord; $endRecord = $paging2->endRecord; $page = $paging2->page; $result2 = $dalib->selectSQLAll("select * from $Table[Smcategory] where bigcate = '$bigcate' and display='1' order by cateorder asc"); $result3 = $dalib->selectSQLAll("select pcompany from $Table[Product] where bigcate = '$bigcate' and smcate = '$smcate' group by pcompany order by updatetime desc"); //echo ("select * from $Table[Thirdcategory] where bigcate = '$bigcate' and smcate = '$smcate' order by updatetime desc"); exit; # 인기상품\ if($smcate==""){ $result_ppopu = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and display = '1' and completion='1' and stock_amount>0 and mainDisplay='1' order by updatetime desc limit 3"); //$result_ppopu = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and ppopu = '1' and display = '1' and completion='1' and stock_amount>0 and mainDisplay='1' order by updatetime desc limit 3"); }else{ $result_ppopu = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and smcate='$smcate' and display = '1' and completion='1' and stock_amount>0 and mainDisplay='1' order by updatetime desc limit 3"); //$result_ppopu = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and smcate='$smcate' and ppopu = '1' and display = '1' and completion='1' and stock_amount>0 and mainDisplay='1' order by updatetime desc limit 3"); } @mysql_data_seek($result_ppopu[result],0); $r_ppopu = @mysql_fetch_array($result_ppopu[result]); @mysql_data_seek($result_ppopu[result],1); $r2_ppopu = @mysql_fetch_array($result_ppopu[result]); @mysql_data_seek($result_ppopu[result],2); $r3_ppopu = @mysql_fetch_array($result_ppopu[result]); $pname_ppopu = $r_ppopu[pname]; $pname2_ppopu = $r2_ppopu[pname]; $pname3_ppopu = $r3_ppopu[pname]; $eng_pname = $r_ppopu[eng_pname]; $eng_pname2 = $r2_ppopu[eng_pname]; $eng_pname3 = $r3_ppopu[eng_pname]; // echo $bigcate."
".$smcate."
".$thirdcate; exit; ?>
 HOME >
 
2) { $rClient = $dalib->selectSQLField("select client, sale from $Table[Product] where pcode='$r_ppopu[pcode]'"); if($rClient[client]=="한국다이와정공"){ $_Table = "domefishing.Barcode"; }elseif($rClient[client]=="윤성조구"){ $_Table = "domefishing.ShimanoBarcode"; }else{ $_Table = "$Table[Product]"; } $rClient2 = $dalib->selectSQLField("select client, sale from $Table[Product] where pcode='$r_ppopu2[pcode]'"); if($rClient2[client]=="한국다이와정공"){ $_Table2 = "domefishing.Barcode"; }elseif($rClient2[client]=="윤성조구"){ $_Table2 = "domefishing.ShimanoBarcode"; }else{ $_Table2 = "$Table[Product]"; } $rClient3 = $dalib->selectSQLField("select client, sale from $Table[Product] where pcode='$r_ppopu3[pcode]'"); if($rClient3[client]=="한국다이와정공"){ $_Table3 = "domefishing.Barcode"; }elseif($rClient3[client]=="윤성조구"){ $_Table3 = "domefishing.ShimanoBarcode"; }else{ $_Table3 = "$Table[Product]"; } if($_COOKIE[$CookieIDName]!="" or $RMANAGE[member_sale_ok]=="Y") { if($_Table == "$Table[Product]"){ $minPsellprice = $r_ppopu[psellprice]; $minPsellprice2 = $r_ppopu2[psellprice]; $minPsellprice3 = $r_ppopu3[psellprice]; }else{ $Mresult = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r_ppopu[pcode]'"); if($Mresult[rnum]>0) { $row = @mysql_fetch_array($Mresult[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 from $_Table where ($cWhere) and psellprice > 0"); $minPsellprice = $rPs[psellprice]; }else{ $minPsellprice = $r_ppopu[psellprice]; } $Mresult2 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r2_ppopu[pcode]'"); if($Mresult2[rnum]>0) { $row2 = @mysql_fetch_array($Mresult2[result]); for($loop2=1;$loop2<=20;$loop2++) { if($row2["k_".$loop2]=="") continue; $cWhere2 .= "jancode='".$row2["k_".$loop2]."' or "; } $cWhere2 = substr($cWhere2, 0, -3); $rPs2 = $dalib->selectSQLField("select MIN(psellprice) as psellprice2 from $_Table2 where ($cWhere2) and psellprice > 0"); $minPsellprice2 = $rPs2[psellprice2]; }else{ $minPsellprice2 = $r2_ppopu[psellprice]; } $Mresult3 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r3_ppopu[pcode]'"); if($Mresult3[rnum]>0) { $row3 = @mysql_fetch_array($Mresult3[result]); for($loop3=1;$loop3<=20;$loop3++) { if($row3["k_".$loop3]=="") continue; $cWhere3 .= "jancode='".$row3["k_".$loop3]."' or "; } $cWhere3 = substr($cWhere3, 0, -3); $rPs3 = $dalib->selectSQLField("select MIN(psellprice) as psellprice3 from $_Table3 where ($cWhere3) and psellprice > 0"); $minPsellprice3 = $rPs3[psellprice3]; }else{ $minPsellprice3 = $r3_ppopu[psellprice]; } } $r_ppopu_psellprice = floor(($minPsellprice*(1-($r_ppopu[persale]/100))-$minPsellprice/100*$affiPerSale)/100)*100; $r2_ppopu_psellprice = floor(($minPsellprice2*(1-($r2_ppopu[persale]/100))-$minPsellprice2/100*$affiPerSale2)/100)*100; $r3_ppopu_psellprice = floor(($minPsellprice3*(1-($r3_ppopu[persale]/100))-$minPsellprice3/100*$affiPerSale3)/100)*100; $member_sale_txt = "회원특가"; }else{ $r_ppopu_psellprice = $r_ppopu[psellprice]*(1-($r_ppopu[persale]/100)); $r2_ppopu_psellprice = $r2_ppopu[psellprice]*(1-($r2_ppopu[persale]/100)); $r3_ppopu_psellprice = $r3_ppopu[psellprice]*(1-($r3_ppopu[persale]/100)); } $cWhere = ""; $cWhere2 = ""; $cWhere3 = ""; ?>
"><?echo($pname_ppopu);?>
">
".number_format($r_ppopu[psellprice])."원(".number_format($r_ppopu[psellprice]/100*$affiPerSale)."할인)
"); } ?>
"><?echo($pname2_ppopu);?>
">
".number_format($r2_ppopu[psellprice])."원(".number_format($r2_ppopu[psellprice]/100*$affiPerSale2)."할인)
"); } ?>
"><?echo($pname3_ppopu);?>
">
".number_format($r3_ppopu[psellprice])."원(".number_format($r3_ppopu[psellprice]/100*$affiPerSale3)."할인)
"); } ?>
 
$PresentTitle");?> $PresendSmcate");?> 상품수 :
$r[smcatename] "; else $SMTITLE = "$r[smcatename]"; ?>
$PresentTitle");?> $PresendSmcate");?> $PresendThirdcate");?> 상품수 :
 
$r[smcatename] "; else $SMTITLE = "$r[smcatename]"; ?>
 
$r[pcompany] "; else $THIRDTITLE = "$r[pcompany]"; ?>
 
selectSQLField("select client, sale from $Table[Product] where pcode='$r[pcode]'"); if($rClient[client]=="한국다이와정공"){ $_Table = "domefishing.Barcode"; }elseif($rClient[client]=="윤성조구"){ $_Table = "domefishing.ShimanoBarcode"; }else{ $_Table = "$Table[Product]"; } $rClient2 = $dalib->selectSQLField("select client, sale from $Table[Product] where pcode='$r2[pcode]'"); if($rClient2[client]=="한국다이와정공"){ $_Table2 = "domefishing.Barcode"; }elseif($rClient2[client]=="윤성조구"){ $_Table2 = "domefishing.ShimanoBarcode"; }else{ $_Table2 = "$Table[Product]"; } $rClient3 = $dalib->selectSQLField("select client, sale from $Table[Product] where pcode='$r3[pcode]'"); if($rClient3[client]=="한국다이와정공"){ $_Table3 = "domefishing.Barcode"; }elseif($rClient3[client]=="윤성조구"){ $_Table3 = "domefishing.ShimanoBarcode"; }else{ $_Table3 = "$Table[Product]"; } $rClient4 = $dalib->selectSQLField("select client, sale from $Table[Product] where pcode='$r4[pcode]'"); if($rClient4[client]=="한국다이와정공"){ $_Table4 = "domefishing.Barcode"; }elseif($rClient4[client]=="윤성조구"){ $_Table4 = "domefishing.ShimanoBarcode"; }else{ $_Table4 = "$Table[Product]"; } if($_COOKIE[$CookieIDName]!="" or $RMANAGE[member_sale_ok]=="Y") { if($_Table == "$Table[Product]"){ $minPsellprice = $r[psellprice]; $minPsellprice2 = $r2[psellprice]; $minPsellprice3 = $r3[psellprice]; $minPsellprice4 = $r4[psellprice]; }else{ $Mresult = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r[pcode]'"); if($Mresult[rnum]>0) { $row = @mysql_fetch_array($Mresult[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"); $minPsellprice = $rPs[psellprice]; }else{ $minPsellprice = $r[psellprice]; } //echo ("select * from $Table[ProductStockSetting] where pcode = '$r2[pcode]'"); exit; $Mresult2 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r2[pcode]'"); if($Mresult2[rnum]>0) { $row2 = @mysql_fetch_array($Mresult2[result]); for($loop2=1;$loop2<=20;$loop2++) { if($row2["k_".$loop2]=="") continue; $cWhere2 .= "jancode='".$row2["k_".$loop2]."' or "; } $cWhere2 = substr($cWhere2, 0, -3); $rPs2 = $dalib->selectSQLField("select MIN(psellprice) as psellprice2, MAX(sale) as sale2 from $_Table2 where ($cWhere2) and psellprice > 0"); $minPsellprice2 = $rPs2[psellprice2]; }else{ $minPsellprice2 = $r2[psellprice]; } $Mresult3 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r3[pcode]'"); if($Mresult3[rnum]>0) { $row3 = @mysql_fetch_array($Mresult3[result]); for($loop3=1;$loop3<=20;$loop3++) { if($row3["k_".$loop3]=="") continue; $cWhere3 .= "jancode='".$row3["k_".$loop3]."' or "; } $cWhere3 = substr($cWhere3, 0, -3); $rPs3 = $dalib->selectSQLField("select MIN(psellprice) as psellprice3, MAX(sale) as sale3 from $_Table3 where ($cWhere3) and psellprice > 0"); $minPsellprice3 = $rPs3[psellprice3]; }else{ $minPsellprice3 = $r3[psellprice]; } $Mresult4 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r4[pcode]'"); if($Mresult4[rnum]>0) { $row4 = @mysql_fetch_array($Mresult4[result]); for($loop4=1;$loop4<=20;$loop4++) { if($row4["k_".$loop4]=="") continue; $cWhere4 .= "jancode='".$row4["k_".$loop4]."' or "; } $cWhere4 = substr($cWhere4, 0, -3); $rPs4 = $dalib->selectSQLField("select MIN(psellprice) as psellprice4, MAX(sale) as sale4 from $_Table4 where ($cWhere4) and psellprice > 0"); $minPsellprice4 = $rPs4[psellprice4]; }else{ $minPsellprice4 = $r4[psellprice]; } } /* $psellprice = floor(($minPsellprice*(1-($r[persale]/100))-$minPsellprice/100*$affiPerSale)/100)*100; $psellprice2 = floor(($minPsellprice2*(1-($r2[persale]/100))-$minPsellprice2/100*$affiPerSale2)/100)*100; $psellprice3 = floor(($minPsellprice3*(1-($r3[persale]/100))-$minPsellprice3/100*$affiPerSale3)/100)*100; $psellprice4 = floor(($minPsellprice4*(1-($r4[persale]/100))-$minPsellprice4/100*$affiPerSale4)/100)*100; $psellprice = floor($minPsellprice*(1-($affiPerSale/100))*(1-($rPs[sale]/100))); $psellprice2 = floor($minPsellprice2*(1-($affiPerSale2/100))*(1-($rPs2[sale2]/100))); $psellprice3 = floor($minPsellprice3*(1-($affiPerSale3/100))*(1-($rPs3[sale3]/100))); */ if($rClient[sale]>0) $psellprice = floor($minPsellprice*(1-($affiPerSale/100))*(1-($rClient[sale]/100))); else $psellprice = floor($minPsellprice*(1-($affiPerSale/100))*(1-($rPs[sale]/100))); if($rClient2[sale]>0) $psellprice2 = floor($minPsellprice2*(1-($affiPerSale2/100))*(1-($rClient2[sale]/100))); else $psellprice2 = floor($minPsellprice2*(1-($affiPerSale2/100))*(1-($rPs2[sale2]/100))); if($rClient3[sale]>0) $psellprice3 = floor($minPsellprice3*(1-($affiPerSale3/100))*(1-($rClient3[sale]/100))); else $psellprice3 = floor($minPsellprice3*(1-($affiPerSale3/100))*(1-($rPs3[sale3]/100))); if($rClient4[sale]>0) $psellprice4 = floor($minPsellprice4*(1-($affiPerSale4/100))*(1-($rClient4[sale]/100))); else $psellprice4 = floor($minPsellprice4*(1-($affiPerSale4/100))*(1-($rPs4[sale4]/100))); $member_sale_txt = "회원특가"; }else{ if($_Table == "$Table[Product]"){ $minPsellprice = $r[psellprice]; $minPsellprice2 = $r2[psellprice]; $minPsellprice3 = $r3[psellprice]; $minPsellprice4 = $r4[psellprice]; }else{ $Mresult = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r[pcode]'"); if($Mresult[rnum]>0) { $row = @mysql_fetch_array($Mresult[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 from $_Table where ($cWhere) and psellprice > 0"); $minPsellprice = $rPs[psellprice]; }else{ $minPsellprice = $r[psellprice]; } //echo ("select * from $Table[ProductStockSetting] where pcode = '$r2[pcode]'"); exit; $Mresult2 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r2[pcode]'"); if($Mresult2[rnum]>0) { $row2 = @mysql_fetch_array($Mresult2[result]); for($loop2=1;$loop2<=20;$loop2++) { if($row2["k_".$loop2]=="") continue; $cWhere2 .= "jancode='".$row2["k_".$loop2]."' or "; } $cWhere2 = substr($cWhere2, 0, -3); $rPs2 = $dalib->selectSQLField("select MIN(psellprice) as psellprice2 from $_Table2 where ($cWhere2) and psellprice > 0"); $minPsellprice2 = $rPs2[psellprice2]; }else{ $minPsellprice2 = $r2[psellprice]; } $Mresult3 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r3[pcode]'"); if($Mresult3[rnum]>0) { $row3 = @mysql_fetch_array($Mresult3[result]); for($loop3=1;$loop3<=20;$loop3++) { if($row3["k_".$loop3]=="") continue; $cWhere3 .= "jancode='".$row3["k_".$loop3]."' or "; } $cWhere3 = substr($cWhere3, 0, -3); $rPs3 = $dalib->selectSQLField("select MIN(psellprice) as psellprice3 from $_Table3 where ($cWhere3) and psellprice > 0"); $minPsellprice3 = $rPs3[psellprice3]; }else{ $minPsellprice3 = $r3[psellprice]; } $Mresult4 = $dalib->selectSQLAll("select * from $Table[ProductStockSetting] where pcode = '$r4[pcode]'"); if($Mresult4[rnum]>0) { $row4 = @mysql_fetch_array($Mresult4[result]); for($loop4=1;$loop4<=20;$loop4++) { if($row4["k_".$loop4]=="") continue; $cWhere4 .= "jancode='".$row4["k_".$loop4]."' or "; } $cWhere4 = substr($cWhere4, 0, -3); $rPs4 = $dalib->selectSQLField("select MIN(psellprice) as psellprice4 from $_Table4 where ($cWhere4) and psellprice > 0"); $minPsellprice4 = $rPs4[psellprice4]; }else{ $minPsellprice4 = $r4[psellprice]; } } /* $psellprice = $minPsellprice*(1-($r[persale]/100)); $psellprice2 = $minPsellprice2*(1-($r2[persale]/100)); $psellprice3 = $minPsellprice3*(1-($r3[persale]/100)); $psellprice4 = $minPsellprice4*(1-($r4[persale]/100)); */ if($rClient[sale]>0) $psellprice = floor($minPsellprice*(1-($affiPerSale/100))*(1-($rClient[sale]/100))); else $psellprice = floor($minPsellprice*(1-($affiPerSale/100))*(1-($rPs[sale]/100))); if($rClient2[sale]>0) $psellprice2 = floor($minPsellprice2*(1-($affiPerSale2/100))*(1-($rClient2[sale]/100))); else $psellprice2 = floor($minPsellprice2*(1-($affiPerSale2/100))*(1-($rPs2[sale2]/100))); if($rClient3[sale]>0) $psellprice3 = floor($minPsellprice3*(1-($affiPerSale3/100))*(1-($rClient3[sale]/100))); else $psellprice3 = floor($minPsellprice3*(1-($affiPerSale3/100))*(1-($rPs3[sale3]/100))); if($rClient4[sale]>0) $psellprice4 = floor($minPsellprice4*(1-($affiPerSale4/100))*(1-($rClient4[sale]/100))); else $psellprice4 = floor($minPsellprice4*(1-($affiPerSale4/100))*(1-($rPs4[sale4]/100))); } if($r[stock_amount]<1) $STOCK_IMG = ""; else $STOCK_IMG = ""; if($r2[stock_amount]<1) $STOCK_IMG2 = ""; else $STOCK_IMG2 = ""; if($r3[stock_amount]<1) $STOCK_IMG3 = ""; else $STOCK_IMG3 = ""; if($r4[stock_amount]<1) $STOCK_IMG4 = ""; else ?>
0 && $img_info[1] > 0){ if($img_info[0]>=$img_info[1]){ $small_width = 150; $small_height = $small_width*$img_info[1]/$img_info[0]; }else{ $small_height = 150; $small_width = $small_height*$img_info[0]/$img_info[1]; } }else{ $small_height = 150; $small_width = 150; } if($rPs[sale]>=10) { $sale = '
'; }else{ $sale = ""; } ?> "> <?echo($pname);?> <?echo($pname);?>
"> [".$pcompany."]"?>
str_cutstring($pname, 36);?>

".number_format($r[psellprice])."원 (".number_format($r[psellprice]/100*$affiPerSale)."할인)
"); } ?> ">

0) {?> (적립금 : 원)
0 && $img_info[1] > 0){ if($img_info[0]>=$img_info[1]){ $small_width = 150; $small_height = $small_width*$img_info[1]/$img_info[0]; }else{ $small_height = 150; $small_width = $small_height*$img_info[0]/$img_info[1]; } }else{ $small_height = 150; $small_width = 150; } if($rPs2[sale2]>=10) { $sale = '
'; }else{ $sale = ""; } ?> "> <?echo($pname2);?> <?echo($pname2);?>
"> [".$pcompany2."]"?>
str_cutstring($pname2, 36);?>

".number_format($r2[psellprice])."원 (".number_format($r2[psellprice]/100*$affiPerSale2)."할인)
"); } ?> ">

0) {?> (적립금 : 원)
0 && $img_info[1] > 0){ if($img_info[0]>=$img_info[1]){ $small_width = 150; $small_height = $small_width*$img_info[1]/$img_info[0]; }else{ $small_height = 150; $small_width = $small_height*$img_info[0]/$img_info[1]; } }else{ $small_height = 150; $small_width = 150; } if($rPs3[sale3]>=10) { $sale = '
'; }else{ $sale = ""; } ?> "> <?echo($pname3);?> <?echo($pname3);?>
"> [".$pcompany3."]"?>
str_cutstring($pname3, 36);?>

".number_format($r3[psellprice])."원 (".number_format($r3[psellprice]/100*$affiPerSale3)."할인)
"); } ?> ">

0) {?> (적립금 : 원)
0 && $img_info[1] > 0){ if($img_info[0]>=$img_info[1]){ $small_width = 150; $small_height = $small_width*$img_info[1]/$img_info[0]; }else{ $small_height = 150; $small_width = $small_height*$img_info[0]/$img_info[1]; } }else{ $small_height = 150; $small_width = 150; } if($rPs4[sale4]>=10) { $sale = '
'; }else{ $sale = ""; } ?> "> <?echo($pname4);?> <?echo($pname4);?>
"> [".$pcompany4."]"?>
str_cutstring($pname4, 36);?>

".number_format($r4[psellprice])."원 (".number_format($r4[psellprice]/100*$affiPerSale4)."할인)
"); } ?> ">

0) {?> (적립금 : 원)