File:newsdetail.xmls
Method:query.getRow(columns,*where,*order)
未指定的错误
越界或超过范围
newsdetail.xmls
$out main(){
$shell.running();
$shell.layout(pages/news.htm);
@contenid=$http.argv(0);
@namenum=$http.argv(1);

@address=$util.config(base,Address);
@tel=$util.config(base,Tel);
@mail=$util.config(base,Mail);
@icp=$util.config(base,Icp);
@yejiao=$util.config(base,foot);

@keywords=$util.config(meta,keywords);
@description=$util.config(meta,description);
@query=$query(content,news);
@query[ContentId]=@contenid;
@
map=@query.getRow(*,['ContentId={*ContentId}']);
@name=['Exhibition Report'];
$if(@namenum==65){
@name=['news information'];
}

@query[CatalogId]=@map[CatalogId];
@prevrow=@query.getRow(*,['CatalogId={*CatalogId} and Status>0 and ContentId<{*ContentId}'],['ContentId desc']);
@nextrow=@query.getRow(*,['CatalogId={*CatalogId} and Status>0 and ContentId>{*ContentId}'],['ContentId asc']);
//上一条
$if(@prevrow[ContentId]<>$null){
@prevcontenid=@prevrow[ContentId];
@prevtitle=@prevrow[Title...