diff --git a/htdocs/sql/server_binlog.php b/htdocs/sql/server_binlog.php new file mode 100755 --- /dev/null +++ b/htdocs/sql/server_binlog.php @@ -0,0 +1,253 @@ +' . "\n" + . ($GLOBALS['cfg']['MainPageIconic'] ? '' : '') + . ' ' . $GLOBALS['strBinaryLog'] . "\n" + . '' . "\n"; + +/** + * Display log selector. + */ +if (count($binary_logs) > 1) { + echo '
'; + echo PMA_generate_common_hidden_inputs($url_params); + echo '
'; + echo $GLOBALS['strSelectBinaryLog']; + echo ' '; + echo count($binary_logs) . ' ' . $GLOBALS['strFiles'] . ', '; + if ($full_size > 0) { + echo implode(' ', PMA_formatByteDown($full_size)); + } + echo '
'; + echo '
'; + echo ''; + echo '
'; + echo '
'; +} + +PMA_showMessage($GLOBALS['strSuccess']); + +/** + * Displays the page + */ +?> + + + + + + + + + + + + + + + + $GLOBALS['cfg']['LimitChars']) { + $value['Info'] = PMA_substr($value['Info'], 0, $GLOBALS['cfg']['LimitChars']) . '...'; + } + ?> + + + + + + + + + + +
+ 0) { + $this_url_params = $url_params; + if ($pos > $GLOBALS['cfg']['MaxRows']) { + $this_url_params['pos'] = $pos - $GLOBALS['cfg']['MaxRows']; + } + + echo ''; + } else { + echo '>' . $GLOBALS['strPrevious']; + } // end if... else... + echo ' < - '; +} + +$this_url_params = $url_params; +if ($pos > 0) { + $this_url_params['pos'] = $pos; +} +if ($dontlimitchars) { + unset($this_url_params['dontlimitchars']); + ?> + + <?php echo $GLOBALS['strTruncateQueries']; ?> + + + <?php echo $GLOBALS['strShowFullQueries']; ?> + = $GLOBALS['cfg']['MaxRows']) { + $this_url_params = $url_params; + $this_url_params['pos'] = $pos + $GLOBALS['cfg']['MaxRows']; + echo ' - '; + } else { + echo '>' . $GLOBALS['strNext']; + } // end if... else... + echo ' > '; +} +?> +
            
+