Ejemplo n.º 1
0
        } else {
            $showcountries .= '<option value="' . $country['id'] . '" id="' . $country["id"] . '">' . $country["name"] . '</option>';
        }
    }
    $showcountries .= '</select>';
    echo $showcountries;
    ?>
    
        <p><input type="submit" value="<?php 
    echo MB_ACTIVATION_CONTINUE_BUTTON;
    ?>
"></p>
        </form>
<?php 
} elseif ($action == 'country') {
    $methods = $mp->GetMethods($posts['country']);
    foreach ($methods as $method) {
        if ($method['id'] != 'account_money') {
            if ($mercadopago_methods != null && in_array($method['id'], $mercadopago_methods)) {
                $showmethods .= ' <input name="methods[]" type="checkbox" checked="yes" value="' . $method['id'] . '">' . $method['name'] . '<br />';
            } else {
                $showmethods .= '<input name="methods[]" type="checkbox" value="' . $method['id'] . '"> ' . $method['name'] . '<br />';
            }
        }
    }
    ?>
        
        <p><strong><u><?php 
    echo MP_ACTIVATION_METHODS_COUNTRY;
    ?>
</u></strong></p>