mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Code cleanup and optimization
This commit is contained in:
2
top.php
2
top.php
@@ -122,7 +122,7 @@ if ($action == 'active')
|
||||
|
||||
$text .= "</table>\n</div>";
|
||||
|
||||
$ftotal = $sql->db_Count('forum_thread', '(*)', 'WHERE `thread_parent` = 0');
|
||||
$ftotal = $sql->count('forum_thread', '(*)', 'WHERE `thread_parent` = 0');
|
||||
$parms = "{$ftotal},{$view},{$from},".e_SELF.'?[FROM].active.forum.'.$view;
|
||||
$text .= "<div class='nextprev'>".$tp->parseTemplate("{NEXTPREV={$parms}}").'</div>';
|
||||
$ns->tablerender(LAN_7, $text, 'nfp');
|
||||
|
Reference in New Issue
Block a user