diff --git a/LICENSE b/LICENSE
index 8b23445..2f152fb 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,8 @@
MIT License
-Copyright (c) 2019
+Copyright (c) 2019 Bubasik and cpu-pool.com
+
+Copyright (c) 2018 Elicoin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/block.php b/block.php
new file mode 100644
index 0000000..ed2fd50
--- /dev/null
+++ b/block.php
@@ -0,0 +1,25 @@
+Block info';
+ echo '
';
+ echo 'Block number: ' . $blockInfo['height'] . ' ';
+ echo 'Hash: ' . $blockInfo['hash'] . ' ';
+ echo 'Time: ' . date($GLOBALS['timeFormat'], $blockInfo['time']) . ' ';
+ echo 'Size: ' . humansize($blockInfo['size'], 1024) . 'B ';
+ echo 'Number of confirmations: ' . $blockInfo['confirmations'] . ' ';
+ echo 'Number of transactions: ' . count($blockInfo['tx']) . ' ';
+ echo 'Difficulty: ' . $blockInfo['difficulty'] . ' ';
+ echo 'Nonce: ' . $blockInfo['nonce'] . ' ';
+ echo 'Chainwork: ' . $blockInfo['chainwork'] . ' ';
+ if (isset($blockInfo['previousblockhash'])) echo 'Previous block hash: ' . $blockInfo['previousblockhash'] . ' ';
+ if (isset($blockInfo['nextblockhash'])) echo 'Next block hash: ' . $blockInfo['nextblockhash'] . ' ';
+ echo '
';
+ echo 'Transactions ';
+ echo '';
+ foreach ($blockInfo['tx'] as $tx) {
+ echo '' . $tx . ' ';
+ }
+ echo '
';
+?>
\ No newline at end of file
diff --git a/blocklist.php b/blocklist.php
new file mode 100644
index 0000000..7c40870
--- /dev/null
+++ b/blocklist.php
@@ -0,0 +1,35 @@
+Network info';
+ $miningInfo = getJSONArray('getmininginfo', '')['result'];
+ $totalCoins = getJSONArray('gettxoutsetinfo', '')['result']['total_amount'];
+ echo '';
+ echo 'Difficulty: ' . round($miningInfo['difficulty'], 5) . ' ';
+ echo 'Network hashrate: ' . humansize($miningInfo['networkhashps'], 1000) . 'H/s ';
+ echo 'Total mined coins: ' . round($totalCoins) . ' ';
+ echo '
';
+ echo 'Last mined blocks ';
+ $blockCount = getJSONArray('getblockcount', '')['result'];
+ $j = $blockCount - (($pgid - 1) * $listCount);
+ $k = $j - $listCount + 1;
+ if ($j < $blockCount) echo 'Newer ';
+ if ($k > 0) echo 'Older ';
+ echo ' ';
+ echo '';
+ echo 'Number Mined Transactions Size ';
+ for ($i = $j; $i >= $k && $i >= 0; $i--) {
+ if ($i <= $blockCount) {
+ $blockHash = getJSONArray('getblockhash', array($i))['result'];
+ $blockData = getJSONArray('getblock', array($blockHash))['result'];
+ echo '' . $i . ' ' . date($GLOBALS['timeFormat'], $blockData['time']) . ' ' . count($blockData['tx']) . ' ' . humansize($blockData['size'], 1024) . 'B ';
+ }
+ }
+ echo '
';
+ echo ' ';
+ if ($j < $blockCount) echo 'Newer ';
+ if ($k > 0) echo 'Older ';
+ echo ' ';
+?>
\ No newline at end of file
diff --git a/coinapi.php b/coinapi.php
new file mode 100644
index 0000000..44d71f7
--- /dev/null
+++ b/coinapi.php
@@ -0,0 +1,29 @@
+
\ No newline at end of file
diff --git a/config.php b/config.php
new file mode 100644
index 0000000..eab3bf8
--- /dev/null
+++ b/config.php
@@ -0,0 +1,11 @@
+
diff --git a/contact.php b/contact.php
new file mode 100644
index 0000000..dea9768
--- /dev/null
+++ b/contact.php
@@ -0,0 +1,6 @@
+Contact
+
+ homepage:
+ block explorer:
+E-mail:
+
\ No newline at end of file
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..734e9fa
Binary files /dev/null and b/favicon.ico differ
diff --git a/fonts/OpenSans-Bold.ttf b/fonts/OpenSans-Bold.ttf
new file mode 100644
index 0000000..fd79d43
Binary files /dev/null and b/fonts/OpenSans-Bold.ttf differ
diff --git a/fonts/OpenSans-BoldItalic.ttf b/fonts/OpenSans-BoldItalic.ttf
new file mode 100644
index 0000000..9bc8009
Binary files /dev/null and b/fonts/OpenSans-BoldItalic.ttf differ
diff --git a/fonts/OpenSans-Italic.ttf b/fonts/OpenSans-Italic.ttf
new file mode 100644
index 0000000..c90da48
Binary files /dev/null and b/fonts/OpenSans-Italic.ttf differ
diff --git a/fonts/OpenSans-Regular.ttf b/fonts/OpenSans-Regular.ttf
new file mode 100644
index 0000000..db43334
Binary files /dev/null and b/fonts/OpenSans-Regular.ttf differ
diff --git a/functions.php b/functions.php
new file mode 100644
index 0000000..59f0248
--- /dev/null
+++ b/functions.php
@@ -0,0 +1,11 @@
+= $devider) {
+ $bytes /= $devider;
+ $i++;
+ }
+ return round($bytes, 2) . ' ' . $type[$i];
+ }
+?>
\ No newline at end of file
diff --git a/img/back.png b/img/back.png
new file mode 100644
index 0000000..a9a7507
Binary files /dev/null and b/img/back.png differ
diff --git a/img/content.png b/img/content.png
new file mode 100644
index 0000000..f034044
Binary files /dev/null and b/img/content.png differ
diff --git a/img/footer.png b/img/footer.png
new file mode 100644
index 0000000..c9b40c6
Binary files /dev/null and b/img/footer.png differ
diff --git a/img/header.png b/img/header.png
new file mode 100644
index 0000000..82c133c
Binary files /dev/null and b/img/header.png differ
diff --git a/img/logo.png b/img/logo.png
new file mode 100644
index 0000000..144408d
Binary files /dev/null and b/img/logo.png differ
diff --git a/index.php b/index.php
new file mode 100644
index 0000000..6078c4b
--- /dev/null
+++ b/index.php
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+ block explorer
+
+
+
+
+
+
+
+
+
+