' . "\n" . PMA_Util::getImage('s_tbl.png') . ' ' . __('Binary log') . "\n" . '' . "\n"; /** * Display log selector. */ if (count($binary_logs) > 1) { echo '
'; } echo PMA_Util::getMessage(PMA_Message::success()); /** * Displays the page */ echo '';
// we do not now how much rows are in the binlog
// so we can just force 'NEXT' button
if ($pos > 0) {
$this_url_params = $url_params;
if ($pos > $GLOBALS['cfg']['MaxRows']) {
$this_url_params['pos'] = $pos - $GLOBALS['cfg']['MaxRows'];
}
echo '';
} else {
echo '>' . _pgettext('Previous page', 'Previous');
} // end if... else...
echo ' < - ';
}
$this_url_params = $url_params;
if ($pos > 0) {
$this_url_params['pos'] = $pos;
}
if ($dontlimitchars) {
unset($this_url_params['dontlimitchars']);
$tempTitle = __('Truncate Shown Queries');
$tempImgMode = 'partial';
} else {
$this_url_params['dontlimitchars'] = 1;
$tempTitle = __('Show Full Queries');
$tempImgMode = 'full';
}
echo ''
. '![]() | '
. '|||||
' . __('Log name') . ' | ' . '' . __('Position') . ' | ' . '' . __('Event type') . ' | ' . '' . __('Server ID') . ' | ' . '' . __('Original position') . ' | ' . '' . __('Information') . ' | ' . '
---|---|---|---|---|---|
' . $value['Log_name'] . ' | ' . '' . $value['Pos'] . ' | ' . '' . $value['Event_type'] . ' | ' . '' . $value['Server_id'] . ' | ' . '' . (isset($value['Orig_log_pos']) ? $value['Orig_log_pos'] : $value['End_log_pos']) . ' | ' . '' . htmlspecialchars($value['Info']) . ' | ' . '