{dede:include filename="top.htm"/}

热门榜单

{dede:include filename="html/toplist.htm"/}

# {dede:field.title/}

{dede:sql sql="SELECT * FROM dede_archives order by lasttime desc limit 90"}
- [field:global runphp='yes' name=autoindex][/field:global]
  [field:title/]
  [field:lasttime runphp='yes'] $today = Floor(time()/(3600 * 24)); $senday= Floor(@me/(3600 * 24)); $updays = $today-$senday; $s = time()-@me; $m = Floor($s / 60); $h = Floor($m / 60); if($updays>0) { @me = $updays."天前"; } else if($updays==0) { if($m>60) { @me = $h."小时前"; } else if($s>60) { @me = $m."分钟前"; } else { @me = $s."秒前"; } } [/field:lasttime]
{/dede:sql}

{dede:include filename="bot.htm"/}