Code Duplication    Length = 15-15 lines in 2 locations

SSI.php 2 locations

@@ 455-469 (lines=15) @@
452
453
	echo '
454
		<table style="border: none" class="ssi_table">';
455
	foreach ($posts as $post)
456
		echo '
457
			<tr>
458
				<td style="text-align: right; vertical-align: top; white-space: nowrap">
459
					[', $post['board']['link'], ']
460
				</td>
461
				<td style="vertical-align: top">
462
					<a href="', $post['href'], '">', $post['subject'], '</a>
463
					', $txt['by'], ' ', $post['poster']['link'], '
464
					', $post['is_new'] ? '<a href="' . $scripturl . '?topic=' . $post['topic'] . '.msg' . $post['new_from'] . ';topicseen#new" rel="nofollow"><span class="new_posts">' . $txt['new'] . '</span></a>' : '', '
465
				</td>
466
				<td style="text-align: right; white-space: nowrap">
467
					', $post['time'], '
468
				</td>
469
			</tr>';
470
	echo '
471
		</table>';
472
}
@@ 620-634 (lines=15) @@
617
618
	echo '
619
		<table style="border: none" class="ssi_table">';
620
	foreach ($posts as $post)
621
		echo '
622
			<tr>
623
				<td style="text-align: right; vertical-align: top; white-space: nowrap">
624
					[', $post['board']['link'], ']
625
				</td>
626
				<td style="vertical-align: top">
627
					<a href="', $post['href'], '">', $post['subject'], '</a>
628
					', $txt['by'], ' ', $post['poster']['link'], '
629
					', !$post['is_new'] ? '' : '<a href="' . $scripturl . '?topic=' . $post['topic'] . '.msg' . $post['new_from'] . ';topicseen#new" rel="nofollow"><span class="new_posts">' . $txt['new'] . '</span></a>', '
630
				</td>
631
				<td style="text-align: right; white-space: nowrap">
632
					', $post['time'], '
633
				</td>
634
			</tr>';
635
	echo '
636
		</table>';
637
}