File:product-02.html
Method:query.table(columns,*where,*order,*top)
關鍵字 'ORDER' 附近有語法錯誤。 select * FROM gocatalog WHERE ParentId= ORDER BY Grade desc,CatalogId asc
數據庫執行錯誤
xmls/goods.xmls
...ne"'];
}
@class=['one_number'];
$if(@listtc==$empty){
@class=['one_numbern'];
}
}
$return(@listta);
}

//產品分類列表
$sub goodsloglist(){
@format=[#<li {@dis}><a href="{~product-02.html&cid=*CatalogId}" data-value="{*CatalogId}">{*CatalogName}</a></li>#];
@querygcata=$query(catalog,goods);
@querygoods=$query(goods,goods);
@CatalogId=$http.get(cid,1);
@querygcata[CatalogId][email protected];
@[email protected](ParentId,CatalogId={*CatalogId});
@querygcata[CatalogId][email protected];
@
[email protected](*,['ParentId={*CatalogId}'],['Grade desc,CatalogId asc']);
@[email protected](@format){
@cata=$var[CatalogId];
@querygoods[CatalogId][email protected];
@[email protected](['count(*)'],['CatalogId={*CatalogId}']);
$if(@ccount==0){
@dis=['style="display:none"'];
}
$else{
@dis=$empty;
}
}
@[email protected](CatalogName,CatalogId={*CatalogId});
$return($empty);
}

//技術型號
$sub SkillCode(){
@format=[#<a href="javascript:clickSearch('Purity',...