selectSQLAll("select * from $Table[Product] where $find = '$search' $order"); $rnum = $result[rnum]; if($find=="pbest") $PresentTitle = "º£½ºÆ® »óÇ°"; if($find=="pnew") $PresentTitle = "À̺¥Æ® »óÇ°"; if($find=="precom") $PresentTitle = "Ãßõ»óÇ°"; if($find=="ppopu") $PresentTitle = "Àαâ»óÇ°"; }else{ if(!$orname && !$orsun) $order = " order by cateorder 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]; if($smcate=="" && $thirdcate=="") $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and display = '1' $order"); elseif($smcate!="" && $thirdcate=="") $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and smcate = '$smcate' and display = '1' $order"); else $result = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and smcate = '$smcate' and thirdcate = '$thirdcate' and display = '1' $order"); $rnum = $result[rnum]; } $pagingList = $paging2->pagingList("mode=$mode&bigcate=$bigcate&smcate=$smcate&smcatename=$smcatename&orname=$orname&orsun=$orsun&search=$search&find=$find",$rnum,12,10); $startRecord = $paging2->startRecord; $endRecord = $paging2->endRecord; $page = $paging2->page; $result2 = $dalib->selectSQLAll("select * from $Table[Smcategory] where bigcate = '$bigcate' order by cateorder asc"); $result3 = $dalib->selectSQLAll("select * from $Table[Thirdcategory] where bigcate = '$bigcate' and smcate = '$smcate' order by cateorder asc"); # Àαâ»óÇ°\ $result_ppopu = $dalib->selectSQLAll("select * from $Table[Product] where bigcate ='$bigcate' and ppopu = '1' and display = '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]; // echo $bigcate."
".$smcate."
".$thirdcate; exit; ?>
$PresentTitle");?> $PresendSmcate");?> $PresendThirdcate");?>
 
$r[smcatename] "; else $SMTITLE = "$r[smcatename]"; ?>
 
$r[thirdcatename] "; else $THIRDTITLE = "$r[thirdcatename]"; ?>
»óÇ°¼ö : °³
 
"; 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 $STOCK_IMG4 = ""; ?>
0) {?>
"><?echo($pname);?>
">
¿ø
(Àû¸³±Ý : ¿ø)
0) {?>
"><?echo($pname2);?>
">
¿ø
(Àû¸³±Ý : ¿ø)
0) {?>
"><?echo($pname3);?>
">
¿ø
(Àû¸³±Ý : ¿ø)
0) {?>
"><?echo($pname4);?>
">
¿ø
(Àû¸³±Ý : ¿ø)