Explorar el Código

Update arclist.lib.php

develop
叙述、别离 hace 1 mes
padre
commit
707c13677e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/system/taglib/arclist.lib.php

+ 1
- 0
src/system/taglib/arclist.lib.php Ver fichero

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


Cargando…
Cancelar
Guardar