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;">對不起,當前沒有數(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...
主站蜘蛛池模板:
扶余县|
双峰县|
扶沟县|
新竹县|
南涧|
宁国市|
邮箱|
吉首市|
石首市|
杭锦后旗|
泽库县|
微博|
济阳县|
清河县|
大同县|
安塞县|
烟台市|
青龙|
平利县|
古交市|
新沂市|
永州市|
唐山市|
乌拉特后旗|
高邮市|
嘉荫县|
太原市|
会宁县|
阿拉善盟|
华坪县|
来凤县|
沁水县|
怀化市|
永德县|
乌鲁木齐县|
双桥区|
安宁市|
商南县|
荣昌县|
永安市|
沙田区|