Code Duplication    Length = 13-13 lines in 2 locations

admin.php 1 location

@@ 110-122 (lines=13) @@
107
			<nav class="navbar navbar-full navbar-dark navbar-fixed-top">
108
				<div class="container">					
109
						<?php
110
							if(isset($_GET['postID']) && isset($_GET['getPostDetails']))
111
							{
112
								echo '<a id="comment-back" onclick="goBack()" href="index.php?view=' . $view . '#postId-' . htmlspecialchars($_GET['postID']) . '">';
113
								echo '<i class="fa fa-angle-left fa-3x"></i>';
114
								echo '</a>';
115
								echo '<h1>';
116
								echo '<a href="index.php?getPostDetails=' . htmlspecialchars($_GET['getPostDetails']) . '&postID=' . htmlspecialchars($_GET['postID']) . '" class="spinnable">';
117
							}
118
							else
119
							{
120
								echo '<h1>';	
121
								echo '<a href="./" class="spinnable">';
122
							}
123
						?>
124
						JodelBlue <i class="fa fa-refresh fa-1x"></i></a>
125
					</h1>					

index.php 1 location

@@ 237-249 (lines=13) @@
234
			<nav class="navbar navbar-full navbar-dark navbar-fixed-top">
235
				<div class="container">					
236
						<?php
237
							if(isset($_GET['postID']) && isset($_GET['getPostDetails']))
238
							{
239
								echo '<a id="comment-back" href="index.php?view=' . $view . '#postId-' . htmlspecialchars($_GET['postID']) . '">';
240
								echo '<i class="fa fa-angle-left fa-3x"></i>';
241
								echo '</a>';
242
								echo '<h1>';
243
								echo '<a href="index.php?getPostDetails=' . htmlspecialchars($_GET['getPostDetails']) . '&postID=' . htmlspecialchars($_GET['postID']) . '" class="spinnable">';
244
							}
245
							else
246
							{
247
								echo '<h1>';	
248
								echo '<a href="./" class="spinnable">';
249
							}
250
						?>
251
						JodelBlue <i class="fa fa-refresh fa-1x"></i></a>
252
					</h1>