File:web/Agent-brand-xq.html
Function Code:510
Method Code:11
语法错误 (操作符丢失) 在查询表达式 'Status>0 and CatalogID=' 中。
select count(*) from [xxcontent] where Status>0 and CatalogID=
数据库执行错误
class/agent-brand.xmlc
.../a>
<a href="{*jingxiaos}" target="_blank">查询经销商</a>
<a href="{*web}" target="_blank">品牌网站</a>
<p style="padding-top:15px;"><a href="{*Downlaod}" target="_blank">软件下载</a></p>
</div>
</div>
</div>
</div>
</div>

{=option}
{=selected}
{=ctrl}
%};
@format1={%##:<li><a href="http://www.avstyle.cn/{*original}" target="_blank"><img src="{*original}"/></a></li>%};
@format2={%##:<li><a><img src="{*small}" /></a></li>%};
@query=$query(content,news);
@CatalogID=$get.sql(id,$empty);
@
data=@query.pager(@format,*,Status>0 and CatalogID={@CatalogID},{%Grade desc,ID desc%},1024,$get.number(page,1),6){
@imgs=@query[imgs];
$if(@imgs<>$null){
@imgs=$dataTable.loadJson(@imgs);
@bigs=@imgs.format(@format1);
@small=@imgs.format(@format2);
}
$else{
@bigs=$null;
@small=$null;
}


}
$return(@format.toString(body));
}



$sub catalog(){
@format={%##:{=body}
<ul class="cat_list">
{@data[list]}
</ul>

<div class="ctaff">
<div class="data">
{@data[ctrl]}...