query($sql); $forum = $db->fetch_array($query); //echo $forum['detail']; $detail=explode("|",$forum['detail']); for ($i=0; $i < count($detail); $i++) { $sql="select ID,Title from prog_catalog where FormainId=7 and Title like '".$detail[$i]."' order by disp_id"; $query = $db->query($sql); $forum = $db->fetch_array($query); $catalog[$i]['Title'] = $forum['Title'];//echo $forum['Title']."
"; $catalog[$i]['ID'] = $forum['ID']; } $gsmq = empty($_REQUEST['gsmq']) ? $catalog[0]['ID'] : $_REQUEST['gsmq']; $sql="select * from cy_product where GXMQ ='".$gsmq."' and kind=2 and spec > 0 order by forid"; $query = $db->query($sql); $IP = $db -> check_ip($_SERVER['REMOTE_ADDR']); $i=0; while($forum = $db->fetch_array($query)) { $product[$i]['ID'] = $forum['ID']; $product[$i]['GXMQ'] = $forum['GXMQ']; $product[$i]['XLMQ'] = $forum['XLMQ']; $product[$i]['XKMQ'] = $forum['XKMQ'];//echo $forum['XKMQ']."
"; $product[$i]['XKBM'] = empty($forum['XKBM'])? "": " "; if ($IP != "ok") { $price = 0;} else { $price = $forum['price'];} $product[$i]['unit'] = empty($forum['unit'])? "" : "规格:".$forum['unit']; $product[$i]['pro_new'] = empty($forum['pro_new'])? "" : ""; $product[$i]['price'] = show_spec($price,$forum['only_spec'],$forum['spec'],$forum['spec_date1'],$forum['spec_date2']); $product[$i]['shopcard']= ($price == 0 || $_SESSION["checkout"]=="on")? "": ""; $product[$i]['kick'] = $forum['kick']; $product[$i]['img_path'] = $forum['img_path']; $product[$i]['photoview'] = $forum['photoview']; $product[$i]['tao_url'] = empty($forum['tao_url'])? "" : " "; $i++; } //product if ($gsmq=="NBS") { $NBS= "
NBS线材特惠价(白金版)
品种
原价
特价
OMEGA PLATINUM 电源线 28,750.00 19,900.00
OMEGA PLATINUM 数码线(AES/EBU) 28,750.00 19,900.00
OMEGAⅢ PLATINUM RCA数码线 6,728.00 4,720.00
OMEGA Junior PLATINUM 音箱线 4,770.00 3,400.00

NBS线材特惠价(普通版)

品种
原价
特价
OMEGA XLR 讯号线 41,981.00 31,486.00
OMEGA 电源线 21,563.00 16,172.00
OMEGA 数码线(AES/EBU) 21,563.00 16,172.00
OMEGAⅠ XLR 讯号线 22,388.00 16,791.00
OMEGAⅠ 数码线(AES/EBU) 13,313.00 9,985.00
OMEGAⅡ XLR讯号线 15,788.00 11,841.00
OMEGAⅢ RCA讯号线 11,663.00 8,747.00
OMEGAⅢ 数码线(AES/EBU) 5,046.00 3,785.00
OMEGAⅣ XLR讯号线 4,980.00 3,735.00
OMEGA Junior 数码线(AES/EBU) 1,730.00 1,298.00
OMEGA Junior 音箱线 3,578.00 2,684.00

NBS HONEY BEE系列线材特惠价

品种
原价
特价
4FT.RCA. INT 14,013.00 8,243.00
1 METER AES/EBU CABLES 8,942.00 5,260.00
"; } else { $NBS="";} $viewdata = array("pageID" => $pageID , "siteinfo" => $siteinfo, "sitename" => $sitename, "catalog" => $catalog, "product" => $product, "NBS" => $NBS, "menu" => showmenu($pageID) ); $tplname= CModel($_SERVER["SCRIPT_NAME"]); callview($viewdata,$tplname); ?>