File:en/product.xmls
Method:if.>(value,compare)
~value:@DVal
类型不正确
en/product.xmls
...


@description=@form[Description];

@Body=@form[Body];
}
@query=$query(content,news);
//友情链接
@links=@query.getTable(['Title,Subtitle,Link'],['Status>0 and CatalogId=197 and AreaId=3'],['Grade desc']);
@wx=@query.getTable(['Title,Pic'],['Status>0 and CatalogId=289'],['Grade desc']);


@dbcatalog=$query(catalog,news);
@DVal=$http.argv(0);
$if(@DVal==1){
@dbcatalog[CatalogId]=$http.argv(2);
@cataname=@dbcatalog.scalar(['CatalogName'],['CatalogId={*CatalogId} and AreaId=3']);
}
$
elseif(@DVal>1){
@dbcatalog[CatalogId]=$http.argv(0);
@cataname=@dbcatalog.scalar(['CatalogName'],['CatalogId={*CatalogId} and AreaId=3']);
}
$else{
@cataname=Product;
}
}