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);
}
//查詢(xún)內(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...
主站蜘蛛池模板:
东阳市|
嘉荫县|
商南县|
察哈|
张北县|
乌兰浩特市|
井陉县|
乌海市|
盐山县|
启东市|
肇州县|
潜江市|
梁山县|
开封县|
盘山县|
囊谦县|
石泉县|
商河县|
泽普县|
三台县|
西乌珠穆沁旗|
昌乐县|
盈江县|
深泽县|
灌云县|
荆门市|
祥云县|
正宁县|
大化|
保亭|
西盟|
道真|
嵩明县|
新竹县|
山阴县|
顺义区|
定结县|
慈溪市|
大连市|
北碚区|
奈曼旗|