|
86 | 86 |
|
87 | 87 |
|
88 | 88 |
|
| 89 | +<div style="border:1px solid #ccc;padding:15px;margin-right:50px;" class="col-md-5"> |
| 90 | + <h3>Withdraw to AsMoney</h3> |
89 | 91 |
|
90 |
| -<div class="col-md-4 pull-right"> |
91 |
| -<button type="button" class="btn btn-success btn-block" data-toggle="modal" data-target="#myModal"> |
92 |
| - Request a {$curency} withdrawal({$cur_min}) |
93 |
| -</button> |
94 |
| - |
95 |
| -<button type="button" class="btn btn-warning btn-block" data-toggle="modal" data-target="#asmoney"> |
96 |
| - Request a Asmoney withdrawal({$as_min}) |
| 92 | + AsMoney is a bitcoin payment processor that allow us to send micropayments<br><br> |
| 93 | + |
| 94 | +Withdrawal any amount without minimum<br> Payment will be proceed instantly <br> |
| 95 | +You can transfer your money to any cryptocoin from AsMoney<br> |
| 96 | + If you don't have AsMoney account, create a <a href="https://www.asmoney.com/default.aspx" target="a_blank">new one</a><br> |
| 97 | +<br><br><br> |
| 98 | + |
| 99 | +<button type="button" class="btn btn-success btn-block" data-toggle="modal" data-target="#asmoney"> |
| 100 | + Request a AsMoney withdrawal, minimum is ({$as_min}) |
97 | 101 | </button>
|
98 | 102 |
|
| 103 | +</div> |
99 | 104 |
|
100 |
| - |
| 105 | +<div class="col-md-5" style="border:1px solid #ccc;padding:15px;"> |
| 106 | + <h3>Withdraw to coin</h3>You can withdraw balance directly to your crypto address but you need<br><br>your balance should higher than {$cur_min}<br> Payment will be proceed with delay<br><br><br><br><br><br> |
| 107 | + |
| 108 | +<button type="button" class="btn btn-success btn-block" data-toggle="modal" data-target="#myModal"> |
| 109 | + Request a coin withdrawal, minimum is ({$cur_min}) |
| 110 | +</button> |
101 | 111 |
|
102 | 112 | </div>
|
103 | 113 | </div>
|
|
113 | 123 | </div>
|
114 | 124 | </div>
|
115 | 125 |
|
| 126 | +<script type="text/javascript"> |
| 127 | + function checkasmoney() { |
| 128 | + |
| 129 | +var amount = document.asmoney.amount.value; |
| 130 | +var wallet = document.asmoney.wallet.value; |
| 131 | +
|
| 132 | +if (amount <= 0) { |
| 133 | +alert('Amount is incorrect'); |
| 134 | +return false; |
116 | 135 |
|
| 136 | +} |
| 137 | +
|
| 138 | +if (wallet.length <= 1 ) { |
| 139 | + alert('Please Enter your AsMoney username'); |
| 140 | + return false; |
| 141 | +} |
| 142 | +
|
| 143 | +return true; |
| 144 | +
|
| 145 | +} |
| 146 | +
|
| 147 | +</script> |
117 | 148 |
|
118 | 149 | <div class="modal fade" id="asmoney" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
119 | 150 | <div class="modal-dialog">
|
120 | 151 |
|
121 |
| - <form action="" method="post"> |
| 152 | + <form action="" method="post" name="asmoney" onsubmit="return checkasmoney()"> |
122 | 153 | <div class="modal-content">
|
123 | 154 | <div class="modal-header">
|
124 | 155 | <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
@@ -163,12 +194,39 @@ Your Asmoney account : {$asmoneyexist}
|
163 | 194 |
|
164 | 195 |
|
165 | 196 |
|
| 197 | + |
| 198 | +<script type="text/javascript"> |
| 199 | +function checkcoin() { |
| 200 | + |
| 201 | +var address = document.coin.address.value; |
| 202 | +var amount = document.coin.amount.value; |
| 203 | +
|
| 204 | +
|
| 205 | +if (amount <= 0) { |
| 206 | +alert('Amount is incorrect'); |
| 207 | +return false; |
| 208 | +
|
| 209 | +} |
| 210 | +
|
| 211 | + if (address.length <= 15 ) |
| 212 | +{ |
| 213 | + alert('Crypto address is not correct '); |
| 214 | +return false; |
| 215 | +} |
| 216 | +
|
| 217 | +if(/^[a-zA-Z0-9- ]*$/.test(address) == false) { |
| 218 | + alert('Crypto address is not correct '); |
| 219 | +return false; |
| 220 | +} |
166 | 221 |
|
| 222 | +return true; |
| 223 | +} |
| 224 | +</script> |
167 | 225 |
|
168 | 226 | <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
169 | 227 | <div class="modal-dialog">
|
170 | 228 |
|
171 |
| - <form action="" method="post"> |
| 229 | + <form action="" method="post" name="coin" onsubmit="return checkcoin()"> |
172 | 230 | <div class="modal-content">
|
173 | 231 | <div class="modal-header">
|
174 | 232 | <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
0 commit comments