Sync plugins from current page

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-09-11 19:08:46 +02:00
parent 85d41e4216
commit 8515ff9587
1847 changed files with 505469 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php /** @noinspection PhpCSValidationInspection */
/**
* Generates an QR code for bitcoin.
*
* @package Shariff Wrapper
*/
// Includes php class for QR code generation.
require './includes/phpqrcode.php';
// Gets the bitcoin address.
$bitcoinaddress = htmlspecialchars( $_GET['bitcoinaddress'] );
// Creates the page.
echo '<html lang="en"><head><title>Bitcoin</title></head><body>';
echo '<div style="text-align:center;"><h1>Bitcoin</h1></div>';
echo '<p style="text-align:center;"><a href="bitcoin:' . $bitcoinaddress . '">bitcoin:' . $bitcoinaddress . '</a></p>';
echo '<p style="text-align:center;">';
QRcode::svg( $bitcoinaddress, false, 'h', 5 );
echo '</p>';
echo '<p style="text-align:center;">Information: <a href="https://www.bitcoin.org" target="_blank">bitcoin.org</a></p>';
echo '</body></html>';