File:ContactUs3.html
Method:query.table(columns,*where,*order,*top)
不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。
数据库执行错误
xmls/product.xmls
...listta=@tablectmn.format(@format){
@querygcata[CatalogId]=$var[CatalogId];
@tablect=@querygcata.table(*,['ParentId={*CatalogId}'],['Grade desc,CatalogId asc']);
@listtb=@tablect.format(@format1);
}
$return(@listta);
}

//多层分类,两层非首页,无个数限制
$function listProductes1312(format,format1){
@querygcata=$query(catalog,product);
@tablectmn=@querygcata.table(*,['ParentId=0 and AreaId=1'],['CatalogId asc,Grade asc']);
@listta=@tablectmn.format(@format){
@querygcata[CatalogId]=$var[CatalogId];
@
tablect=@querygcata.table(*,['ParentId={*CatalogId} and AreaId=1'],['Grade asc,CatalogId asc']);
@listtb=@tablect.format(@format1);
}
$return(@listta);
}


$sub listProducts123456(){
@querygproduct=$query(product,product);
@pid=$http.get(pid,0);
@prid=@pid.remove(-1);
@querygproduct[ProductId]=@pid;
$if(@pid==0){
$end();
}
@int=$string();
@b=$string();
@productname=@querygproduct.table(['ProductName,ProductId,CatalogId'],['ProductId in {#in(ProductId)}'],['ProductId asc,Grade ...