class/PublicWallUpdates.php 1 location
|
@@ 114-120 (lines=7) @@
|
| 111 |
|
. ") AND M.priv = '0'"; |
| 112 |
|
} |
| 113 |
|
|
| 114 |
|
if ($last > 0) { |
| 115 |
|
$query .= ' order by created DESC LIMIT ' . $hm; |
| 116 |
|
} elseif ('a' == $last) { |
| 117 |
|
$query .= ' order by M.msg_id DESC LIMIT ' . $hm; |
| 118 |
|
} else { |
| 119 |
|
$query .= ' order by created DESC LIMIT ' . $hm; |
| 120 |
|
} |
| 121 |
|
|
| 122 |
|
$result = $xoopsDB->queryF($query); |
| 123 |
|
$count = $xoopsDB->getRowsNum($result); |
class/WallUpdates.php 1 location
|
@@ 95-101 (lines=7) @@
|
| 92 |
|
} |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
if ($last > 0) { |
| 96 |
|
$query .= ' order by created DESC LIMIT ' . $hm; |
| 97 |
|
} elseif ('a' === $last) { |
| 98 |
|
$query .= ' order by M.msg_id DESC LIMIT ' . $hm; |
| 99 |
|
} else { |
| 100 |
|
$query .= ' order by created DESC LIMIT ' . $hm; |
| 101 |
|
} |
| 102 |
|
$result = $xoopsDB->queryF($query); |
| 103 |
|
$count = $xoopsDB->getRowsNum($result); |
| 104 |
|
if (0 == $count) { |