File:en/class.html
Function Code:510
Method Code:16
语法错误 (操作符丢失) 在查询表达式 'CatalogID= and Lang='en'' 中。 select top 1 CatalogName FROM xxcatalog WHERE CatalogID= and Lang='en' ORDER BY Grade desc,CatalogID
数据库执行错误
class/ennews.xmlc
...@format,*,ParentID={@cid} and Lang='en'){
@Time=;
$if(@catalog[Time]<>$empty){
@Time=@catalog[Time].to(datetime).toString(yyyy.M.dd);
}
@list=@content.format(@format2,*,CatalogID={@catalog[CatalogID\]} and Lang='en');
}
$return(@list);
}


$function catalogLeft3(cid2,format){
@query=$query(catalog,news);
@content=$query(content,news);
@cid=$get.number(cid,0);
$if(@cid==0){
@cid=@query.dataScalar(CatalogID,ParentID={@cid2} and Lang='en',Grade desc\,CatalogID);
}
$layout[cName]=@
query.dataScalar(CatalogName,CatalogID={@cid} and Lang='en',Grade desc\,CatalogID);
@list=@content.format(@format,*,CatalogID={@cid} and Lang='en');
$return(@list);
}





$function homeList(){
@format={%##:{=body}
{@data[list]}
<div class="integral_dw">
{@data[ctrl]}
</div>
{=list}

<div class="educationone">
<div class="educationlf">
<a href="{/en/homeView.html&id=*ID}">
<img src="{*Pic}" width="170" height="112"/>
</a>
</div>
<div class="educatio...