Code Duplication    Length = 15-15 lines in 2 locations

SSI.php 2 locations

@@ 452-466 (lines=15) @@
449
450
	echo '
451
		<table style="border: none" class="ssi_table">';
452
	foreach ($posts as $post)
453
		echo '
454
			<tr>
455
				<td style="text-align: right; vertical-align: top; white-space: nowrap">
456
					[', $post['board']['link'], ']
457
				</td>
458
				<td style="vertical-align: top">
459
					<a href="', $post['href'], '">', $post['subject'], '</a>
460
					', $txt['by'], ' ', $post['poster']['link'], '
461
					', $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>' : '', '
462
				</td>
463
				<td style="text-align: right; white-space: nowrap">
464
					', $post['time'], '
465
				</td>
466
			</tr>';
467
	echo '
468
		</table>';
469
}
@@ 617-631 (lines=15) @@
614
615
	echo '
616
		<table style="border: none" class="ssi_table">';
617
	foreach ($posts as $post)
618
		echo '
619
			<tr>
620
				<td style="text-align: right; vertical-align: top; white-space: nowrap">
621
					[', $post['board']['link'], ']
622
				</td>
623
				<td style="vertical-align: top">
624
					<a href="', $post['href'], '">', $post['subject'], '</a>
625
					', $txt['by'], ' ', $post['poster']['link'], '
626
					', !$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>', '
627
				</td>
628
				<td style="text-align: right; white-space: nowrap">
629
					', $post['time'], '
630
				</td>
631
			</tr>';
632
	echo '
633
		</table>';
634
}