File:program/brand_product.xmls
Function Code:310
Method Code:1
类型不正确:(cnbrand(get))
program/brand_product.xmls
$function main(){
@brandid=$get[brandid];
@parentid=$get[parentid];
@catalogid=$get[catalogid];
@catalogid2=$get[catalogid2];
@cnbrand=$db.dataMap(select * from cnBrand where BrandID={$get(brandid\,:$number&empty:0\)});
@
tip=$control.stripHtml(@cnbrand[Body]);
@cnbrand[Tips]=@tip.substring(0,30);
@formatparent=<a title="{*CatalogName}" href="?xmls=program/brand_product.xmls&brandid={$get[brandid]}&parentid={*CatalogID}" target="_self" class="b{*CatalogID}">
<span style=""><span>{*CatalogName}</span></span>
</a>;
$if($test.or($test.e(@cnbrand[CatalogList],$empty),$test.e(@cnbrand[CatalogList],$null))){
@parent=$empty;
}
$else{
@parent=$control.dataList(select CatalogName\,CatalogID from cnProductCls wher...