File:index.xmls
Keywords.append(../newsInfo.html?id=)
对像没有被定义
index.xmls
...ords.append(@row[ContentId]);
}
@row[Keywords]=@Keywords;
}


@listnew2=@query.dataList(['select top 5 * from newscontent where ContentId not in(select top 1 ContentId from newscontent where Status>0 and CatalogId=40 and Tag like '%0%' order by CreateDate desc) and CatalogId=40 and Tag like '%1%' order by CreateDate desc']);
@Keywords=$string();
@listnew2.foreach(){
@row=$map($var[value]);
@aa=@row[Keywords];
@bb=@row[ContentId];
$if(@aa){
@Keywords=@row[Keywords];
}
$else{
@
Keywords.append(../newsInfo.html?id=);
@Keywords.append(@row[ContentId]);
}
@row[Keywords]=@Keywords;
}




@sqlfooter=['1>0 and Status>0 and CatalogId=5'];
@listfooter=@query.getList(*,@sqlfooter,['Grade desc']);

@sqlfooter2=['1>0 and Status>0 and CatalogId=55'];
@listfooter2=@query.getList(*,@sqlfooter2,['Grade desc']);
}



$out getproduct(){
@query=$query(content,news);
@query[ContentId]=$http.get(cataid);
@ContentId=$http.get(cataid);
$if(@ContentId>0){
@query[Conte...