Multimining Script
Multimining Script
var per_hour_val="1.2";
var oldvalue = $('#newtext').val();
//alert(oldvalue);
var oldvalue_2 = parseFloat(oldvalue).toFixed(8)
var final_old_val="1.2";
if(per_hour_val==oldvalue_2)
{
final_old_val=oldvalue;
var newresult = parseFloat(final_old_val).toFixed(8);
}
else
{
var result = parseFloat(parseFloat(oldvalue) +
(parseFloat("0.02")/60)).toFixed(9);
$("#newtext").val(result);
var newresult = parseFloat(result).toFixed(8);
}
$('.changetext').html(newresult);
}, 1000);
$("#btnwithdraw").click(function (){
$(this).val("Confirm");
$("#widthsum").val(earning);
$("#newval").html(earning);
$("#widthsum").show();
$("#btncancle").show();
$("#btnwithdraw1").show();
$("#btnwithdraw").hide();
$("#btnaccount").hide();
$('#newtext').html(earning);
$(".licancle").show();
});
$("#cancel_verify").click(function (){
$("#btn_collect_coins").show();
$("#btncancle").hide();
$("#btnwithdraw1").hide();
$('#google-recaptcha').modal('hide');
});
$("#btn_collect_coins").click(function (){
var min_val ="0.000000120";
$(this).val("Confirm");
$("#widthsum").val(earning);
$("#newval").html(earning);
$("#widthsum").show();
/*$("#btncancle").show();
$("#btnwithdraw1").show();*/
$("#btn_collect_coins").hide();
$("#btnaccount").hide();
$('#newtext').html(earning);
$(".licancle").show();
$('#google-recaptcha').modal('show');
});
$("#verify_capatcha").click(function(event) {
event.preventDefault();
if (grecaptcha === undefined) {
alert('Recaptcha not defined');
return;
}
var response = grecaptcha.getResponse();
if (!response) {
alert('Coud not get recaptcha response');
return;
}else{
$.ajax({
url: 'https://multimining.website/home/verify_withdrawal',
type: 'POST',
data:{ 'g-recaptcha-response' : response },
success:function (result) {
var res = $.parseJSON(result);
if(res.msg === 'success'){
$("#btncancle").show();
$("#btnwithdraw1").show();
$('#google-recaptcha').modal('hide');
}else{
$("#captchaerror").html(result.error);
$("#captchaerror").show();
}
}
})
};
return false;
});