File:goods-offer.html
Method:query.table(columns,*where,*order,*top)
对象名 'goods_category' 无效。 select top 20 * FROM goods_category WHERE AreaId=1 and Status=1 and ParentId=0 ORDER BY Grade asc,CategoryId asc
数据库执行错误
xmls/xz-news.xmls
...nowscode2(format){
@query=$query(catalog,goods);
@casetable=@query.table(*,['AreaId=1 and Status=1 and ParentId=367'],['Grade asc,CatalogId asc'],20);
@CaName=@casetable.format(@format);
$return(@CaName);
}

$sub getDisposal(format){
@query=$query(catalog,content);
@casetable=@query.table(*,['AreaId=1 and Status=1 and ParentId=21'],['Grade asc,CatalogId asc']);
@CaName=@casetable.format(@format);
$return(@CaName);
}

$sub getCasenowscode3(format){
@query=$query(category,goods);
@
casetable=@query.table(*,['AreaId=1 and Status=1 and ParentId=0'],['Grade asc,CategoryId asc'],20);
@CaName=@casetable.format(@format);
$return(@CaName);
}


$sub downLoadcup(format){
@query=$query(catalog,content);
@loadtable=@query.table(*,['AreaId=1 and Status=1 and ParentId=26'],['Grade asc,CatalogId asc']);
@dt=0;
@style=$string();
@Loadlist=@loadtable.format(@format){
@dt=(@dt+1);
$if(@dt==1){
@style=["dowtwsp"];
}
$elseif(@dt==5){
@style=["dowtwsp4"];
@dt=0;
}
$else{
...