2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * displays the advisor feature
9 require_once 'libraries/common.inc.php';
10 require_once 'libraries/Advisor.class.php';
11 require_once 'libraries/ServerStatusData.class.php';
12 require_once 'libraries/server_status_advisor.lib.php';
15 $server_master_status = false;
16 $server_slave_status = false;
18 include_once 'libraries/replication.inc.php';
19 include_once 'libraries/replication_gui.lib.php';
22 $ServerStatusData = new PMA_ServerStatusData();
24 $response = PMA_Response
::getInstance();
25 $scripts = $response->getHeader()->getScripts();
26 $scripts->addFile('server_status_advisor.js');
31 $response->addHTML('<div>');
32 $response->addHTML($ServerStatusData->getMenuHtml());
33 $response->addHTML(PMA_getHtmlForAdvisor());
34 $response->addHTML('</div>');