File:customer-center-ques-details.html
Method:query.map(columns,*where,*order)
关键字 'and' 附近有语法错误。
select top 1 Title,CatalogId FROM cocontent WHERE Status>0 and ContentId= and AreaId=1
数据库执行错误
xmls/news.xmls
...不起,当前没有数据!</div>
'];
@Pager=$empty;
}
$return($empty);
}
//导航名称
$sub Navigation(){
@querylog=$query(catalog,content);
@querylog[CatalogId]=$http.get(cid,16,N);
@AreaId=$shell[AreaId];
@querylog[AreaId]=@AreaId;
@Name=@querylog.scalar(['CatalogName'],['Status>0 and CatalogId={*CatalogId} and AreaId=1']);
$return($empty);
}
//详情Title
$sub NavigationName(){
@query=$query(content,content);
@query[ContentId]=$http.get(id,$null,N);
@AreaId=$shell[AreaId];
@query[AreaId]=@AreaId;
@result=@query.map(['Title,CatalogId'],['Status>0 and ContentId={*ContentId} and AreaId=1']);
@querylog=$query(catalog,content);
@querylog[CatalogId]=@result[CatalogId];
@Par=@querylog.map(['CatalogName,ParentId'],['Status>0 and CatalogId={*CatalogId} and AreaId=1']);
@querylog[CatalogId]=@Par[ParentId];
@CatalogName=@querylog.scalar(['CatalogName'],['Status>0 and CatalogId={*CatalogId} and AreaId=1']);
$return($empty);
}
//投资者园地地
$sub InvestorGarden(){
@format=[#
<p class="clearfix">
...