' . "\n"
. ' 1) {
echo ' rowspan="' . count($current_privileges) . '"';
}
echo ' bgcolor="' . ($useBgcolorOne ? $GLOBALS['cfg']['BgcolorOne'] : $GLOBALS['cfg']['BgcolorTwo']) . '">' . "\n"
. ' ' . (empty($current_user) ? '' . $GLOBALS['strAny'] . '' : htmlspecialchars($current_user)) . "\n"
. ' | ' . "\n"
. ' 1) {
echo ' rowspan="' . count($current_privileges) . '"';
}
echo ' bgcolor="' . ($useBgcolorOne ? $GLOBALS['cfg']['BgcolorOne'] : $GLOBALS['cfg']['BgcolorTwo']) . '">' . "\n"
. ' ' . htmlspecialchars($current_host) . "\n"
. ' | ' . "\n";
foreach ($current_privileges as $current) {
echo ' ' . "\n"
. ' ';
if (!isset($current['Db']) || $current['Db'] == '*') {
echo $GLOBALS['strGlobal'];
} else if ($current['Db'] == $checkprivs) {
echo $GLOBALS['strDbSpecific'];
} else {
echo $GLOBALS['strWildcard'], ': ' . htmlspecialchars($current['Db']) . '';
}
echo "\n"
. ' | ' . "\n"
. ' ' . "\n"
. ' ' . "\n"
. ' ' . join(',' . "\n" . ' ', PMA_extractPrivInfo($current, TRUE)) . "\n"
. ' ' . "\n"
. ' | ' . "\n"
. ' ' . "\n"
. ' ' . ($current['Grant_priv'] == 'Y' ? $GLOBALS['strYes'] : $GLOBALS['strNo']) . "\n"
. ' | ' . "\n"
. ' ' . "\n"
. ' ' . "\n"
. ' ' . $GLOBALS['strEdit'] . "\n"
. ' ' . "\n"
. ' | ' . "\n"
. '
' . "\n";
}
if (empty($row) && empty($row1) && empty($row2)) {
break;
}
$useBgcolorOne = !$useBgcolorOne;
}
} else {
echo '