File:en/projectcase.xmls
Method:query.getRow(columns,*where,*order)
未指定的错误
越界或超过范围
en/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(['MetaKeywords,CatalogId'],['ParentId=71 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]==79){
@row[class]=on;
}
$else{
@row[clas...