Example #1
0
 '+reward+' ok?')) {
                        return false;
                    }
                }
            }

            if (rest > 0 && greater(amount, rest)) {
                if (!confirm('<?php 
echo Text::slash('invest-alert-lackdrop');
?>
 '+rest+' EUR, ok?')) {
                    return false;
                }
            }

            return confirm('<?php 
echo Text::slash('invest-alert-investing');
?>
 '+amount+' EUR');
        });

/* Seteo inicial por url */
        reset_amount('<?php 
echo $amount;
?>
');

    });    
    
</script>
Example #2
0
                    var add = $('#address').val();

                    if (reward == 0 && (name == '' || add == '')) {
                        alert('<?php echo Text::slash('invest-recipient-error') ?>');
                        return false;
                    }


                    /* Has elegido las siguientes recompensas */
                    if (!confirm( reward+' <?php echo Text::slash('invest-alert-rewards') ?>')) {
                        return false;
                    }
                }
            }

            if (rest > 0 && greater(amount, rest)) {
                if (!confirm('<?php echo Text::slash('invest-alert-lackdrop') ?> '+rest+' EUR, ok?')) {
                    return false;
                }
            }

            return confirm(amount+'<?php echo Text::slash('invest-alert-investing') ?>');
        });

/* Seteo inicial por url */
        reset_amount('<?php echo $amount ?>');

    });    
    
</script>