$content .= "</td></tr><tr><td align=\"center\">"; $content .= _INSTALL_L13 . "<br /><br />\n"; $content .= "</td></tr></table>\n"; $b_next = array('checkDB', _INSTALL_L104); $b_back = array('start', _INSTALL_L103); $b_reload = true; $title = _INSTALL_L102; include 'install_tpl.php'; break; case "checkDB": include_once "../mainfile.php"; include_once './class/dbmanager.php'; $dbm = new db_manager(); $title = _INSTALL_L104; $content = "<table align='center'><tr><td align='left'>\n"; if (!$dbm->isConnectable()) { $content .= _NGIMG . _INSTALL_L106 . "<br />"; $content .= "<div style='text-align:center'><br />" . _INSTALL_L107; $content .= "</div></td></tr></table>\n"; $b_back = array('start', _INSTALL_L103); $b_reload = true; } else { $content .= _OKIMG . _INSTALL_L108 . "<br />"; if (!$dbm->dbExists()) { $content .= _NGIMG . sprintf(_INSTALL_L109, XOOPS_DB_NAME) . "<br />"; $content .= "</td></tr></table>\n"; $content .= "<p>" . _INSTALL_L21 . "<br />" . "<b>" . XOOPS_DB_NAME . "</b></p>" . "<p>" . _INSTALL_L22 . "</p>"; $b_next = array('createDB', _INSTALL_L105); $b_back = array('start', _INSTALL_L103); $b_reload = true; } else {