File:productview.html
Method:query.map(columns,*where,*order)
'=' 附近有語法錯誤。
select top 1 * FROM jxpgoods WHERE CAS=
數(shù)據(jù)庫執(zhí)行錯誤
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;">對不起,當(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...
主站蜘蛛池模板:
太湖县|
尼木县|
韶关市|
偏关县|
五华县|
馆陶县|
应用必备|
凤城市|
丹阳市|
哈尔滨市|
金乡县|
张家界市|
信宜市|
清镇市|
大邑县|
鹤山市|
汾西县|
平远县|
朝阳区|
微山县|
尼木县|
金山区|
周至县|
池州市|
沅陵县|
沐川县|
临沧市|
庆阳市|
石嘴山市|
阳春市|
济源市|
郧西县|
团风县|
盐亭县|
曲靖市|
睢宁县|
湟中县|
奉节县|
海城市|
济源市|
叶城县|