File:web/Agent-brand-xq.html
Function Code:510
Method Code:11
語法錯(cuò)誤 (操作符丟失) 在查詢表達(dá)式 'Status>0 and CatalogID=' 中。
select count(*) from [xxcontent] where Status>0 and CatalogID=
數(shù)據(jù)庫執(zhí)行錯(cuò)誤
class/agent-brand.xmlc
.../a>
<a href="{*jingxiaos}" target="_blank">查詢經(jīng)銷商</a>
<a href="{*web}" target="_blank">品牌網(wǎng)站</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.coqhecup.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]}...