private function _getMoveForwardButtonsForTableNavigation($html_sql_query, $pos_next, $is_innodb)
{
// display the Next button
$buttons_html = $this->_getTableNavigationButton('>', _pgettext('Next page', 'Next'), $pos_next, $html_sql_query, false);
// prepare some options for the End button
if ($is_innodb && $this->__get('unlim_num_rows') > $GLOBALS['cfg']['MaxExactCount']) {
$input_for_real_end = '<input id="real_end_input" type="hidden" ' . 'name="find_real_end" value="1" />';
// no backquote around this message
$onclick = '';
} else {
$input_for_real_end = $onclick = '';
}
$maxRows = $_SESSION['tmpval']['max_rows'];
$onsubmit = 'onsubmit="return ' . ($_SESSION['tmpval']['pos'] + $maxRows < $this->__get('unlim_num_rows') && $this->__get('num_rows') >= $maxRows ? 'true' : 'false') . '"';
// display the End button
$buttons_html .= $this->_getTableNavigationButton('>>', _pgettext('Last page', 'End'), @((ceil($this->__get('unlim_num_rows') / $_SESSION['tmpval']['max_rows']) - 1) * $maxRows), $html_sql_query, false, $onsubmit, $input_for_real_end, $onclick);
return $buttons_html;
}