Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- updateTextBox(abc[bcd]);
- ajaxCall = $['ajax']({
- url: 'https://secure.pxn.rocks/files/ajax/forms/ccc_send_api1.php',
- dataType: 'json',
- cache: false,
- type: 'POST',
- beforeSend: function (yeah) {
- //if (abc['length']>50) {
- //$('#checkStatus')['html']("<img height='18' width='18' src='https://secure.pxn.rocks/assets/images/loading.gif'> <small style='color:#ff0000;'>[Limite de 50 superado] </small> ");
- //}else{
- $('#checkStatus')['html']("<img height='18' width='18' src='https://secure.pxn.rocks/assets/images/loading.gif'>");
- //}
- },
- data: 'ajax=1&do=check&amount='+costji+'&LSK='+USERPSK+'&cclistxx=' + encodeURIComponent(abc[bcd]),
- success: function (resultpost) {
- var magici=abc['length'];
- switch (resultpost['error']) {
- case -1:
- bcd++;
- play("assets/sounds/error.mp3");
- $('#wrong')['append'](resultpost['msg'] + '<br />');
- updateProgress(bcd, magici);
- tvmit_wrongUp();
- break;;
- case 1:
- ;
- case 12:
- alert('Error! Contact Admin.');
- throw new Error('Something went badly wrong!');
- break;;
- case 3:
- $('#wrong')['append'](resultpost['msg']);
- updateProgress(bcd, magici);
- break;;
- case 2:
- bcd++;
- $('#myccsmuertas')['append'](resultpost['msg'] + '<br />');
- fgh++;
- updateProgress(bcd, magici);
- tvmit_dieUp();
- break;;
- case 0:
- bcd++;
- $('#myccsvivas')['append'](resultpost['msg'] + '<br />');
- if (parseInt(resultpost['credits']) <= 10) {
- $("#user_credits").css({ color: "red"});
- }else{
- $("#user_credits").css({ color: "green"});
- }
- $("#user_credits").html(resultpost['credits']);
- $("#header_credits").html(resultpost['credits']);
- play("assets/sounds/monedas.mp3");
- tvmit_liveUp();
- updateProgress(bcd,magici);
- break;;
- };
- OKTY(abc, bcd, def, fgh);
- },error: function (data) {
- alert("Error inesperado");
- stopLoading(false);
- }
- });
- return true;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement