File:productview.html
Method:query.map(columns,*where,*order)
'=' 附近有語法錯誤。
select top 1 * FROM jxpgoods WHERE CAS=
數據庫執行錯誤
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;">對不起,當前沒有數據!</div>'];
@Pager=$empty;
}
$return(@content);
}
//查詢內容
$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...
主站蜘蛛池模板:
肥城市|
高雄市|
淳安县|
额敏县|
邵阳市|
南乐县|
甘肃省|
玉环县|
遵化市|
安宁市|
卓资县|
高平市|
凤阳县|
美姑县|
镇原县|
格尔木市|
丰宁|
吕梁市|
诸城市|
东兰县|
开封县|
湘阴县|
三门县|
泊头市|
游戏|
麟游县|
福安市|
连山|
连城县|
伽师县|
桃江县|
济阳县|
沽源县|
墨竹工卡县|
咸宁市|
房山区|
侯马市|
石城县|
宜良县|
彭州市|
茌平县|