-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathalert.php
43 lines (36 loc) · 2.23 KB
/
alert.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php if (isset($_GET['msg'])) {
$mensaje = $_GET['msg'];
if ($mensaje == 'captcha') {
?>
<div id='alert' class='alert alert-error radius'>
Captcha inválido, digite o correto.
</div>
<?php } else if ($mensaje == 'wallet') { ?>
<div id='alert' class='alert alert-error radius'>
Digite o endereço NBR correto.
</div>
<?php } else if ($mensaje == 'success') { ?>
<div class='alert alert-success radius'>
Você ganhou <?php echo $_GET['amount']; ?> NBRs.<br/><br/>
Receberá <?php echo $_GET['amount'] - 0.00001; ?> NBRs. (fee de 0.00001)<br/>
<a target='_blank'
href='http://nbrexplorer.niobiocash.nl/?hash=<?php echo $_GET['txid']; ?>#blockchain_transaction'>Confira na Blockchain.</a>
</div>
<?php } else if ($mensaje == 'paymentID') { ?>
<div id='alert' class='alert alert-error radius'>
Verifique o seu ID de pagamento. <br>Deve ser composto por 64 caracteres sem caracteres especiais.
</div>
<?php } else if ($mensaje == 'notYet') { ?>
<div id='alert' class='alert alert-warning radius'>
Os nióbios são emitidos uma vez a cada <?php echo "$rewardEvery"; ?> Minutos. Venha mais tarde.
</div>
<?php } else if ($mensaje == 'dry') { ?>
<div id='alert' class='alert alert-warning radius'>
Não há niobios agora. Não foi dessa vez. Tente novamente.
</div>
<?php } elseif ('erro_banco' == $mensaje) { ?>
<div id='alert' class='alert alert-warning radius'>
Erro do banco de dados, contate o administrador.
</div>
<?php }?>
<?php } ?>