<?php } ?> <li class="<?php echo $page == $pagecount ? "disabled" : ""; ?> "> <?php if ($page >= $pagecount) { ?> <span>»</span> <?php } else { ?> <a href="<?php echo PageHelper::get_page_url($page + 1); ?> "><span>»</span></a> <?php } ?> </li> </ul> </nav> </td> </tr> </tfoot> <?php } ?> </table>