Exemplo n.º 1
0
            if ($file_perm === true) {
                echo '<br /><strong>' . $this->lang['install_all_correct'] . '</strong> <a href="index.php?step=3">' . $this->lang['install_continue'] . '</a>';
            } else {
                echo '<br /><strong>' . $this->lang['install_please_fix'] . '</strong>';
            }
        } else {
            echo '<span style="color: red"><strong>' . $this->lang['install_version_warn'] . '</strong></span><br />';
            echo '<strong>' . $this->lang['install_php_version'];
            print phpversion();
            echo $this->lang['install_php_required'] . ' ' . $check_for_version . '</strong>';
        }
    }
    function run_installer_3()
    {
        $this->load_lang($_SESSION['or_install_lang']);
        echo '<form name="install_type_form" method="post" action="index.php?step=4">';
        echo $this->lang['install_select_type'] . '<select name="install_type">';
        // install options\
        echo '<option value="install_200">' . $this->lang['install_200'] . '</option>';
        echo '<option value="upgrade_200">' . $this->lang['upgrade_200'] . '</option>';
        echo '<option value="upgrade_115">' . $this->lang['upgrade_115'] . '</option>';
        echo '<option value="move">' . $this->lang['move'] . '</option>';
        echo '</select>
			<input type="submit" name="Submit" value="Submit" />
			</form>';
    }
}
$installer = new installer();
$installer->show_header();
$installer->run_installer();
$installer->show_footer();