forked from thatsailorman/CryptXchange
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatusid.php
More file actions
49 lines (36 loc) · 1.35 KB
/
Copy pathstatusid.php
File metadata and controls
49 lines (36 loc) · 1.35 KB
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
44
45
46
47
48
49
<?php include('config.php');?>
<?php include('db.php');?>
<?php include('api/api-call-minimum.php');?>
<?php $transaction = strip_tags($_GET['transaction']);?>
<?php $idtransaction = $mysqli->escape_string($transaction);
// call database
$trans = $mysqli->query("SELECT * FROM transactions WHERE payid='$idtransaction'");
$transactionrow = mysqli_fetch_array($trans);
?>
<!doctype html>
<html lang="en">
<?php include('header.php');?>
<body>
<body class="text-center">
<form class="form-signin">
<img class="mb-4" src="img/favicon.png" alt="" width="150" height="150">
<br>
<?php
include('api/api-call-status.php');
?>
<img src='img/loading-gif.gif' width="127px" height="127px">
</form>
<footer class="footer">
<div class="container">
<span class="text-muted">Transaction ID: <b><?php echo $transaction;?></b>
<br>
<?php include('footertext.php');?>
</span>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="js/jquery-slim.min.js"><\/script>')</script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>