-
Notifications
You must be signed in to change notification settings - Fork 14
/
release.php
52 lines (38 loc) · 1.26 KB
/
release.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
44
45
46
47
48
49
50
51
52
<?php
require_once(dirname(__FILE__).'/sci/config.php');
require_once(dirname(__FILE__).'/lib/common.lib.php');
$btc=rawurldecode($_POST['sendbtc']);
$buyer=rawurldecode($_POST['buyer']);
$seller=rawurldecode($_POST['seller']);
$wid=rawurldecode($_POST['wid']);
$vpin=rawurldecode($_POST['vpin']);
$pin=rawurldecode($_POST['pin']);
$release="YES";
echo "<h1>Review your order</h1>";
//echo $btc." ".$buyer." ".$seller." ".$wid." ".$vpin;
//send data to mysql
$result = mysql_query("SELECT * FROM payment WHERE pubadd='".$wid."' AND seller='".$seller."' AND buyer='".$buyer."' AND price='".$btc."' AND verifypin='".$vpin."' AND frpin='".$pin."'");
while($row = mysql_fetch_array($result))
{
echo "Buyer: ".$row['buyer'];
echo "<br />";
echo "Seller: ".$row['seller'];
echo "<br />";
echo "Item: ".$row['item'];
echo "<br />";
echo "Wallet ID: ".$row['pubadd'];
echo "<br/>";
echo "Transaction Date: ".$row['start'];
echo "<br/>";
echo "Available: ".$row['inhand'];
echo "<br/>";
echo "Released: YOU ARE RELEASING FUNDS NOW";
echo "<br/>";
echo "WIF (Import to bitcoin Get your money): ".$row['privwif'];
echo "<br/>";
echo "BTC to Escrow: ".$row['price'];
echo "<br />";
echo "Notes: ".$row['notes'];
echo "<br />";
}
?>