Pārlūkot izejas kodu

Update arclist.lib.php

develop
叙述、别离 pirms 1 mēnesi
vecāks
revīzija
707c13677e
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      src/system/taglib/arclist.lib.php

+ 1
- 0
src/system/taglib/arclist.lib.php Parādīt failu

@@ -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";


Notiek ielāde…
Atcelt
Saglabāt