Beispiel #1
0
			</header>
			
			<article style="color:#FFFFFF;">
				<p>
					<!-- <center><img src="logo_big.png"></center> Insert Main Logo here -->
					
					<hr/>
					<center><h1>Bitcoin Tracker</h1></center>
					<hr/>
					<p>
						
						<?php 
// Get current information
$values = array();
$result = array();
$values = get_bitcoin_data("birdonwheels5");
$result = calculate($values);
?>
						
						<div class="box">
							<p>
								Welcome! This tool lets you track bitcoin purchases and spends.
							</p>
						</div>
						
						<div class="box">
							<p>
								<center><h3>Bitcoin Summary Statistics</h3>
								
								<table>
								<tr>
function escrow_make_bitcoin_payment($addressTo, $amount, $addressFrom = 0, $password)
{
    global $blockchainUserRoot;
    $json_url = $blockchainUserRoot . 'payment?password='******'&to=' . $addressTo . '&amount=' . $amount;
    if ($addressFrom != 0) {
        $json_url = $json_url . '&from=' . $addressFrom;
    }
    $json_feed = get_bitcoin_data($json_url);
    print_r($json_feed);
    return $json_feed->tx_hash;
}