Code Duplication    Length = 8-10 lines in 2 locations

get-posts-ajax.php 1 location

@@ 93-100 (lines=8) @@
90
		?>
91
		<div class="nextPosts">
92
		<?php
93
		for($i = 0; $i<$loops; $i++)
94
		{
95
			if(isset($posts[$i]))
96
			{
97
				$lastPostId = $posts[$i]['post_id'];
98
				jodelToHtml($posts[$i], $view);	
99
			}
100
		}
101
		?>
102
		</div>
103
		<div class="lastPostId">

index.php 1 location

@@ 334-343 (lines=10) @@
331
							}
332
							
333
334
							for($i = 0; $i<$loops; $i++)
335
							{
336
							
337
							if(isset($posts[$i]))
338
							{
339
								$lastPostId = $posts[$i]['post_id'];
340
341
								jodelToHtml($posts[$i], $view, $isDetailedView);
342
							}
343
						} ?>
344
345
					</content>
346