-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1057 lines (937 loc) · 52.8 KB
/
index.html
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
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>HBIT Blockchain | HTorrents Decentralized Torrents Repository</title>
<meta name="title" content="HBIT Blockchain - HTorrents Decentralized Torrents Repository">
<meta name="description" content="HashBit Blockchain, HBIT, Future of Money and Crypto is here. Open your Wallet and Join the Community.">
<meta name="keywords" content="hashbit, hbit, blockchain, wallet, assets, exchange, messenger, chat, bitcoin, btc">
<meta name="author" content="HashBit.org">
<meta name="copyright" content="2021">
<meta http-equiv="Reply-to" content="support@hashbit.org">
<meta http-equiv="content-language" content="EN">
<meta http-equiv="Content-Type" content="text/html; iso-8859-1">
<meta name="robots" content="INDEX,FOLLOW">
<meta name="creation_Date" content="05/07/2021">
<meta name="revisit-after" content="7 days">
<link rel="shortcut icon" href="./images/favicon.png">
<link rel="stylesheet" href="assets/css/design.css">
<style>
#loading {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0.9;
background-color: #fff;
z-index: 99;
}
#loading-image {
z-index: 100;
}
</style>
</head>
<script src="https://cdn.lordicon.com/xdjxvujz.js"></script>
<div id="loading">
<img id="loading-image" src="HBIT_COIN_LOGO_200.png" alt="Loading..." />
</div>
<body id="body" class="dark-mode">
<div class="wrapper">
<main id="content" role="main">
<div class="container space-bottom-2">
<div class="card">
<div class="card-body">
<!-- content @s -->
<div class="nk-fmg-body">
<!-- content @s -->
<div class="nk-block-head nk-block-head-sm">
<div class="nk-block-between">
<div class="nk-block-head-content">
<div class="nk-block-des text-soft">
<div class="card-inner-group">
<div class="card-inner position-relative card-tools-toggle">
<div class="card-title-group">
<div class="card-tools">
<div class="form-inline flex-nowrap gx-3">
<a href="htorrents.html"><img src="images/hTorrent_logo.png" alt="hTorrents" height="40px"></a> <span id="userwalletlogin"></span>
<div id="uploadbutton" style="display:none">
<div class="nk-block-head-content">
<ul class="nk-block-tools g-2">
<li>
<div class="dropdown">
<a href="#" class="btn btn-success btn-xs" data-toggle="dropdown"><em class="icon ni ni-plus"></em></a>
<div class="dropdown-menu dropdown-menu-right">
<ul class="link-list-opt no-bdr">
<li><a href="#" data-toggle="modal" data-target="#modalUploadTorrent"><em class="icon ni ni-upload-cloud"></em><span>UPLOAD</span></a></li>
</ul>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="form-group">
<div class="form-control-wrap">
<div class="form-icon form-icon-right">
<em class="icon ni ni-search"></em>
</div><form action="searchtorrent.html" method="GET">
<input type="text" class="form-control form-control-xl form-control-outlined" name="q" id="outlined-right-icon">
<label class="form-label-outlined" for="outlined-right-icon">Search..</label></form>
</div>
</div>
</div><!-- .form-inline -->
</div><!-- .card-tools -->
</div><!-- .card-title-group -->
</div><!-- .card-inner -->
<div align="center"><iframe data-aa='2062765' src='//acceptable.a-ads.com/2062765' style='border:0px; padding:0; width:100%; height:100%; overflow:hidden; background-color: transparent;'></iframe>
</div>
<div id="userwallet" style="display:none">
<div class="row">
<div class="col-xxl-6 col-xs-12">
<div class="card card-animate">
<div class="card-body bg-soft-success">
<div class="d-flex mb-3">
<div class="flex-grow-1">
<lord-icon
src="https://cdn.lordicon.com/qhviklyi.json" trigger="loop" colors="primary:#405189,secondary:#0ab39c" style="width:55px;height:55px">
</lord-icon> <a href="https://investor.hashbit.org" target="_blank" class="badge badge-soft-primary badge-border"><h6 class="text-muted mb-0"><em class="icon ni ni-wallet-saving"></em> Buy HBIT <span class="small">(+Bonus)</span></h6></a>
</div>
<div class="flex-shrink-0">
<span class="badge badge-warning badge-border" data-toggle="modal" data-target="#modalSendHbit"><em class="icon ni ni-arrow-up-right"></em></span>
<span class="badge badge-success badge-border" data-toggle="modal" data-target="#modalReceiveHbit"><em class="icon ni ni-arrow-down-left"></em></span>
<span class="badge badge-primary badge-border" data-toggle="modal" data-target="#modalScantoPay"><em class="icon ni ni-scan"></em></span>
<span class="badge badge-secondary badge-border" onClick="printpaperwallet();"><em class="icon ni ni-printer"></em></span>
<a href="logout.html" title="Logout" class="badge badge-danger badge-border"><em class="icon ni ni-power"></em></a>
</div>
</div>
<h3 class="mb-2"><span class="counter-value" id="balance">...</span><small> HBIT</small></h3>
<h6 class="text-muted mb-0">Available Balance</h6>
<div class="flex-shrink-0">
<a href="https://coinmarketcap.com/currencies/hashbit-blockchain/" target="_blank" class="badge badge-soft-primary badge-border">Market Price</a>
</div>
<h3 class="mb-2"><span id="hbitpricemywallet">...</span><small class="text-muted fs-13"> USD/HBIT</small></h3>
<h6 class="text-muted mb-0">Market Price</h6>
</div>
</div><!--end card-->
</div><!--end col-->
<div class="col-xxl-6 col-xs-12">
<div class="card card-animate">
<div class="card-body bg-soft-warning">
<div class="table-responsive table-card">
<table class="table table-hover table-borderless table-centered align-middle table-nowrap mb-0">
<tbody>
<tr>
<td>
<div class="justify-content-between">
<div class="p-2">Public Address: <a href="#" class="passcode-switch" data-target="copyaddr">
<em class="passcode-icon icon-show icon ni ni-eye"></em>
<em class="passcode-icon icon-hide icon ni ni-eye-off"></em>
</a>
<div class="form-control-wrap">
<div class="form-clip clipboard-init" data-clipboard-target="#copyaddr" data-success="Copied" data-text="Copy Link"><em class="clipboard-icon icon ni ni-copy"></em> <span class="clipboard-text">Copy</span></div>
<input type="password" class="form-control copy-text" id="copyaddr" value="" maxlength="30">
</div>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="justify-content-between">
<div class="p-2">Passphrase: <a href="#" class="passcode-switch" data-target="copyprivk">
<em class="passcode-icon icon-show icon ni ni-eye"></em>
<em class="passcode-icon icon-hide icon ni ni-eye-off"></em>
</a>
<div class="form-control-wrap">
<div class="form-clip clipboard-init" data-clipboard-target="#copyprivk" data-success="Copied" data-text="Copy Link"><em class="clipboard-icon icon ni ni-copy"></em> <span class="clipboard-text">Copy</span></div>
<input type="password" class="form-control copy-text" id="copyprivk" value="" maxlength="128">
</div></div>
</div>
</td>
</tr>
</tbody>
</table>
</div><!-- end tbody -->
</div>
</div><!--end card-->
</div><!--end col-->
</div><!--end row-->
</div>
<span style="min-width:50px;" class="u-label u-label--xs u-label--dark rounded">uTorrent allows anyone to send or download torrents uploaded by the HBIT community, this is just an example of how Cloud Data can be used, all files are uploaded to the Blockchain, have an expiration date, and anyone can renew the duration in the blockchain by clicking on extend, at the cost of the upload transaction.</span>
</div>
</div><!-- .nk-block-head-content -->
</div><!-- .nk-block-between -->
</div><!-- .nk-block-head -->
<div class="nk-block">
<div class="card card-bordered card-stretch">
<nav aria-label="page navigation">
<ul class="pagination pagination-sm mb-0" id="pagelinkmenu">
</ul>
</nav>
<div class="table-responsive py-2">
<div class="mx-md-auto">
<table class="table align-middle table-nowrap" id="customerTable">
<thead class="thead-light">
<tr>
<th>icon</th>
<th>DeadLine/Action</th>
<th>Title/Description</th>
</tr><!--end tr-->
</thead>
<tbody id="searchdata">
</tbody>
<tbody id="getdata">
</tbody>
</table><!--end table-->
</div>
</div>
</div><!-- .card-inner-group -->
<nav aria-label="page navigation">
<ul class="pagination pagination-sm mb-0" id="pagelinkmenu2">
</ul>
</nav>
<div class="table-responsive py-2">
<div class="mx-md-auto">
</div><!-- .card -->
</div><!-- .nk-block -->
<!-- content @e -->
</div><!-- .card-inner-group -->
<div align="center"><iframe data-aa='2062765' src='//acceptable.a-ads.com/2062765' style='border:0px; padding:0; width:100%; height:100%; overflow:hidden; background-color: transparent;'></iframe>
<br>
<br>
<img src="images/hTorrent_file_icon.png" alt="hTorrent icon" height="100px"><br>
<span style="min-width:50px;" class="u-label u-label--xs u-label--warning rounded">hTorrent is a decentralized service for the host of .torrent files, HashBit Blockchain is not responsible for the material posted by users.<br>
<br>
<li>To upload Torrent you need to be connected to your HBIT wallet.</li>
<li>The upload cost varies from 0.001 HBIT to 0.0001 HBIT depending on the file size.</li>
<li>The extension cost is equal to the upload cost.</li>
<li>A file has a duration of 14 days from upload or after an extension, when it expires it is deleted from the Blockchain.</li>
<li>hTorrent works directly with the HBIT Blockchain, it does not require databases or data storage on external servers.</li></span></div>
</div><!-- .card -->
</div><!-- .nk-block -->
</main>
<footer class="bg-dark py-4" style="background-image: url(scripts/abstract-shapes-20.png?v=2);">
<div class="container">
<div class="row justify-content-md-between font-size-1 py-2">
<div class="col-12">
<div class="d-flex h-100 flex-column align-items-center">
<a href="https://hashbit.org" target="_blank"><img width="25" src="images/favicon.png" alt="HBIT Logo"></a>
<span class="h5 text-white mb-0 ml-3">Powered by HashBit Blockchain</span></div>
<p class="text-white text-center">
Here you can interact with the HBIT Blockchain, once logged in you can transact with your wallet safely without limitations.</p>
</div>
</div>
<hr class="opacity-md">
<div class="row justify-content-between align-items-center font-size-1">
<div class="col-md-6">
<p class="mb-0 text-white">HashBit Blockchain © 2021/<span id="curryear"></span> <span class="mx-1">|</span> ⛏ Built by HBIT Community</p>
</div>
<div class="col-md-6 text-md-right">
<ul class="list-inline mb-0">
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://www.facebook.com/hashbitorg/" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="Facebook" data-original-title="Facebook">
<i class="ni ni-facebook-f btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://twitter.com/HashBitorg" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="Twitter" data-original-title="Twitter">
<i class="ni ni-twitter btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://www.instagram.com/hashbitorg/" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="Instagram" data-original-title="Instagram">
<i class="ni ni-instagram btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://t.me/hashbitofficial/" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="Telegram" data-original-title="Telegram">
<i class="ni ni-telegram btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://medium.com/@hashbitblockchain" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="Medium" data-original-title="Medium">
<i class="ni ni-medium btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://www.youtube.com/channel/UC6s8POT8-n3-h9ebxH630cg" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="YouTube" data-original-title="YouTube">
<i class="ni ni-youtube btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://bitcointalk.org/index.php?topic=5339187" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="BitcoinTalk" data-original-title="BitcoinTalk">
<i class="ni ni-hangout btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://github.com/HashBitorg" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="GitHub" data-original-title="GitHub">
<i class="ni ni-github-circle btn-icon__inner h3"></i></a></li>
<li class="list-inline-item">
<a class="btn btn-sm btn-icon btn-soft-light btn-pill" href="https://play.google.com/store/apps/dev?id=4846917808643275474" rel="nofollow noopener" target="_blank" data-toggle="tooltip" data-placement="top" title="PlayStore" data-original-title="PlayStore">
<i class="ni ni-google-play-store btn-icon__inner h3"></i></a></li>
</ul>
</div>
</div>
</div>
</footer>
<a class="js-go-to u-go-to animated js-animation-was-fired slideInUp" href="#" data-position="{"bottom": 20, "right": 15 }" data-type="fixed" data-offset-top="400" data-compensation="#header" data-show-effect="slideInUp" data-hide-effect="slideOutDown" style="display: inline-block; position: fixed; bottom: 20px; right: 15px;">
<em class="ni ni-arrow-up u-go-to__inner h2"></em></a>
<!-- Modal Upload Data HBIT -->
<div class="modal fade" tabindex="-1" id="modalUploadTorrent">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><em class="icon ni ni-upload-cloud"></em> Upload Torrent to Blockchain</h5>
<a href="#" class="close" data-dismiss="modal" aria-label="Close">
<em class="icon ni ni-cross"></em>
</a>
</div>
<div class="modal-body">
<form id="uploaddataform" name="uploaddataform" class="form-validate is-alter">
<div class="form-group">
<label class="text-primary" for="full-name">Name</label><br>
<em class="small">(Torrent Name, max 100 charset)</em>
<div class="form-control-wrap">
<input type="text" class="form-control" name="name" id="namedata" maxlength="100" value="" placeholder="HashBit Cloud Data" required>
</div>
</div>
<div class="form-group">
<label class="text-primary" for="full-name">Description</label><br>
<em class="small">(Description about this Torrent, max 1000 charset)</em>
<div class="form-control-wrap">
<input type="text" class="form-control" name="description" id="descriptiondata" maxlength="1000" value="" placeholder="File description.." required>
</div>
</div>
<div class="form-group">
<label class="text-primary" for="full-name">Torrent Category</label><br>
<em class="small">(Supply up tot 5 comma separated tags. Their purpose is to index the data cloud and make it efficiently searchable.)</em>
<div class="form-control-wrap">
<select class="form-control" name="tags" id="tagsdata" required>
<option value="Audio">Audio</option>
<option value="Video">Video</option>
<option value="Applications">Applications</option>
<option value="Games">Games</option>
<option value="Porn">Porn</option>
<option value="Other">Other</option>
</select>
</div>
</div>
<input type="hidden" name="channel" id="channeldata" maxlength="100" value="uTorrent" required>
<div class="form-group">
<label class="text-primary" for="full-name">Torrent <em class="small">(max. 2MB)</em></label><br>
<em class="small">(File upload is a mandatory field.)</em>
<div class="form-control-wrap">
<input class="form-control" name="file" id="file" type="file" required>
</div>
</div>
<input type="hidden" name="isText" value="false" />
<input type="hidden" name="secretPhrase" id="secretPhrase" value="" />
<input type="hidden" name="feeDQT" value="0" />
<input type="hidden" name="deadline" value="60" />
<div class="form-group">
<button type="submit" class="btn btn-lg btn-primary" name="formuploaddata" id="formuploaddata">UPLOAD</button>
</div>
</form>
</div>
<div class="modal-footer bg-light">
<span class="sub-text">Transaction Fees: 0.00003/0.001 HBIT</span>
</div>
</div>
</div>
</div>
<!-- Modal Send HBIT -->
<div class="modal fade" tabindex="-1" id="modalSendHbit">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><em class="icon ni ni-wallet-out text-danger"></em> Send HBIT</h5>
<a href="#" class="close" data-dismiss="modal" aria-label="Close">
<em class="icon ni ni-cross"></em>
</a>
</div>
<div class="modal-body">
<form id="sendhbitform" name="sendhbitform" class="form-validate is-alter">
<div class="form-group">
<label class="form-label" for="full-name">Recipient</label>
<div class="form-control-wrap">
<input type="text" class="form-control" name="recipient" id="recipient" maxlength="25" value="" placeholder="HBIT-****-****-****-*****" required>
</div>
</div>
<div class="form-group">
<label class="form-label" for="email-address">Amount</label>
<div class="form-control-wrap">
<input type="number" class="form-control" name="amountDQT" id="amountDQT" placeholder="10" value="" required>
</div>
</div>
<div class="form-group">
<label class="form-label" for="phone-no">Attach Message <em>(optional)</em></label>
<div class="form-control-wrap">
<input type="text" class="form-control" name ="message" id ="message" maxlength="128" placeholder="Payment for invoice ...." value="">
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-lg btn-primary" name="formsend" id="formsend">Send HBIT</button>
</div>
</form>
</div>
<div class="modal-footer bg-light">
<span class="sub-text">Transaction Fees: 0.00001 HBIT</span>
</div>
</div>
</div>
</div>
<!-- Modal Set Account Info HBIT -->
<div class="modal fade" tabindex="-1" id="modalSetInfo">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><em class="icon ni ni-edit-alt"></em> Set Account Info</h5>
<a href="#" class="close" data-dismiss="modal" aria-label="Close">
<em class="icon ni ni-cross"></em>
</a>
</div>
<div class="modal-body">
<form id="setinfoform" name="setinfoform" class="form-validate is-alter">
<div class="form-group">
<label class="form-label" for="full-name">Name</label>
<div class="form-control-wrap">
<input type="text" class="form-control" name="name" id="name" maxlength="20" value="" placeholder="Your Name" required>
</div>
</div>
<div class="form-group">
<label class="form-label" for="email-address">Description</label>
<div class="form-control-wrap">
<input type="text" class="form-control" name="description" id="description" maxlength="50" placeholder="Account description" value="" required>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-lg btn-primary" name="formsetinfo" id="formsetinfo">Set Account Info HBIT</button>
</div>
</form>
</div>
<div class="modal-footer bg-light">
<span class="sub-text">Transaction Fees: 0.00003 HBIT</span>
</div>
</div>
</div>
</div>
<!-- Modal Receive HBIT -->
<div class="modal fade" tabindex="-1" id="modalReceiveHbit">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><em class="icon ni ni-wallet-fill"></em> Receive HBIT</h5>
<a href="#" class="close" data-dismiss="modal" aria-label="Close">
<em class="icon ni ni-cross"></em>
</a>
</div>
<div class="modal-body text-center">
<div class="form-group">
<h4 id="addressqr"></h4>
</div>
<div class="form-group">
<h4 id="qraddress"></h4>
</div>
</div>
<div class="modal-footer bg-light">
<span class="sub-text">Scan QR or Write the Address</span>
</div>
</div>
</div>
</div>
<!-- Modal ScantoPay HBIT -->
<div class="modal fade" tabindex="-1" id="modalScantoPay">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><em class="icon ni ni-qr"></em> Scan to Pay</h5>
<a href="#" class="close" data-dismiss="modal" aria-label="Close">
<em class="icon ni ni-cross"></em>
</a>
</div>
<div class="modal-body text-center">
<div class="form-group">
<label>Click QR icon and Scan to Pay with HBIT.</label>
</div>
<div class="form-group text-center">
<script src="scantopay/qr_packed.js"></script>
<h1><a id="btn-scan-qr" data-toggle="tooltip" data-placement="bottom" title="Click to Scan QR"><em class="icon ni ni-scan"></em></a></h1>
<canvas hidden="" id="qr-canvas"></canvas>
<script src="scantopay/qrScanner.js"></script>
</div>
</div>
<div class="modal-footer bg-light">
<span class="sub-text">Click QR and Give Camera permission to start scanner.</span>
</div>
</div>
</div>
</div>
<script src="assets/js/bundle.js?ver=2.4.0"></script>
<script src="assets/js/scripts.js?ver=2.4.0"></script>
<script src="assets/js/hbitjs.js"></script>
<script src="assets/js/jquery.cookie-1.4.1.min.js"></script>
<script type="text/javascript" src="assets/js/jquery.qrcode.min.js"></script>
<script src="scripts/hs.megamenu.js"></script>
<script>
$.getJSON('https://hashbit.org/hbitgetnodes', function(addr) {
node = addr.ip;
$.cookie('node', node, { expires: 365, path: '/', secure: true });
});
document.getElementById("curryear").innerHTML = new Date().getFullYear();
bodybg = $.cookie("bodystyle");
if (!bodybg) {
}
else {
$("body").attr("class", bodybg);
}
if (bodybg == 'light-mode') {
$('#bodybgstyle').html('<button onclick="bodystyle()" type="button" class="btn btn-sm btn-icon btn-soft-light"><em class="icon ni ni-moon text-dark"></em></button>');
}
else if (bodybg == 'dark-mode') {
$('#bodybgstyle').html('<button onclick="bodystylelight()" type="button" class="btn btn-sm btn-icon btn-soft-light"><em class="icon ni ni-sun text-light"></em></button>');
} else {
$('#bodybgstyle').html('<button onclick="bodystylelight()" type="button" class="btn btn-sm btn-icon btn-soft-light"><em class="icon ni ni-sun text-light"></em></button>');
}
function bodystyle() {
$("body").attr("class", "dark-mode")
$.cookie('bodystyle', null, { expires: -1, path: '/', secure: true });
$.cookie('bodystyle', 'dark-mode', { expires: 365, path: '/', secure: true });
$('#bodybgstyle').html('<button onclick="bodystylelight()" type="button" class="btn btn-sm btn-icon btn-soft-light"><em class="icon ni ni-sun text-light"></em></button>');
}
function bodystylelight() {
$("body").attr("class", "light-mode")
$.cookie('bodystyle', null, { expires: -1, path: '/', secure: true });
$.cookie('bodystyle', 'light-mode', { expires: 365, path: '/', secure: true });
$('#bodybgstyle').html('<button onclick="bodystyle()" type="button" class="btn btn-sm btn-icon btn-soft-light"><em class="icon ni ni-moon text-dark"></em></button>');
}
$.getJSON('https://hashbit.org/hbitprice', function(price) {
hbitusd = price.price;
if (!hbitusd) {
getprice();
}
$('#hbitprice').html(hbitusd);
$('#hbitpricemywallet').html(hbitusd);
});
function getprice() {
$.getJSON('https://hashbit.org/hbitprice', function(price) {
hbitusd = price.price;
$('#hbitprice').html(hbitusd);
$('#hbitpricemywallet').html(hbitusd);
});
}
//OFFICIAL NODE SELECTION
node = $.cookie("node");
if (!node) {
$.getJSON('https://hashbit.org/hbitgetnodes', function(addr) {
node = addr.ip;
$.cookie('node', node, { expires: 365, path: '/', secure: true });
$('#blocks').html(new Intl.NumberFormat('en-EN').format(addr.numberOfBlocks));
});
}
//OFFICIAL NODE SELECTION
//LOGGED IN
hbitkey = $.cookie("hbitkey");
if (!hbitkey) {
$('#userwalletlogin').html('<a href="htorrentjoin.html" class="btn btn-xs btn-warning">Login to Upload</a>');
$('#userwallet').hide();
$('#uploadbutton').hide();
} else {
$('#userwalletlogin').html('');
$('#userwallet').show();
$('#uploadbutton').show();
$('#nodeact').val(node);
$('#passact').val(hbitkey);
$('#addressact').val(acc);
$('#nodeactfinal').val(node);
$('#passactfinal').val(hbitkey);
$('#addressactfinal').val(acc);
var acc = hbitjs.secretPhraseToAccountId(hbitkey);
$("#secretPhrase").val(hbitkey);
$(document).ready( function() {
done1();
getAccount();
});
function done1() {
setInterval( function() {
getAccount();
}, 120000);
}
function getAccount() {
$.getJSON(node +'/hbit?requestType=getAccount&account='+ acc +'', function(empo) {
acc = hbitjs.secretPhraseToAccountId(hbitkey);
if (!empo.publicKey && !empo.balanceDQT) {
$('#accountstatus').html('<span class="user-status user-status-unverified">Unverified</span>');
$('#modaladvhbit').modal('show');
} else if (!empo.publicKey && empo.balanceDQT > '0.000001') {
$('#accountstatus').html('<span class="user-status user-status-unverified">Unverified</span>');
$('#modaladvhbitfinal').modal('show');
$('#modaladvhbit').modal('hide');
} else {
$('#accountstatus').html('<span class="user-status user-status-verified">Verified</span>');
}
if (!empo.balanceDQT) {
$('#balance').html('<b>0</b>');
$('#balanceside').html('<b>0</b>');
$('#forgedBalanceDQT').html('<b>0</b>');
} else {
var hbitnet = empo.balanceDQT/100000000;
$('#balance').html(new Intl.NumberFormat('en-EN').format(empo.balanceDQT/100000000));
$('#balanceside').html(new Intl.NumberFormat('en-EN').format(empo.balanceDQT/100000000));
$('#forgedBalanceDQT').html(new Intl.NumberFormat('en-EN').format(empo.forgedBalanceDQT/100000000));
}
$('#address').html(acc);
$('#accountqr').html(acc);
$('#addressqr').html(acc);
$("#qraddress").qrcode({ text: acc,
width: 200,
height: 200
});
$("#qraddress1").empty();
$("#qraddress1").qrcode({ text: acc,
width: 100,
height: 100
});
$('#copyaddr').val(acc);
$('#copyprivk').val(hbitkey);
if (!empo.publicKey) {
$('#copypublkey').val('unverified wallet');
$('#notverified').html('<div class="btn btn-soft-danger btn-sm"><h6>Unverified Wallet!</h6></div>');
} else {
$('#copypublkey').val(empo.publicKey);
$('#notverified').html('<div class="btn btn-soft-success btn-sm"><h6>Verified Wallet!</h6></div>');
pubkey = empo.publicKey;
}
if (!empo.name) {
$('#accountname').html('<button data-toggle="modal" data-target="#modalSetInfo" class="btn btn-lg btn-sm btn-warning"><span>Set your Wallet Name</span></button>');
} else {
$('#accountname').html(empo.name+' <button data-toggle="modal" data-target="#modalSetInfo" class="btn btn-icon btn-sm btn-warning"><em class="icon ni ni-pen2"></em></button>');
}
$('#addressname').html(empo.accountRS);
$('#qraddress').html('<img src="https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl='+ acc +'&choe=UTF-8" alt="HBIT PUBLIC ADDRESS">');
$('#publickey').html('<b>' + empo.publicKey + '</b>');
$.ajax({
url: "https://hashbit.org/topwallets",
type : "post",
dataType : "text json",
data : {'address': acc, 'amount': hbitnet, 'name': empo.name },
success: function(data) {
},
});
});
}
}
//LOGGED IN
$(window).on('load', function () {
$('.js-mega-menu').HSMegaMenu({
event: 'hover',
pageContainer: $('.container'),
breakpoint: 767.98,
hideTimeOut: 0
});
});
$(document).on('ready', function () {
$.HSCore.components.HSHeader.init($('#header'));
$.HSCore.components.HSUnfold.init($('[data-unfold-target]'), {
afterOpen: function () {
$(this).find('input[type="search"]').focus();
}
});
$.HSCore.components.HSMalihuScrollBar.init($('.js-scrollbar'));
$.HSCore.components.HSFocusState.init();
$.HSCore.components.HSGoTo.init('.js-go-to');
});
var sid = '46b13826b552f6eeab66220fc73582e9';
var strGlobal = sessionStorage.getItem("ShowAs");
function handleSearchText(data) {
searchAddress = false;
if ($("txtSearchInput").val() == "") {
$("#hdnSearchText").val("");
}
}
$(document).ready( function() {
getdata();
});
function getdata() {
const queryStringorder = window.location.search;
const urlParamsorder = new URLSearchParams(queryStringorder);
const blockspage = urlParamsorder.get('page');
if (!blockspage || blockspage == '1') {
page = '0';
pagelast = '0';
pagefirst = '100';
$("#currentpageblocks").html('1');
$("#pagelinkmenu").html('<li class="page-item disabled"><span class="page-link">First</span></li><li class="page-item disabled"><span class="page-link"><i class="fa fa-chevron-left small"></i></span><span class="sr-only">Previous</span></li><li class="page-item disabled"><span class="page-link text-nowrap">Page <strong class="font-weight-medium">1</strong></span></li><li class="page-item" data-toggle="tooltip" title="" data-original-title="Go to Next"><a class="page-link" href="htorrents.html?page=2" aria-label="Next"><span aria-hidden="True"><i class="fa fa-chevron-right small"></i></span><span class="sr-only">Next</span></a></li>');
$("#currentpageblocks2").html('1');
$("#pagelinkmenu2").html('<li class="page-item disabled"><span class="page-link">First</span></li><li class="page-item disabled"><span class="page-link"><i class="fa fa-chevron-left small"></i></span><span class="sr-only">Previous</span></li><li class="page-item disabled"><span class="page-link text-nowrap">Page <strong class="font-weight-medium">1</strong></span></li><li class="page-item" data-toggle="tooltip" title="" data-original-title="Go to Next"><a class="page-link" href="htorrents.html?page=2" aria-label="Next"><span aria-hidden="True"><i class="fa fa-chevron-right small"></i></span><span class="sr-only">Next</span></a></li>');
} else {
var page = parseInt(blockspage);
$("#currentpageblocks").html(page);
previouspage = page - 1;
var nextpage = page + 1;
var n = Number(nextpage);
pagefirst = blockspage * 100;
pagelast = pagefirst - 100;
$("#pagelinkmenu").html('<li class="page-item"><a class="page-link" href="nft_marketplace.html"><span aria-hidden="True">First</span></a></li><li class="page-item" data-toggle="tooltip" title="" data-original-title="Go to Previous"><a class="page-link" href="htorrents.html?page='+previouspage+'" aria-label="Previous"><span aria-hidden="True"><i class="fa fa-chevron-left small"></i></span><span class="sr-only">Previous</span></a></li><li class="page-item disabled"><span class="page-link text-nowrap">Page <strong class="font-weight-medium">'+page+'</strong></span></li><li class="page-item" data-toggle="tooltip" title="" data-original-title="Go to Next"><a class="page-link" href="htorrents.html?page='+n+'" aria-label="Next"><span aria-hidden="True"><i class="fa fa-chevron-right small"></i></span><span class="sr-only">Next</span></a></li>');
$("#pagelinkmenu2").html('<li class="page-item"><a class="page-link" href="nft_marketplace.html"><span aria-hidden="True">First</span></a></li><li class="page-item" data-toggle="tooltip" title="" data-original-title="Go to Previous"><a class="page-link" href="htorrents.html?page='+previouspage+'" aria-label="Previous"><span aria-hidden="True"><i class="fa fa-chevron-left small"></i></span><span class="sr-only">Previous</span></a></li><li class="page-item disabled"><span class="page-link text-nowrap">Page <strong class="font-weight-medium">'+page+'</strong></span></li><li class="page-item" data-toggle="tooltip" title="" data-original-title="Go to Next"><a class="page-link" href="htorrents.html?page='+n+'" aria-label="Next"><span aria-hidden="True"><i class="fa fa-chevron-right small"></i></span><span class="sr-only">Next</span></a></li>');
}
$.getJSON(node +'/hbit?requestType=getChannelTaggedData&channel=uTorrent&firstIndex='+pagelast+'&lastIndex='+pagefirst+'&includeData=false', function(data) {
$("#getdata").empty();
$.each(data.data, function(index, element){
var unixtimestamp = element.transactionTimestamp + 1619179200;
// Months array
var months_arr = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
// Convert timestamp to milliseconds
var date = new Date(unixtimestamp*1000);
// Year
var year = date.getFullYear();
// Month
var month = months_arr[date.getMonth()];
// Day
var day = date.getDate();
// Hours
var hours = date.getHours();
// Minutes
var minutes = "0" + date.getMinutes();
// Seconds
var seconds = "0" + date.getSeconds();
// Display date time in MM-dd-yyyy h:m:s format
var convdataTime = month+'-'+day+'-'+year;
var unixtimestampupload = element.blockTimestamp + 1619179200;
// Months array
var months_arrupload = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
// Convert timestamp to milliseconds
var dateupload = new Date(unixtimestampupload*1000);
// Year
var yearupload = dateupload.getFullYear();
// Month
var monthupload = months_arrupload[dateupload.getMonth()];
// Day
var dayupload = dateupload.getDate();
// Hours
var hoursupload = dateupload.getHours();
// Minutes
var minutesupload = dateupload.getMinutes();
// Seconds
var secondsupload = dateupload.getSeconds();
// Display date time in MM-dd-yyyy h:m:s format
var convdataTimeupload = monthupload+'-'+dayupload+'-'+yearupload+' '+hoursupload+':'+minutesupload+':'+secondsupload;
var unsanitizedHTML = element.name;
var elemento = document.createElement('div');
elemento.innerText = unsanitizedHTML;
var sanitizedHTML = elemento.innerHTML;
var unsanitizedHTML = element.description;
var elementa = document.createElement('div');
elementa.innerText = unsanitizedHTML;
var sanitizedHTMLa = elementa.innerHTML;
if (element.type == 'application/x-bittorrent') {
$("#getdata").append('<tr><td><img src="images/hTorrent_file_icon.png" alt="hTorrents" width="80px"></td><td><span style="min-width:50px;" class="u-label u-label--xs u-label--info rounded text-dark text-center">Expire: '+convdataTime+'</span><br><a id="downloaddata" onclick="downloaddata(\''+ element.transaction +'\')" class="btn btn-xs btn-primary text-light"><em class="icon ni ni-download-cloud"></em> DOWNLOAD</a><br><a id="extenddata" onclick="extenddata(\''+ element.transaction +'\')" class="btn btn-xs btn-secondary text-light"><em class="icon ni ni-grid-plus-fill"></em> EXTEND</a><br><span style="min-width:50px;" class="u-label u-label--xs u-label--light rounded text-dark text-center">'+element.tags+'</span><br><span style="min-width:50px;" class="u-label u-label--xs u-label--info rounded text-dark text-center">Upload: '+convdataTimeupload+'</span></td><td><span class="tb-lead"><b>'+sanitizedHTML+'</b></span><br><span class="small text-break">'+sanitizedHTMLa+'</span></td></tr>');
} else {
}
});
});
}
function downloaddata(txns) {
window.location.href = ""+node+"/hbit?requestType=downloadTaggedData&retrieve=true&transaction="+txns+"";
}
$(function(){
$("#uploaddataform").on("submit", function(event) {
event.preventDefault();
$('#formuploaddata').prop('disabled', true);
if (typeof ($("#file")[0].files) != "undefined") {
var size = parseFloat($("#file")[0].files[0].size / 1024).toFixed(2);
} else {
alert("This browser does not support HTML5.");
}
if (size > 2000 || !size) {
Swal.fire('Oops...', 'File size must be under 2 MB!', 'error');
document.getElementById("uploaddataform").reset();
$('#formuploaddata').prop('disabled', false);
} else {
$.ajax( {
url: ""+node+"/hbit?requestType=uploadTaggedData",
type: 'POST',
data: new FormData( this ),
processData: false,
contentType: false,
success: function(data) {
if (!data.signatureHash) {
$('#modalUploadTorrent').modal('hide');
Swal.fire('Oops...', 'we were unable to process your request. Error: '+data.errorDescription+'', 'error');
}
if (!data.errorDescription) {
$('#modalUploadTorrent').modal('hide');
Swal.fire('Success!', 'Your File was successfully sent to the Blockchain!', 'success');
}
document.getElementById("uploaddataform").reset();
$('#formuploaddata').prop('disabled', false);
},
});
}
});
});
function extenddata(txns) {
$.ajax({
url: ""+node+"/hbit?requestType=extendTaggedData",
type : "post",
dataType : "text json",
data : {'secretPhrase': hbitkey, 'transaction': txns, 'feeDQT': 0, 'deadline': 60 },
success: function(data) {
if (!data.signatureHash) {
toastr.clear();
NioApp.Toast('We are sorry, we were unable to process your request. Error: '+data.errorDescription+'', 'error');
}
if (!data.errorDescription) {
toastr.clear();
NioApp.Toast('Success! Deadline extension was successfully sent to the Blockchain!', 'success');
}
},
});
}
$(document).ready( function() {
searchdata();
});
function searchdata() {
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
var tag = urlParams.get('tag')
var unsanitizedHTML = tag;
var elementz = document.createElement('div');
elementz.innerText = unsanitizedHTML;
var sanitizedHTMLz = elementz.innerHTML;
$.getJSON(node +'/hbit?requestType=searchTaggedData&query='+sanitizedHTMLz+'&channel=uTorrent&firstIndex=0&lastIndex=100&includeData=false', function(data) {
$("#searchdata").empty();
$.each(data.data, function(index, element){
unixtimestamp = element.transactionTimestamp + 1619179200;
// Months array
months_arr = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
// Convert timestamp to milliseconds
date = new Date(unixtimestamp*1000);
// Year
year = date.getFullYear();
// Month
month = months_arr[date.getMonth()];
// Day
day = date.getDate();
// Hours
hours = date.getHours();
// Minutes
minutes = "0" + date.getMinutes();
// Seconds
seconds = "0" + date.getSeconds();
// Display date time in MM-dd-yyyy h:m:s format
convdataTime = month+'-'+day+'-'+year;
var unixtimestampupload = element.blockTimestamp + 1619179200;
// Months array
var months_arrupload = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
// Convert timestamp to milliseconds
var dateupload = new Date(unixtimestampupload*1000);
// Year
var yearupload = dateupload.getFullYear();
// Month
var monthupload = months_arrupload[dateupload.getMonth()];
// Day
var dayupload = dateupload.getDate();
// Hours
var hoursupload = dateupload.getHours();
// Minutes
var minutesupload = dateupload.getMinutes();
// Seconds
var secondsupload = dateupload.getSeconds();
// Display date time in MM-dd-yyyy h:m:s format
var convdataTimeupload = monthupload+'-'+dayupload+'-'+yearupload+' '+hoursupload+':'+minutesupload+':'+secondsupload;
var unsanitizedHTML = element.name;
var elemento = document.createElement('div');
elemento.innerText = unsanitizedHTML;
var sanitizedHTML = elemento.innerHTML;
var unsanitizedHTML = element.description;
var elementa = document.createElement('div');
elementa.innerText = unsanitizedHTML;
var sanitizedHTMLa = elementa.innerHTML;
if (element.type == 'application/x-bittorrent') {
$("#searchdata").append('<tr><td><img src="images/hTorrent_file_icon.png" alt="hTorrents" width="80px"></td><td><span style="min-width:50px;" class="u-label u-label--xs u-label--info rounded text-dark text-center">Expire: '+convdataTime+'</span><br><a id="downloaddata" onclick="downloaddata(\''+ element.transaction +'\')" class="btn btn-xs btn-primary text-light"><em class="icon ni ni-download-cloud"></em> DOWNLOAD</a><br><a id="extenddata" onclick="extenddata(\''+ element.transaction +'\')" class="btn btn-xs btn-secondary text-light"><em class="icon ni ni-grid-plus-fill"></em> EXTEND</a><br><span style="min-width:50px;" class="u-label u-label--xs u-label--light rounded text-dark text-center">'+element.tags+'</span><br><span style="min-width:50px;" class="u-label u-label--xs u-label--info rounded text-dark text-center">Upload: '+convdataTimeupload+'</span></td><td><span class="tb-lead"><b>'+sanitizedHTML+'</b></span><br><span class="small text-break">'+sanitizedHTMLa+'</span></td></tr>');
} else {
}
});
});
}
$(function(){
$("#sendhbitform").on("submit", function(event) {
event.preventDefault();
var hbitamount = $("#amountDQT").val();
var hbitready = hbitamount * 100000000;
var recipient = $("#recipient").val();
var message = $("#message").val();
$('#formsend').prop('disabled', true);
$.ajax({
url: ""+node+"/hbit?requestType=sendMoney",
type : "post",
dataType : "text json",
data : {'secretPhrase': hbitkey, 'amountDQT': hbitready.toFixed(0), 'recipient': recipient, 'message': message, 'feeDQT': 0, 'deadline': 60, 'messageIsText':1, 'messageIsPrunable':1 },
success: function(data) {
if (!data.signatureHash) {
$('#modalSendHbit').modal('hide');
toastr.clear();
NioApp.Toast('We are sorry, we were unable to process your request. Error: '+data.errorDescription+'', 'error');
}
if (!data.errorDescription) {
$('#modalSendHbit').modal('hide');
toastr.clear();
NioApp.Toast('Success! Transaction was successfully sent to the Blockchain!', 'success');
}
document.getElementById("sendhbitform").reset();
$('#formsend').prop('disabled', false);
},
});
});
});
function printpaperwallet() {
var pageHeader = $("<h2>HBIT BlockChain Paper Wallet - HashBit.org</h2><p>Print and Save your wallet and keep it safe, the Passphrase is the only way to access and use your HBIT wallet, and it is not possible in any way or from anyone to recover the lost Passphrase.</p><br>");
var passphraseHeader = $("<h3 data-i18n='passphrase'>Passphrase</h3>");
var passphraseText = $("<div></div>");
passphraseText.text(hbitkey);
var account = acc;
var accountHeader = $("<br><h3 data-i18n='account'>Public Wallet Address</h3>");
var accountText = $("<div></div>");
accountText.html(acc);
var accountImg = '<img src="https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl='+ acc +'&choe=UTF-8" alt="HBIT PUBLIC ADDRESS">';
$("<iframe>", { name: "paperWalletFrame", class: "printFrame"}).appendTo("body").contents().find("body")
.append(pageHeader).append(passphraseHeader).append(passphraseText).append(accountHeader).append(accountText).append(accountImg);
window.frames['paperWalletFrame'].focus();
window.frames['paperWalletFrame'].print();
setTimeout(function () {
$(".printFrame").remove();
}, 1000);
};