$numEntries += <$MTCategoryCount$> + 2; #count each title as 2 rows, to make things even out more in the end. $numEntries += 10; # the 10 newest link entries $limit = $numEntries/2; #how many entries go in one row $newRow = 0; #has the second row been shown yet $current = 0; #how many entries have been shown so far ?>


10 Newest Links
<$MTEntryBody convert_breaks="0"$> [<$MTEntryCommentCount$>]

$limit && $newRow == 0) { $newRow = 1; print '
'; } ?> $limit && $newRow == 0) { $newRow = 1; print ''; } $current += <$MTCategoryCount$> + 2; ?>
<$MTCategoryLabel$>
<$MTEntryBody convert_breaks="0"$> [<$MTEntryCommentCount$>]