Code Duplication    Length = 4-6 lines in 2 locations

table-output.php 2 locations

@@ 464-469 (lines=6) @@
461
	}
462
	// Aircraft ident
463
	print '<td class="ident">'."\n";
464
	if ($spotter_item['ident'] != "")
465
	{
466
		print '<a href="'.$globalURL.'/ident/'.$spotter_item['ident'].'">'.$spotter_item['ident'].'</a>'."\n";
467
	} else {
468
		print 'N/A'."\n";
469
	}
470
	print '</td>'."\n";
471
	// Aircraft type
472
	if(strtolower($current_page) != "upcoming" && strtolower($current_page) != "acars-latest" && strtolower($current_page) != "acars-archive"){
@@ 650-653 (lines=4) @@
647
				if (isset($spotter_item['format_source']) && $spotter_item['format_source'] == 'whazzup') {
648
					print '<span class="nomobile"><a href="https://www.ivao.aero/Member.aspx?ID='.$spotter_item['pilot_id'].'">'.$spotter_item['pilot_name'].' ('.$spotter_item['pilot_id'].')</a></span>'."\n";
649
					print '<span class="mobile"><a href="https://www.ivao.aero/Member.aspx?ID='.$spotter_item['pilot_id'].'">'.$spotter_item['pilot_name'].' ('.$spotter_item['pilot_id'].')</a></span>'."\n";
650
				} else {
651
					print '<span class="nomobile">'.$spotter_item['pilot_name'].' ('.$spotter_item['pilot_id'].')</span>'."\n";
652
					print '<span class="mobile">'.$spotter_item['pilot_name'].' ('.$spotter_item['pilot_id'].')</span>'."\n";
653
				}
654
			}
655
			print '</td>'."\n";
656
		} else {