File:newdetail.xmls
Method:query.scalar(columns,*where,*order)
未指定的錯(cuò)誤
越界或超過范圍
newdetail.xmls
$out main(){
$shell.running();
$shell.layout(pages/new-detail.htm);
@query=$query(catalog,news);
@MetaKeywords=@query.scalar(MetaKeywords,['Status>0 and CatalogId=87']);
@MetaDescription=@query.scalar(MetaDescription,['Status>0 and CatalogId=87']);
@Title=@query.scalar(Title,['Status>0 and CatalogId=87']);
@prodecttype=@query.getList(['CatalogId,CatalogName'],['Status>0 and ParentId=78'],['Grade desc']);
@videotype=@query.getTable(['CatalogId,CatalogName'],['ParentId=88 and Status>0'],['Grade desc']);
@videotype1=@query.getTable(['CatalogId,CatalogName'],['ParentId=88 and Status>0'],['Grade desc']);
@news=@query.getList(*,['Status>0 and ParentId=87'],['Grade desc']);
@news1=@query.getList(*,['Status>0 and ParentId=87'],['Grade desc']...