|
@@ -52,11 +52,15 @@ if(!defined('entry')) define('entry',true);
|
52
|
52
|
if ($hasType) {
|
53
|
53
|
$postType = type2Number($_GET["type"]);
|
54
|
54
|
}
|
55
|
|
- $rs = $tumble->getPosts($total, $start);
|
|
55
|
+ $rs = $tumble->getPosts($total, $start);
|
|
56
|
+
|
|
57
|
+ $totalRegistros = $db->contarRegistros();
|
|
58
|
+ $theme->set("totalRegistros",$totalRegistros);
|
|
59
|
+
|
56
|
60
|
if ($db->contarRegistros()>0) {
|
57
|
61
|
$theme->set("start",$start);
|
58
|
62
|
$theme->set("total",$total);
|
59
|
|
-
|
|
63
|
+
|
60
|
64
|
while($post = mysql_fetch_assoc($rs)){
|
61
|
65
|
$post['desc'] = util::trimString($post["description"]);
|
62
|
66
|
$strEnd = ($conf->urlFriendly) ? "/" : "";
|