展会即将开始。过期展会的调用

来源: https://destoon.cc/ 日期: 2019-03-01 19:57:28 人气: - 评论: 0

调用代码如下:
即将开始时间:也就是调用距离今天的最早结束时间
  1. <!--{php $tags=tag("moduleid=8&length=29&condition=status=3 and fromtime>$DT_TIME&pagesize=1&datetype=1&order=totime desc&template=null")}-->

正在进行的的代码
  1. <!--{php $tags=tag("moduleid=8&condition=status=3 and fromtime<$DT_TIME and totime>$DT_TIME&pagesize=5&datetype=2&order=addtime desc&template=null")}-->

离最近已经结束的代码
  1. <!--{php $tags=tag("moduleid=8&length=40&condition=status=3 and totime<$DT_TIME&pagesize=5&datetype=3&order=addtime desc&template=null")}-->