forked from EverexIO/Ethplorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
768 lines (751 loc) · 39.1 KB
/
index.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
<?php
/*!
* Copyright 2016 Everex https://everex.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
$aConfig = require dirname(__FILE__) . '/service/config.php';
require dirname(__FILE__) . '/service/lib/ethplorer.php';
$es = Ethplorer::db(array());
$codeVersion = isset($aConfig['codeVersion']) ? $aConfig['codeVersion'] : "180";
$error = TRUE;
$header = "";
$uri = $_SERVER['REQUEST_URI'];
// Uri to lowercase
if(preg_match("/[A-Z]+/", $uri) && (FALSE === strpos($uri, '1dea4'))){
header("Location: " . strtolower($uri));
die();
}
if(FALSE !== strpos($uri, '?')){
$uri = substr($uri, 0, strpos($uri, '?'));
}
$rParts = explode('/', $uri);
foreach($rParts as $i => $part){
$rParts[$i] = strtolower($part);
}
if(3 === count($rParts)){
if(('tx' === $rParts[1]) && $es->isValidTransactionHash($rParts[2])){
$header = "Transaction hash: " . $rParts[2];
$error = FALSE;
}
if(('address' === $rParts[1]) && $es->isValidAddress($rParts[2])){
$header = "Address: " . $rParts[2];
$address = $rParts[2];
$error = FALSE;
}
if(('token' === $rParts[1]) && $es->isValidAddress($rParts[2])){
$header = "Token address: " . $rParts[2];
$error = FALSE;
}
}
if($error){
if(isset($rParts[1]) && !$rParts[1]){
header('Location:/');
die();
}
}
$testWidget = true;
if(isset($_GET['test'])){
$testWidget = true;
}
$debugEnabled = false;
if(isset($_GET['debug']) && $_GET['debug']){
$debugId = $_GET['debug'];
$debugEnabled = true;
}
$hasNotes = isset($aConfig['adv']) && count($aConfig['adv']);
$csvExport = '';
if(is_array($rParts) && isset($rParts[2])){
$csvExport = ' <span class="export-csv-spinner"><i class="fa fa-spinner fa-spin"></i> Export...</span><span class="export-csv"><a class="download" rel="nofollow" target="_blank" href="/service/csv.php?data=' . $rParts[2] . '">Export as CSV</a></span>';
}
?><!DOCTYPE html>
<html>
<head>
<title>Ethplorer<?php if($header){ echo ": " . $header; } ?></title>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/ethplorer.css?v=<?=$codeVersion?>">
<?php
// Load extensions CSS
if(isset($aConfig['extensions']) && is_array($aConfig['extensions'])){
foreach($aConfig['extensions'] as $extName => $aExtension){
$cv = isset($aExtension['version']) ? (int)$aExtension['version'] : false;
if(isset($aExtension['css'])){
$aExtension['js'] = (array)$aExtension['js'];
foreach($aExtension['css'] as $js){
$jsf = "/extensions/" . $extName . "/" . $js;
if(file_exists(dirname(__FILE__) . $jsf)){
echo ' <link rel="stylesheet" href="' . $jsf . ($cv ? ("?v=" . $cv) : "") . '">' . "\n";
}
}
}
}
} ?>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="referrer" content="never" />
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="https://www.google.com/jsapi"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="/js/bignumber.js"></script>
<script src="/js/ethplorer.js?v=<?=$codeVersion?>"></script>
<script src="/js/ethplorer-search.js?v=<?=$codeVersion?>"></script>
<?php if($hasNotes):?><script src="/js/ethplorer-note.js?v=<?=$codeVersion?>"></script><?php endif; ?>
<?php
// Load extensions JS
if(isset($aConfig['extensions']) && is_array($aConfig['extensions'])){
foreach($aConfig['extensions'] as $extName => $aExtension){
$cv = isset($aExtension['version']) ? (int)$aExtension['version'] : false;
if(isset($aExtension['js'])){
$aExtension['js'] = (array)$aExtension['js'];
foreach($aExtension['js'] as $js){
$jsf = "/extensions/" . $extName . "/" . $js;
if(file_exists(dirname(__FILE__) . $jsf)){
echo ' <script src="' . $jsf . ($cv ? ("?v=" . $cv) : "") . '"></script>' . "\n";
}
}
}
}
} ?>
<script src="/js/config.js"></script>
<script src="/js/md5.min.js"></script>
<script src="/js/sha3.min.js"></script>
<script src="/js/qrcode.min.js"></script>
<?php if(isset($address)){ ?>
<script>
var ethplorerWidgetPreload = [
{
method: "getPriceHistoryGrouped",
options: {address: '<?php echo $address; ?>'}
}
];
</script>
<?php } ?>
<script src="/api/widget.js?v=<?=$codeVersion?>"></script>
</head>
<body>
<div style="position: relative; min-height: 100vh;">
<nav class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<a class="navbar-logo-small" href="/"><img title="Ethplorer" src="/favicon.ico"></a>
<a class="navbar-logo" href="/"><img title="Ethplorer" src="/images/ethplorer-logo-48.png"></a>
<a class="navbar-logo-extra" href="https://www.everex.io/?from=ethp-hd"><img title="by Everex" src="/images/byeverex.png"></a>
</div>
<div id="navbar" class="navbar" style="margin-bottom: 0px;">
<ul class="nav navbar-nav navbar-right" id="searchform">
<form id="search-form">
<input id="search" class="form-control" placeholder="Token name or symbol / TX hash / address" autocomplete="off" />
<div id="search-quick-results"></div>
</form>
</ul>
<ul class="nav navbar-nav navbar-right" id="topmenu">
<li onclick="document.location.href='/top';">TOP-50</li>
<li onclick="document.location.href='/widgets';">Widgets</li>
<li onclick="document.location.href='https://github.com/EverexIO/Ethplorer/wiki/Ethplorer-API';">API</li>
<li onclick="document.location.href='https://ethplorer.io/#subscribe';">Subscribe</li>
</ul>
</div>
</div>
</nav>
<div id="ethplorer-note"></div>
<div class="container">
<div class="starter-template">
<div id="page-create" class="page">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- ethp-links-728x15 -->
<ins class="adsbygoogle" data-ad-client="ca-pub-6084233468074023" data-ad-slot="5655598045"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<?php if($error): ?>
<div id="error" class="content-page text-center">
<h1 class="text-danger">ERROR</h1>
<h3 id="error-reason" class="text-danger">Invalid request</h3>
</div>
<?php else: ?>
<div id="loader" class="text-center">
<div class="timer"></div>
<div id="searchInProgressText">search in progress...</div>
</div>
<div id="error" class="content-page text-center">
<h1 class="text-danger"></h1>
<h3 id="error-reason" class="text-danger"></h3>
</div>
<div>
<?php if(true){ ?>
<div class="col-xs-12 col-sm-12">
<h1 id="ethplorer-path"><?=$header?></h1>
</div>
<?php }else{ ?>
<div class="hidden-xs col-sm-2"></div>
<div class="col-xs-12 col-sm-8">
<h1 id="ethplorer-path"><?=$header?></h1>
</div>
<div class="hidden-xs col-sm-2"></div>
<?php } ?>
</div>
<div class="clearfix"></div>
<?php if($testWidget){ ?>
<script type="text/javascript">
var testWidget = true;
</script>
<?php }else{ ?>
<script type="text/javascript">
var testWidget = false;
</script>
<?php } ?>
<?php if(true){ ?>
<div id="widget-block" style="display:none;">
<div class="col-xs-12 col-sm-12 token-price-history-grouped-widget">
<div id="token-price-history-grouped-widget"></div>
</div>
</div>
<?php }else{ ?>
<style>
#token-history-grouped-widget {
margin-top: 0 !important;
margin-bottom: 0 !important;
padding: 0 !important;
max-width: 86% !important;
margin-left: auto;
margin-right: auto;
}
</style>
<div>
<div class="hidden-xs col-sm-1"></div>
<div class="col-xs-12 col-sm-10 token-history-grouped-widget">
<div id="token-history-grouped-widget"></div>
</div>
<div class="hidden-xs col-sm-1"></div>
</div>
<?php } ?>
<script type="text/javascript">
if(typeof(eWgs) === 'undefined'){ var eWgs = []; }
</script>
<div class="col-xs-12 col-sm-12">
<h1 id="ethplorer-alert"></h1>
</div>
<div id="txDetails" class="content-page">
<div>
<div class="col-xs-12 multiop">
<div class="block">
<div class="block-header">
<h3>Internal operations</h3>
</div>
<table class="table">
</table>
</div>
</div>
<div class="col-xs-12 col-md-6 chainy">
<div class="block">
<div class="block-header"><h3><a href="/address/0xf3763c30dd6986b53402d41a8552b8f7f6a6089b" style="text-decoration: none;">Chainy</a> <span id="chainy-op"><span></h3></div>
<table class="table">
<tr>
<td>URL</td>
<td id="chainy-url" class="list-field"></td>
</tr>
<tr>
<td>SHA256 Hash</td>
<td id="chainy-hash" class="list-field"></td>
</tr>
<tr>
<td>Filename</td>
<td id="chainy-filename" class="list-field"></td>
</tr>
<tr>
<td>Filesize</td>
<td id="chainy-filesize" class="list-field"></td>
</tr>
<tr>
<td>Data</td>
<td id="chainy-message" class="list-field" style="white-space: normal !important;"></td>
</tr>
<tr class="blue">
<td>Short Link</td>
<td id="chainy-link" class="list-field"></td>
</tr>
</table>
</div>
<div class="text-center">
<a class="tx-details-link">Transaction details</a>
</div>
</div>
<div class="col-xs-12 col-md-6 token-related" id="token-operation-block">
<div class="block">
<div class="block-header"><h3><span class="token-name"></span> <span class="token-operation-type"></span></h3></div>
<table class="table">
<tr class="blue">
<td>Value</td>
<td id="transfer-operation-value" class="list-field"></td>
</tr>
<tr>
<td>Date</td>
<td id="transfer-tx-timestamp" data-type="localdate" class="list-field"></td>
</tr>
<tr>
<td>From</td>
<td id="transfer-operation-from" data-type="ethplorer" class="list-field"></td>
</tr>
<tr>
<td>To</td>
<td id="transfer-operation-to" data-type="ethplorer" class="list-field"></td>
</tr>
<tr>
<td>Message</td>
<td id="transfer-tx-message" class="list-field"></td>
</tr>
<tr id="operation-status">
<td>Status</td>
<td id="txTokenStatus" class="list-field"></td>
</tr>
</table>
</div>
<div class="text-center visible-md visible-lg visible-xl">
<a class="tx-details-link">Transaction details</a>
</div>
</div>
<div class="col-xs-12 col-md-6 token-related" id="token-information-block">
<div class="block">
<div class="block-header"><h3>Token <span class="token-name"></span> Information</h3></div>
<table class="table">
<tr>
<td>Contract</td>
<td id="transaction-token-contract" class="list-field" data-type="ethplorer" data-options="no-contract"></td>
</tr>
<tr>
<td>Symbol</td>
<td id="transaction-token-symbol" class="list-field"></td>
</tr>
<tr>
<td>Price</td>
<td id="transaction-token-price" data-type="price" class="list-field"></td>
</tr>
<tr>
<td>Decimals</td>
<td id="transaction-token-decimals" class="list-field"></td>
</tr>
<tr>
<td>Owner</td>
<td id="transaction-token-owner" data-type="ethplorer" class="list-field"></td>
</tr>
<tr>
<td>Total Supply</td>
<td id="transaction-token-totalSupply" class="list-field"></td>
</tr>
</table>
</div>
<div class="text-center hidden-md hidden-lg hidden-xl">
<a class="tx-details-link">Transaction details</a>
</div>
</div>
</div>
<div id="tx-details-block" style="display:none;">
<div class="col-xs-12">
<div class="block">
<div class="block-header">
<h3>Transaction details</h3>
<div class="tx-details-close">
×
</div>
</div>
<table class="table">
<tr>
<td>Tx</td>
<td id="transaction-tx-hash" class="list-field" data-type="etherscan"></td>
</tr>
<tr>
<td>Date</td>
<td id="transaction-tx-timestamp" data-type="localdate" class="list-field"></td>
</tr>
<tr>
<td>Message</td>
<td id="transaction-tx-message" class="list-field"></td>
</tr>
<tr>
<td>Block</td>
<td id="transaction-tx-block">
<span id="transaction-tx-blockNumber" class="list-field"></span> (<span id="transaction-tx-confirmations" class="list-field"></span> confirmations)
</td>
</tr>
<tr>
<td>From</td>
<td id="transaction-tx-from" class="list-field" data-type="ethplorer"></td>
</tr>
<tr>
<td>To</td>
<td id="transaction-tx-to" class="list-field" data-type="ethplorer"></td>
</tr>
<tr>
<td>Creates</td>
<td id="transaction-tx-creates" class="list-field" data-type="ethplorer"></td>
</tr>
<tr>
<td>Value</td>
<td id="transaction-tx-value" class="list-field" data-type="ether-full"></td>
</tr>
<tr>
<td>Gas Limit</td>
<td id="transaction-tx-gasLimit" class="list-field" data-type="int"></td>
</tr>
<tr>
<td>Gas Used</td>
<td id="transaction-tx-gasUsed" class="list-field" data-type="int"></td>
</tr>
<tr>
<td>Gas Price</td>
<td id="transaction-tx-gasPrice" class="list-field" data-type="ether"></td>
</tr>
<tr>
<td>Tx Cost</td>
<td id="transaction-tx-cost" class="list-field" data-type="ether-full"></td>
</tr>
<tr>
<td>Nonce</td>
<td id="transaction-tx-nonce" class="list-field"></td>
</tr>
<tr id="tx-method">
<td>Method</td>
<td style="font-family: monospace;color:#f8f577;" id="transaction-tx-method" class="list-field text-left"></td>
</tr>
<tr id="tx-parsed">
<td>Parsed Data</td>
<td class="text-right">
<pre id="transaction-tx-parsed" class="list-field text-left"></pre>
</td>
</tr>
<tr>
<td>Input Data</td>
<td class="text-right">
<a onclick="Ethplorer.convert('transaction-tx-input', this);" class="pre-switcher">ASCII</a>
<pre id="transaction-tx-input" class="list-field text-left" data-mode="hex"></pre>
</td>
</tr>
<tr id="tx-status">
<td>Status</td>
<td id="txEthStatus" class="list-field"></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div id="addressDetails" class="content-page">
<div class="col-xs-12 col-md-6">
<div class="block">
<div class="block-header"><h3><span class="address-type"></span> Information</h3></div>
<table class="table">
<tr>
<td><span class="address-type"></span></td>
<td id="address-address" data-type="etherscan" data-options="no-contract" class="list-field"></td>
</tr>
<tr>
<td>Created At</td>
<td id="address-token-createdAt" data-type="localdate" data-options="no-contract" class="list-field"></td>
</tr>
<tr>
<td>Creator</td>
<td id="address-contract-creator" data-type="ethplorer" data-options="no-contract" class="list-field"></td>
</tr>
<tr>
<td>Create Tx</td>
<td id="address-token-createdTx" data-type="ethplorer" class="list-field"></td>
</tr>
<tr>
<td>Balance</td>
<td id="address-balance" data-type="ether-full" class="list-field"></td>
</tr>
<tr>
<td>Total In</td>
<td id="address-balanceIn" data-type="ether" class="list-field"></td>
</tr>
<tr>
<td>Total Out</td>
<td id="address-balanceOut" data-type="ether" class="list-field"></td>
</tr>
<tr>
<td>Transactions</td>
<td id="address-token-txsCount" data-type="int" class="list-field"></td>
</tr>
<tr>
<td>Transactions</td>
<td id="address-contract-txsCount" data-type="int" class="list-field"></td>
</tr>
</table>
</div>
</div>
<div class="col-xs-12 col-md-6">
<div class="block" id="address-token-balances">
<div class="block-header">
<h3>Token Balances
<div id="address-balances-total"></div>
</h3>
</div>
<table class="table"></table>
</div>
<div class="block" id="address-chainy-info">
<div class="block-header">
<img src="/images/chainy.png?new" class="token-logo" align="left">
<h3>Chainy Information</h3>
</div>
<table class="table">
<tr>
<td style="padding-bottom: 12px;">
Chainy is a smart contract which allows to create and read different kind of data in Ethereum blockchain:
<br><br>
<b>AEON short links</b><br>
Irreplaceable short URLs (similar to bit.ly but impossible to change)
<br><br>
<b>Proof of Existence + Files</b><br>
Permanent proof of existence of the document (file) together with link to the file at one page
<br><br>
<b>Broadcast Messages</b><br>
Public text message on the Ethereum blockchain. Also may be encrypted
<br><br>
Read more: <a href="https://chainy.link" class="external-link" target="_blank">https://chainy.link</a><br>
Post your data: <a href="https://chainy.link/add" class="external-link" target="_blank">https://chainy.link/add</a>
</td>
</tr>
</table>
</div>
<div class="block" id="address-token-details">
<div class="block-header"><h3>Token <span class="address-token-name"></span> Information</h3></div>
<table class="table">
<tr>
<td colspan="2" id="address-token-description" class="list-field"></td>
</tr>
<tr>
<td>Symbol</td>
<td id="address-token-symbol" class="list-field"></td>
</tr>
<tr>
<td>Price</td>
<td id="address-token-price" data-type="price" class="list-field"></td>
</tr>
<tr>
<td>Total Supply</td>
<td id="address-token-totalSupply" class="list-field"></td>
</tr>
<!--tr>
<td>Total In</td>
<td id="address-token-totalIn" class="list-field"></td>
</tr>
<tr>
<td>Total Out</td>
<td id="address-token-totalOut" class="list-field"></td>
</tr-->
<tr>
<td>Decimals</td>
<td id="address-token-decimals" class="list-field"></td>
</tr>
<tr>
<td>Owner</td>
<td id="address-token-owner" data-type="ethplorer" class="list-field"></td>
</tr>
<tr>
<td>Transfers</td>
<td id="address-token-transfersCount" class="list-field"></td>
</tr>
<tr>
<td>Issuances</td>
<td id="address-token-issuancesCount" class="list-field"></td>
</tr>
<tr>
<td>Holders</td>
<td id="address-token-holdersCount" class="list-field"></td>
</tr>
</table>
</div>
</div>
<div class="col-xs-12">
<ul class="nav nav-tabs">
<li id="tab-transfers" class="active">
<a data-toggle="tab" href="#token-transfers-tab"><span class="dashed">Transfers</span></a>
</li>
<li id="tab-issuances">
<a data-toggle="tab" href="#token-issuances-tab"><span class="dashed">Issuances</span></a>
</li>
<li id="tab-holders">
<a data-toggle="tab" href="#token-holders-tab"><span class="dashed">Holders</span></a>
</li>
</ul>
</div>
<div class="col-xs-12 filter-box">
<form class="filter-form">
<input id="filter_list" type="text" placeholder="Filter by address or hash">
<div class="filter-clear" title="Clear filter">×</div>
</form>
</div>
<div class="tab-content">
<div id="token-transfers-tab" class="tab-pane fade in active">
<div class="col-xs-12" id="address-token-transfers">
<div class="block">
<div class="block-header">
<h3>Token <span class="address-token-name"></span> Transfers</h3>
<div class="total-records"></div>
</div>
<table class="table"></table>
</div>
<small>* all dates are displayed for <span class="local-time-offset"></span> timezone<?php echo $csvExport;?></small>
</div>
</div>
<div id="token-issuances-tab" class="tab-pane fade">
<div class="col-xs-12" id="address-issuances">
<div class="block">
<div class="block-header">
<h3>Token <span class="address-token-name"></span> Issuances</h3>
<div class="total-records"></div>
</div>
<table class="table"></table>
</div>
<small>* all dates are displayed for <span class="local-time-offset"></span> timezone</small>
</div>
</div>
<div id="token-holders-tab" class="tab-pane fade">
<div class="col-xs-12" id="address-token-holders">
<div class="block">
<div class="block-header">
<h3>Token <span class="address-token-name"></span> Holders</h3>
<div class="total-records"></div>
</div>
<table class="table"></table>
<div id="address-token-holders-totals"></div>
</div>
</div>
</div>
</div>
<div class="col-xs-12" id="address-transfers" style="display:none;">
<div class="block">
<div class="block-header">
<h3>Transfers</h3>
<div class="total-records"></div>
</div>
<table class="table"></table>
</div>
<small>* all dates are displayed for <span class="local-time-offset"></span> timezone<?php echo $csvExport;?></small>
</div>
<div class="col-xs-12" id="address-chainy-tx" style="display:none;">
<div class="block">
<div class="block-header">
<h3>Chainy Transactions</h3>
<div class="total-records"></div>
</div>
<table class="table"></table>
</div>
<small>* all dates are displayed for <span class="local-time-offset"></span> timezone</small>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
<div id="disqus_thread" class="container"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = '//https-ethplorer-io.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<div class="footer">
<div class="container">
<div class="row">
<div class="col-xs-7 col-sm-3">
<a href="#"><img src="/images/ethplorerlogowhite400.png" style="max-width: 140px;" alt=""></a>
<div>
<div style="color:#eeeeee;">© 2016-2018 <a href="https://everex.one/" target="_blank" class="small-link">Everex</a>
<br><a href="/privacy" class="small-link">Privacy & Terms</a><br>
</div>
</div>
</div>
<div class="col-xs-5 col-sm-2 col-md-2 footer-links">
<ul>
<li><a href="/widgets">Widgets</a></li>
<li><a href="https://github.com/EverexIO/Ethplorer">Sources</a></li>
<li><a href="https://github.com/EverexIO/Ethplorer/wiki/Ethplorer-API">API</a></li>
<li><a href="https://github.com/EverexIO/Ethplorer/issues">Github Issue</a></li>
<li><a href="https://twitter.com/ethplorer">Twitter</a></li>
</ul>
</div>
<div class="col-xs-5 col-sm-2 col-md-3 footer-links">
<ul>
<li><a href="http://bit.ly/ethp-contact" target="_blank">Contact</a></li>
<li><a href="https://ethplorer.io/#subscribe">Subscribe</a></li>
<li><a href="https://www.reddit.com/r/ethplorer/">Discuss at Reddit</a></li>
<li><a href="http://bit.ly/ethp-contact" target="_blank">Update your Token info</a></li>
</ul>
</div>
<div class="col-xs-7 col-sm-5 col-md-4 footer-donation">
<strong>Donation:</strong><br>
<br>ETH:<br>0x0dE0BCb0703ff8F1aEb8C892eDbE692683bD8030
<br>BTC:<br>1MKVGqyJA9YkVRuDsGCvnYVJ6ivNtfe289
</div>
</div>
</div>
</div>
</div>
<div id="qr-code-popup" title="Address QR-Code" style="padding:5px;"><span id="qr-code-address"></span><br/><br/><center><div id="qr-code"></div></center><br/></div>
<script>
$(document).ready(function(){
$.fn.bootstrapBtn = $.fn.button.noConflict();
<?php if($debugEnabled): ?>
Ethplorer.debug = true;
Ethplorer.debugId = "<?=htmlspecialchars($debugId)?>";
<?php endif; ?>
Ethplorer.init();
$("#qr-code-popup").dialog({
'autoOpen': false,
'resizable': false,
'width': 'auto',
'height': 'auto',
'open': function(){
}
});
});
if(Ethplorer.Config.ga){
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', Ethplorer.Config.ga, 'auto');
ga('send', 'pageview');
}
if(Ethplorer.Config.fb){
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', Ethplorer.Config.fb);
fbq('track', 'PageView');
}
<?php if(isset($aConfig['scriptAddon'])) echo $aConfig['scriptAddon']; ?></script>
</body>
</html>