封神演义爱藏版
File:news-03.html
Method:query.map(columns,*where,*order)
關鍵字 'ORDER' 附近有語法錯誤。 ORDER BY ContentId desc
數據庫執行錯誤
xmls/news.xmls
...ent[Modified];
@Modified=$datetime.format(@Modified,yyyy-MM-dd);
@[email protected][Click];
@querycontent[ContentId][email protected];
@querycontent[Click]=(@Click+1);
@querycontent.update();
}
$else{
@rowcontent=$map();
@rowcontent[Title]=無數據;
}
$return($empty);
}

//新聞內容上一篇下一篇
$sub prevnextG(){
@query=$query(content,content);
@query[AreaId]=$shell[AreaId];
@query[ContentId]=$http.get(id);
@[email protected](CatalogId,ContentId={*ContentId});
@query[CatalogId][email protected];
@
[email protected](*,['CatalogId={*CatalogId} and AreaId={*AreaId} and ContentId<{*ContentId}'],['ContentId desc']);
@[email protected](*,['CatalogId={*CatalogId} and AreaId={*AreaId} and ContentId>{*ContentId}'],['ContentId asc']);
//上一條
$if(@prevrow<>$empty&&@nextrow<>$null){
@prevhref=$shell.path(news-02.html,["id={@nextrow[ContentId]}"]);
@prevtitle=["{@nextrow[Title]}"];
}
$else{
@prevhref=["javascript:void(0)"];
@prevtitle=["無上一篇"];
}
//下一條
$if(@nextrow<>$empty&&@prevrow<>$nul...
封神演义爱藏版 59970755628934108589217765299217189621480182649699361159660793907747888609975684972445194561758377 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();