File:productview.html
Method:query.map(columns,*where,*order)
'=' 附近有語法錯(cuò)誤。
select top 1 * FROM jxpgoods WHERE CAS=
數(shù)據(jù)庫執(zhí)行錯(cuò)誤
xmls/product.xmls
...</a>
{*list}
<a href="{*next}" class="bort">下一頁</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)前沒有數(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...
主站蜘蛛池模板:
聂荣县|
永和县|
肥东县|
定陶县|
大埔区|
梨树县|
松阳县|
鸡东县|
肇源县|
酒泉市|
略阳县|
榆中县|
额敏县|
开阳县|
黄梅县|
逊克县|
保亭|
苍山县|
英超|
平原县|
梁平县|
贺兰县|
永泰县|
富宁县|
盐山县|
鹰潭市|
资阳市|
沙湾县|
平利县|
凤山市|
资讯
|
延安市|
漳州市|
凭祥市|
石阡县|
宁乡县|
巩留县|
潮安县|
大名县|
华安县|
凭祥市|