瀏覽代碼

Update arclist.lib.php

develop
叙述、别离 1 月之前
父節點
當前提交
707c13677e
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/system/taglib/arclist.lib.php

+ 1
- 0
src/system/taglib/arclist.lib.php 查看文件

@@ -234,6 +234,7 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele
$ordersql = '';
if ($orderby == 'hot' || $orderby == 'click') $ordersql = " ORDER BY arc.click $orderWay";
else if ($orderby == 'sortrank' || $orderby == 'pubdate') $ordersql = " ORDER BY arc.sortrank $orderWay";
else if ($orderby == 'senddate') $ordersql = " ORDER BY arc.senddate $orderWay";
else if ($orderby == 'id') $ordersql = " ORDER BY arc.id $orderWay";
else if ($orderby == 'near') $ordersql = " ORDER BY ABS(arc.id - ".$arcid.")";
else if ($orderby == 'lastpost') $ordersql = " ORDER BY arc.lastpost $orderWay";


Loading…
取消
儲存