File:web/school/index.html
Function Code:510
Method Code:15
'=' 附近有语法错误。
select top 1 * FROM schoolscontent WHERE ContentID=
数据库执行错误
class/schools.xmlc
...calar(CatalogName,{%CatalogID={@rowsubjectcontent[CatalogID]}%});
@description={%#&:{@rowsubjectcontent[description]} {@rowsubjectcontent[description2]}%};
$if(@rowsubjectcontent[description]==$empty){
@description={%#&:{@rowschoolcontent[Title]}{@rowsubjectcontent[Title]}最新开班,报名可享受网上优惠价{@rowschoolcontent[SimpleCall]}主要项目:{@rowsubjectcontent[keywords]}%};
}
$else{
@description=@rowsubjectcontent[description];
}
$return($empty);
}
$sub SchoolInfo(){
@query=$query(content,schools);
@rowschoolcontent=@query.dataMap(*,{%ContentID={$get.sql(schid)}%});
@description={%#&:{@rowschoolcontent[MetaDescription0]} {@rowschoolcontent[MetaDescription]}%};
$if(@rowschoolcontent[MetaDescription0]==$empty){
$if(@rowschoolcontent[MetaDescription]==$empty){
@description=@rowschoolcontent[Title];
}
}
$return($empty);
}
$sub newscontent(){
@query=$query(content,cnnews);
@rownewscontent=@query.dataMap(*,{%ContentID={$get.sql(id)}%});
@description={%#&:{@rownewscontent[description...