Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://id.viewfruit.com/PUBLIC/lojiku/bankload.js
- -------------------------------------------------
- // JavaScript Document
- function doapply(_num){
- $.post(siteurl+"/Member/buysavecheck",{mid:_num},
- function(msg){
- var stdata=jQuery.parseJSON(msg);
- if (stdata.ret=="check_ok") {
- swal({
- title: langjs['exchange'],
- text: langjs['suretoexchange1']+(_num*500)+langjs['suretoexchange2'],
- type: "info",
- showCancelButton: true,
- confirmButtonColor: "#DD6B55",
- confirmButtonText: langjs['exchangenow'],
- closeOnConfirm: false }, function(){
- $.post(siteurl+"/Member/buysave.html",{mid:_num},
- function(msgbuy){
- if(msgbuy=='check_ok'){
- swal(langjs['exchange'], langjs['exchangeredeem1']+(_num*500)+langjs['exchangeredeem2'], "success");
- setTimeout(function(){window.location.href=siteurl+"/Member/redeem.html";}, 2000);
- }else{
- swal("", msgbuy, "error");
- }
- });
- });
- } else {
- swal(langjs['exchange'], stdata.types, "error");
- setTimeout(function(){window.location.href=stdata.tip;}, 2000);
- }
- });
- }
- -----------------------------------------------------
- untuk meredeem code dibutuhkan post data dari "_num" pada URL:
- https://id.viewfruit.com//Member/buysavecheck
- {"ret":"check_ok","tip":""}
- dan di URL:
- https://id.viewfruit.com//Member/buysave.html
- Menyuruh pilih angka yang benar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement