File:productview.html
Method:query.map(columns,*where,*order)
'=' 附近有語(yǔ)法錯(cuò)誤。
select top 1 * FROM jxpgoods WHERE CAS=
數(shù)據(jù)庫(kù)執(zhí)行錯(cuò)誤
xmls/product.xmls
...</a>
{*list}
<a href="{*next}" class="bort">下一頁(yè)</a>
#],10,@count,$http.get(page,1),page,3);
@content=@goodslist.format(@format);
$if(@count==0){
@content=['<div style="color:#FF0000;font-size:12px;height:45px;line-height:45px;text-align:center;">對(duì)不起,當(dāng)前沒(méi)有數(shù)據(jù)!</div>'];
@Pager=$empty;
}
$return(@content);
}
//查詢內(nèi)容
$sub GoodsDetails(){
@querygoods=$query(goods,goods);
@queryfile=$query(document,download);
@CAS=$http.get(kw);
@FilePath=;
@querygoods[CAS]=@CAS;
@rowgoods=@querygoods.map(*,['CAS={*CAS}']);
@countmn=@querygoods.scalar(['count(*)'],['CAS={*CAS}']);
@listitemma=ma;
@Modified=$empty;
$if(@countmn==0){
@rowgoods=$map();
$write(['<script>history.back();</script>']);
$end;
}
$else{
@queryfile[Goodshao]=@rowgoods[Goodshao];
@FilePath=@queryfile.scalar(['FilePath'],['Goodshao={*Goodshao}']);
$if(@FilePath==$null){
@FilePath=$empty;
}
@Modified=@rowgoods[Modified];
@Modified=$datetime.format(@Modified,yyyy-MM-dd);
@Click=@rowgoo...
主站蜘蛛池模板:
军事|
昌吉市|
句容市|
长武县|
江华|
辽阳市|
伊春市|
白银市|
泾源县|
湟中县|
区。|
南雄市|
耒阳市|
防城港市|
剑河县|
沂水县|
和田市|
正阳县|
阿拉善右旗|
唐海县|
荆州市|
得荣县|
土默特左旗|
凤庆县|
南宁市|
山丹县|
孝感市|
英山县|
慈利县|
邢台县|
新巴尔虎右旗|
什邡市|
郑州市|
张家港市|
萝北县|
长武县|
蒙城县|
关岭|
汕尾市|
中西区|
鹤壁市|