mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Change for with count.
This commit is contained in:
parent
32ca1d66fc
commit
56540c893a
16 changed files with 73 additions and 73 deletions
|
@ -970,7 +970,7 @@ if (!isset($_REQUEST['dosearch'])) {
|
|||
$banned[$row['user_id']] = true;
|
||||
}
|
||||
|
||||
for ($i = 0; $i < count($rowset); $i++) {
|
||||
for ($i = 0, $iMax = count($rowset); $i < $iMax; $i++) {
|
||||
$row_class = !($i % 2) ? 'row1' : 'row2';
|
||||
|
||||
$template->assign_block_vars('userrow', array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue