Skip to content

Commit b040b39

Browse files
committed
Removed every single rest of coinhive.
1 parent a0b00fc commit b040b39

27 files changed

Lines changed: 21 additions & 1041 deletions

web/admin/dashboard.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252
<?php }?>
5353

5454
<span id='site_scripts'>
55-
56-
<?php // require_once ($_hp.'include/coinhivescript.php'); ?>
5755
<script class='check_js'></script>
5856

5957
<script src='<?php echo $_dhp;?>js/sha256.js'></script>

web/ajax/coinhive.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

web/index.php

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363

6464
<span id='site_scripts'>
6565

66-
<?php // require_once ($_hp.'include/coinhivescript.php'); ?>
6766
<script class='check_js'></script>
6867

6968
<script src='<?php echo $_dhp;?>js/load_more.js'></script>
@@ -85,15 +84,10 @@
8584
<div class='col-md-12'>
8685

8786
<?php
88-
if($isUserLoggedIn === 1){
89-
$user_sql = db::$link->query("SELECT partner_status FROM user_find_db WHERE uuid = '$user_uuid'");
90-
$user_row = $user_sql->fetch_assoc();
91-
if($user_row['partner_status'] == 0){
92-
echo "<div class='w-100 pad-10' style='background-color:#333333'><a href='".$_dhp."r/go_partner'>".$l->part_go_partner_title1."</a></div>";
93-
}
94-
}else{
87+
/*
88+
MAIN PAGE MSG
9589
echo "<div class='w-100 pad-10' style='background-color:#333333'><a href='".$_dhp."r/go_partner'>".$l->part_go_partner_title1."</a></div>";
96-
}
90+
*/
9791
?>
9892

9993
<h1><?php echo $l->index_public_videos; ?></h1>
@@ -160,9 +154,4 @@
160154
</body>
161155
</html>
162156
<?php }
163-
164-
/*}else{
165-
require_once ($_hp.'include/coinhivetext.php');
166-
}*/
167-
168157
?>

web/js/function.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ function docready(){
4646
ready_navigator();
4747
resetval();
4848

49-
var inter_coinhive = null;
50-
var inter_coinhive2 = null;
51-
5249
setTimeout( function(){
5350
$('.docready-script').remove();
5451
$('.check_js').remove();
@@ -194,7 +191,8 @@ function loadfun_falseLink(){
194191

195192

196193
function close_miniplayer(){
197-
videojs("we-teve_video").dispose();
194+
videojs("miniplayer_video").dispose();
195+
198196
$('.miniplayer_box_header').html('');
199197
$('.miniplayer_box').addClass('hide');
200198
$('.miniplayer .video-js .vjs-backtowatch-control').addClass('hide');
@@ -314,8 +312,6 @@ function loadfun_falseLink(){
314312
clearInterval(inter_testvolum_is_changed);
315313
clearInterval(ach_animation_interval);
316314
clearInterval(inter_video_ended);
317-
if(typeof inter_coinhive != 'undefined'){clearInterval(inter_coinhive);}
318-
if(typeof inter_coinhive2 != 'undefined'){clearInterval(inter_coinhive2);}
319315
}
320316

321317

@@ -479,8 +475,6 @@ function loadfun_falseLink(){
479475
clearInterval(inter_testvolum_is_changed);
480476
clearInterval(ach_animation_interval);
481477
clearInterval(inter_video_ended);
482-
if(typeof inter_coinhive != 'undefined'){clearInterval(inter_coinhive);}
483-
if(typeof inter_coinhive2 != 'undefined'){clearInterval(inter_coinhive2);}
484478
}
485479

486480

web/js/function.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/mail/mail_in.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
require_once("phpmailer.php"); // extends achievement
44
include("class.smtp.php");
5-
require_once( $_hp."../config/mailconfig.php" );
65

76
class mail extends SMTP
87
{
98

109
public function sendmail($sendto,$subject,$content)
1110
{
11+
require_once( "../.config/mailconfig.php" );
12+
1213
$mail = new phpmailer();
1314
$mail->IsSMTP();
1415
$mail->CharSet = 'UTF-8';

web/partner/dashboard.php

Lines changed: 0 additions & 208 deletions
This file was deleted.

0 commit comments

Comments
 (0)