define('HIDEPROCEED', true); print_cms_default_data_overwrite_form(); } else { // Normal CMS install install_product_step('vbcms'); $row = $vbulletin->db->query_first(" SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "cms_node WHERE nodeid <> 1" ); if (can_install_default_data() AND $row['count'] == 0) { define('HIDEPROCEED', true); print_cms_default_data_form(); } } } else { $vbulletin->GPC['step'] = 15; } } } if ($vbulletin->GPC['step'] == (should_install_suite() ? 15 : 13)) { echo "<blockquote>\n"; echo "<p>" . sprintf($install_phrases['install_complete'], $vbulletin->config['Misc']['admincpdir']) . "</p>\n"; echo "</blockquote>\n";
{ print_cms_default_data_form(); } } } else { $row = $vbulletin->db->query_first(" SELECT userid FROM " . TABLE_PREFIX . "user WHERE username = '******'username']) . "'" ); if (!$row) { print_cms_default_data_form($upgrade_phrases['finalupgrade.php']['user_not_found']); } else { require_once(DIR . "/install/cmsdefaultdata/default_data_functions.php"); if (can_install_default_data()) { add_default_data(); add_default_attachments($row['userid']); echo_flush("<p>" . $upgrade_phrases['finalupgrade.php']['cms_data_import_success'] . "</p>"); } } } } }