' . "\n" . ($cfg['MainPageIconic'] ? '' : '' ) . ' ' . $strStorageEngines . "\n" . '' . "\n"; /** * Displays the table header */ echo '' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n"; /** * Listing the storage engines */ $useBgcolorOne = TRUE; $common_url = './server_engines.php?' . PMA_generate_common_url() . '&engine='; foreach ($mysql_storage_engines as $engine => $details) { echo ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n"; $useBgcolorOne = !$useBgcolorOne; } unset($useBgcolorOne, $common_url, $engine, $details); echo ' ' . "\n" . '
' . "\n" . ' ' . $strStorageEngine . "\n" . ' ' . "\n" . ' ' . $strDescription . "\n" . '
' . "\n" . ' ' . "\n" . ' ' . htmlspecialchars($details['Engine']) . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . htmlspecialchars($details['Comment']) . "\n" . '
' . "\n"; } else { /** * Displays details about a given Storage Engine */ echo '

' . "\n" . ($cfg['MainPageIconic'] ? '' : '' ) . ' ' . htmlspecialchars($mysql_storage_engines[$engine]['Engine']) . "\n" . '

' . "\n\n" . '

' . "\n" . ' ' . "\n" . ' ' . htmlspecialchars($mysql_storage_engines[$engine]['Comment']) . "\n" . ' ' . "\n" . '

' . "\n"; switch ($mysql_storage_engines[$engine]['Support']) { case 'DEFAULT': echo '

' . ' ' . sprintf($strDefaultEngine, htmlspecialchars($mysql_storage_engines[$engine]['Engine'])) . "\n" . '

' . "\n"; break; case 'YES': echo '

' . "\n" . ' ' . sprintf($strEngineAvailable, htmlspecialchars($mysql_storage_engines[$engine]['Engine'])) . "\n" . '

' . "\n"; break; case 'NO': echo '

' . "\n" . ' ' . sprintf($strEngineUnsupported, htmlspecialchars($mysql_storage_engines[$engine]['Engine'])) . "\n" . '

' . "\n"; break; case 'DISABLED': echo '

' . "\n" . ' ' . sprintf($strEngineDisabled, htmlspecialchars($mysql_storage_engines[$engine]['Engine'])) . "\n" . '

' . "\n"; break; } switch ($engine) { case 'innodb': case 'innobase': echo '

' . "\n" . ' ' . $strInnodbStat . "\n" . '

' . "\n\n"; $res = PMA_DBI_query('SHOW INNODB STATUS;'); $row = PMA_DBI_fetch_row($res); echo '
' . "\n"
	        . htmlspecialchars($row[0]) . "\n"
	        . '
' . "\n"; PMA_DBI_free_result($res); break; default: echo '

' . "\n" . ' ' . $strNoDetailsForEngine . "\n" . '

' . "\n"; break; } } /** * Sends the footer */ require_once('./footer.inc.php'); ?>