Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cuenta() {$.getJSON('/ES/Account/Balance', "", mostrarCuenta);}
- function mostrarCuenta(datos) {
- if (datos.length > 0){
- var mensaje = '<span class="cash"> CASH: <span class="real"> $ ' + datos.r.Cash + '</span></span>' +
- '<span class="cash"> BONUS: <span class="real"> $ ' + datos.r.Bonus + '</span></span>';
- if(datos.r.JogueGratis != '0'){mensaje += '<span class="cash"> DINERO FICTICIO: <span class="ficticio"> $ ' + datos.r.JogueGratis + '</span></span>';
- }else
- document.location.href = '/';
- }
Add Comment
Please, Sign In to add comment