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...
主站蜘蛛池模板:
景德镇市|
婺源县|
益阳市|
寿阳县|
北票市|
泊头市|
进贤县|
株洲县|
商丘市|
颍上县|
弋阳县|
霍林郭勒市|
阳春市|
民权县|
顺平县|
旬邑县|
平邑县|
兴山县|
杨浦区|
镇原县|
武清区|
镇赉县|
仁布县|
新昌县|
罗甸县|
正镶白旗|
临澧县|
光山县|
韶关市|
运城市|
浏阳市|
巴中市|
仪陇县|
阜宁县|
当涂县|
嵊州市|
安达市|
嫩江县|
丘北县|
宁陵县|
嘉义市|