소스 검색

Update arclist.lib.php

tags/6.5.0
叙述、别离 5 달 전
부모
커밋
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";


불러오는 중...
취소
저장