News | 2006
<< "; $back = ">>"; }else if ($year+1 > 2017) { $next = "<<"; $back = $year-1; $back = " >> "; /*}else if ($year == 2008) { $next = $year+3; $back = $year-1; $next = " << "; $back = " >> "; }else if ($year == 2011) { $next = $year+1; $back = $year-3; $next = " << "; $back = " >> ";*/ }else { $next = $year+1; $back = $year-1; $next = " << "; $back = " >> "; } echo $next; for ($y= 2017; $y > 2005 ; $y--) { if ($y != 2016 && $y != 2015){ if ($y == $year) echo $link = " " . $y . " "; else echo $link = " " . $y . " "; } } echo $back; ?>
<< "; $back = ">>"; }else if ($year+1 > 2017) { $next = "<<"; $back = $year-1; $back = " >> "; /*}else if ($year == 2008) { $next = $year+3; $back = $year-1; $next = " << "; $back = " >> "; }else if ($year == 2011) { $next = $year+1; $back = $year-3; $next = " << "; $back = " >> ";*/ }else { $next = $year+1; $back = $year-1; $next = " << "; $back = " >> "; } echo $next; for ($y= 2017; $y > 2005 ; $y--) { if ($y != 2016 && $y != 2015){ if ($y == $year) echo $link = " " . $y . " "; else echo $link = " " . $y . " "; } } echo $back; ?>