File:cn/projectcase.xmls
Method:query.getRow(columns,*where,*order)
未指定的错误
越界或超过范围
cn/projectcase.xmls
$out main(){
$shell.running();
$shell.layout(pages/projectcase.htm);
@query=$query(content,news);
@queryExtend=$query(extend,news);
@quCatalog=$query(catalog,news);
@cataidList=@quCatalog.getRow(['CatalogId'],['ParentId=3 and Status>0 and CatalogId<>54'],['Grade desc,CatalogId desc']);
@cataid=@cataidList[CatalogId];
//分类
@stNew=@quCatalog.getList(['CatalogName,CatalogId'],['ParentId=61 and Status>0'],['Grade desc,CatalogId desc']);
@stNew.foreach(){
@row=$map($var[value]);
$if($http.argv(0)){
$if(@row[CatalogId]==$http.argv(0)){
@row[class]=on;
}
$else{
@row[class]=;
}
}
$else{
$if(@row[CatalogId]==62){
@row[class]=on;
}
$else{
@row[cla...