Code Duplication    Length = 4-4 lines in 2 locations

includes/functions.php 2 locations

@@ 215-218 (lines=4) @@
212
213
	if ($add_prevnext_text)
214
	{
215
		if ($on_page != 1)
216
		{
217
			$page_string = '<a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($on_page - 2) * $per_page) . $anker . '" role="button">' . $user->lang['PREVIOUS'] . '</a>&nbsp;&nbsp;' . $page_string;
218
		}
219
220
		if ($on_page != $total_pages)
221
		{
@@ 220-223 (lines=4) @@
217
			$page_string = '<a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($on_page - 2) * $per_page) . $anker . '" role="button">' . $user->lang['PREVIOUS'] . '</a>&nbsp;&nbsp;' . $page_string;
218
		}
219
220
		if ($on_page != $total_pages)
221
		{
222
			$page_string .= '&nbsp;&nbsp;<a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . ($on_page * $per_page) . $anker . '" role="button">' . $user->lang['NEXT'] . '</a>';
223
		}
224
	}
225
226
	$template->assign_vars(array(