Lines Matching refs:count
280 $count = 'SELECT COUNT(*) as count ';
313 $sqlcount = $count . $from . $where;
323 $count = $db->res2single($res);
327 … $this->htmlShowPaginatedResult($resid, $query, $itemdisplaycallback, $count, $query['limit']);
337 * @param int $count Number of total items
343 private function htmlShowPaginatedResult($resid, $query, $itemdisplaycallback, $count, $limit) { argument
352 …iv class="level2"><p><strong>' . $this->getLang('numhits') . ':</strong> ' . $count .'</p></div>');
355 if($count > $limit) {
356 $this->htmlPagination($query, $currentpage, $count, $limit);
368 if($count > $limit) {
369 $this->htmlPagination($query, $currentpage, $count, $limit);
491 $count = 'SELECT COUNT(pid) as count ';
506 $sqlcount = $count . $from . $where;
516 $count = $this->sqlitehelper->getDB()->res2single($res);
522 $this->htmlShowPaginatedResult($resid, $query, $itemdisplaycallback, $count, $limit);
578 $count = $this->commenthelper->get_count(null, true);
579 if($count > 0) {
585 …<a href="' . wl($ID, $params) . '" title="' . $this->getLang('comments') . '">' . $count . '</a>');
587 ptln($count);
595 $count = count($tags);
596 for($i = 0; $i < $count; $i++) {
603 if($i < ($count - 1)) $link .= ', ';