#set($prev = $page - 1) #set($next = $page + 1)
#if ($prev > 0) << previous page #end #if (($next > 0) && (!$nomore)) next page >> #end