コード例 #1
0
ファイル: loader-wizard.php プロジェクト: NeformatDev/v2
function GoDaddy_page($home_dir)
{
    $self = get_self();
    heading();
    $inst_str = '<h4>GoDaddy Installation Instructions</h4>';
    $inst_str .= '<p>It appears that you are hosted with GoDaddy (<a target="_blank" href="http://www.godaddy.com/">www.godaddy.com</a>). ';
    $inst_str .= "If that is <b>not</b> the case then please <a href=\"{$self}?host=ngd\">click here to go to the main page of this installation wizard</a>.</p>";
    $inst_str .= "<p>If you have already installed the loader then please <a href=\"{$self}?page=loader_check\">click here to test the Loader</a>.</p>";
    echo $inst_str;
    if (is_ms_windows()) {
        GoDaddy_windows_instructions();
    } else {
        GoDaddy_linux_instructions($home_dir);
    }
    footer(true);
}
コード例 #2
0
function GoDaddy_page()
{
    $base = get_base_address();
    heading();
    $inst_str = '<h4>GoDaddy Installation Instructions</h4>';
    $inst_str .= '<p>It appears that you are hosted with GoDaddy (<a target="_blank" href="http://www.godaddy.com/">www.godaddy.com</a>). ';
    $inst_str .= "If that is <b>not</b> the case then please <a href=\"{$base}&amp;page=default&amp;host=ngd\">click here to go to the main page of this installation wizard</a>.</p>";
    $inst_str .= "<p>If you have already installed the loader then please <a href=\"{$base}&amp;page=loader_check\" onclick=\"showOverlay();\">click here to test the loader</a>.</p>";
    echo $inst_str;
    if (is_ms_windows()) {
        GoDaddy_windows_instructions();
    } else {
        GoDaddy_linux_instructions($_SESSION['godaddy_root']);
    }
    send_stats('gd_default');
    footer(true);
}