Ejemplo n.º 1
0
     $content .= "</table><br />\n";
     $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 "../inc/config.php";
     $oDB = new dclDB();
     $title = _INSTALL_L104;
     $content = "<table align='center'><tr><td align='left'>\n";
     if (!$oDB->CanConnectServer()) {
         $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 (!$oDB->CanConnectDatabase()) {
             $content .= _NGIMG . sprintf(_INSTALL_L109, $dcl_domain_info[$dcl_domain]['dbName']) . "<br />";
             $content .= "</td></tr></table>\n";
             $content .= "<p>" . _INSTALL_L21 . "<br />" . "<b>" . $dcl_domain_info[$dcl_domain]['dbName'] . "</b></p>" . "<p>" . _INSTALL_L22 . "</p>";
             $b_next = array('createDB', _INSTALL_L105);
             $b_back = array('start', _INSTALL_L103);
             $b_reload = true;
         } else {