File:en/index.html
Function Code:510
Method Code:10
未指定的错误
数据库执行错误
class/ennews.xmlc
...us=1;
@data=@query.pager(@format,*,@sqlWhere,Grade\,ContentID desc,8,$get.number(page,1),5);
$return(@format.toString(body));
}





$function hotnews(numberid,topid,format){
@query=$query(Content,news);
@list=@query.format(@format,*,CatalogID={@numberid} and Recommend=1 and Lang='en' and Status=1,{%Grade desc,ContentID desc%},@topid);
$return(@list);
}


//首页调查推荐

$function getAbouti(format,CatalogID){
@querynews=$query(catalog,news);
@catalogid=$get.number(catalogid,3);
@
list=@querynews.format(@format,{%CatalogName,Pic,Tips, CatalogID%},Status=1 and ParentID={@CatalogID},{%Grade desc,CatalogID desc%},3){
$if(@catalogid==@querynews[CatalogID]){
$layout[catalogname]=@querynews[CatalogName];
}
}
$return(@list);
}
//首页调查推荐


$function newsList(catalogid){
@format={%##:{=body}
<ul class="ul3">
{@data[list]}
</ul>
<div class="page">{@data[ctrl]}</div>
{=list}
<li>
<h3><a href="{#^:?xmls=en/newsshow.html&newsid={*Contentid\}...