403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/xampp/htdocs-coblaa/BM_game/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/htdocs-coblaa/BM_game/earn.php
<html>
<head>

<title>Coblaa Games</title>
<link rel="icon" type="image/jpg" href="http://craneblue.com/coblaa/main_icon/coblaa_log.png"  />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="main_css/earn.css?v5" />
<meta name="google-adsense-account" content="ca-pub-4728417548940171"><!--gog ads  -->
<!--script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4728417548940171"crossorigin="anonymous"></script><!-- ad unit  -->

</head>
<span style="display:none;" >
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$country = $geo["geoplugin_countryName"];
//echo" mmm $user_ip";
$curr_day = date("d");
$curr_month = date("m");
$curr_year = date("Y");
?>
<input type="text" id="user_ip" value="<?php echo"$user_ip";?>" style="display:none;" />
<input type="text" id="user_city" value="<?php echo"$city";?>" style="display:none;" />
<input type="text" id="user_country" value="<?php echo"$country";?>" style="display:none;" />

<input type="text" id="curr_day" value="<?php echo"$curr_day";?>" style="display:none;" />
<input type="text" id="curr_month" value="<?php echo"$curr_month";?>" style="display:none;" />
<input type="text" id="curr_year" value="<?php echo"$curr_year";?>" style="display:none;" />

<?php 
session_start();
include('db.php'); 

if(isset($_SESSION['my_id']))
{
$user_id = $_SESSION['my_id'];



?>
</span>
<input id="my_id" value="<?php echo $user_id ?>" style="display:none;" />

<input id="my_id" value="<?php echo $sg_edit ?>" style="display:none;" />
<input id="my_id" value="<?php echo $sg_del ?>" style="display:none;" />
<body id="boded" >

<?php
/*
$get_game_acc ="select * from gamebanktb where user_id='$user_id'";
$run_get_game_acc = mysqli_query($con,$get_game_acc);	
$check_get_game_acc = mysqli_num_rows($run_get_game_acc);
if($check_get_game_acc >0){*/
?>
<div id="cb_preloader" class="cb_preloader" ><img  src="main_icon/preloader.gif" class="cb_preloader_img"  ></div>

<div class="main_home_div" >

<div id="main_header_div" class="main_header_div" >
<a href="index"><img src="main_icon/coblaa_log.png" class="coblaa_log_img"  ></a>
<h1 class="main_home_title" >Coblaa Earn</h1>
<img src="main_icon/menu_icon.png" onClick="show_menu_div();" class="menu_icon"  >
</div>

</div>
<div class="positioning_div"></div>

<div id="menu_shell_div" class="menu_shell_div">

<div class="menu_div">

<a href="index"><button class="menu_btn">Home</button></a>
<?php if(isset($_SESSION['my_id'])){ ?>
<!--button onClick="show_withdraw_div();" class="menu_btn">Withdrawal</button>
<button onClick="show_airtime_topup_div();" class="menu_btn">Mobile Topup</button-->
<?php if($user_id =='CB1'){ ?> 
<a href="earn_control"><button class="menu_btn">Earn Control</button></a>	
<?php } ?>
<?php } ?>
<button class="menu_btn">Contact us</button>
<a href="terms"><button class="menu_btn">Privacy Policy</button></a>
<?php if(isset($_SESSION['my_id'])){ ?>
<a href="logout"><button class="menu_btn">Logout</button></a>	

<?php }else{ ?>
	
<a href="login"><button class="menu_btn">Login</button></a>	
	
<?php } ?>


</div>
<div onClick="close_menu_div();"  class="menu_clocing_div"></div>
</div>


<div class="userprofile_div" >

<span class="user_right" >
<span idk="user_cur_amt_output" class="coin_name"> Total Points</span>
<span idk="user_cur_amt_output" class="coin_name"> Energy</span>
<span id="user_point_output" class="coin_in_ug"></span>
<span idk="enegy_count_output" class="coin_in_ug"><span id="enegy_count_output" ></span> - 10</span>
</span>

</div>

<div class="content_div" >
<div id="play_game_output"></div>
<button id="game_claim_btn" onClick="claim_coin()" class="game_claim_btn" >Claim</button>

<div id="game_life_div" class="game_life_div" >
<span class="game_life_title">Game energy too low</span>
<span class="game_life_tip"><!--span class="game_life_tip">Come Back Tomorrow</span--></span>
<?php
$cur_date =$curr_year.'-'.$curr_month.'-'.$curr_day;
  $get_user_sale_bost = "select * from performancetb where my_id='$user_id' ";
  $run_get_user_sale_bost = mysqli_query($con,$get_user_sale_bost);
while($row_get_user_gameplay = mysqli_fetch_array($run_get_user_sale_bost))
{
	$game1_adview = $row_get_user_gameplay['game1_adview'];
	$get_date = $row_get_user_gameplay['cur_date'];
	
	if($game1_adview <2 || $get_date !== $cur_date){ 

?>
<a href='kvt_adpage_gm1?game1_ad=game1_adview'><button class="game_life_recharge_btn">Boost nows</button></a>
<?php }else{ ?>
<button onClick="game1bk_later();" class="game_life_recharge_btn">Boost now</button>
<?php } } ?>
</div>




<span id="dis_ad_view_output" class="help_span"></span>







<span id="topup_erorr2" class="topup_erorr" style="color:#000;" ></span>

</div>






</div><!-- end of content_div -->

<div id="game_nofti_msg" class="game_nofti_msg" >
<div class="erorr_msg">
<div id="erorr_msg_title" class="erorr_msg_title">Your reward has been added </div>
<button onClick="clear_game_nofti_msg();" class="erorr_msg_btn">OK</button>
</div>
</div>
<div id="erorr_msg_help" style="display:none;" ></div>
<span id="cur_game_chance2" style="display:none;" ></span>

<?php //}else{ ?>

<!--span id="get_start_error" class="withdrawal_error"></span>
<div class="get_start_div" ><button onClick="create_gamebank();" class="get_start_btn">Get Started</button></div-->
<?php	//} ?>

<div class="game_tips_game" stylek="display:none;" >
<p><strong style="color:orange;font-size:1.2em;">Tips for the Game.</strong></br>
This game is all about speed and observation. The 5-second time limit means you need to be quick and efficient. Tip find the matching image faster.
</p>
<p><strong style="color:blue;">Practice is Key.</br></strong> The more you play, the better your brain will get at this type of visual processing. Your eyes and mind will work together more efficiently to spot the correct image faster.</p>
</div>

<div class="footer_div"><a href="https://coblaa.com/privacy_policy"><span>Privacy policy</span></div>

<script>

  window.addEventListener('load', function(){
  document.getElementById('cb_preloader').style.display="none";
  } );




function show_menu_div()
{
	document.getElementById('menu_shell_div').style.display="block";
	//alert(47);
}
function close_menu_div()
{
	document.getElementById('menu_shell_div').style.display="none";
	//alert(47); 
}

disp_game();
function disp_game()
{ 
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?status=disp_game",false);
	xmlhttp.send(null);
  
   document.getElementById('play_game_output').innerHTML=xmlhttp.responseText;
   document.getElementById('game_claim_btn').style="display:none;";
   let sub_gm_timer = 0;
   
   const id = setInterval(frame, 1000);
   function frame() {
   if (sub_gm_timer == 5) {
	   clear_game_nofti_msg();
      clearInterval(id);
    } else {
      sub_gm_timer++; 
document.getElementById('gm_timer').innerHTML=sub_gm_timer;
    }
  }
}
/*
disp_pro_usr();
function disp_pro_usr()
{
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?status=disp_pro_usr",false);
	xmlhttp.send(null);
	document.getElementById('profile_usr_name_output').innerHTML=xmlhttp.responseText;

}*/


disp_user_point_gm1();
function disp_user_point_gm1()
{
	my_id = document.getElementById('my_id').value;
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&status=disp_user_point_gm1",false);
	xmlhttp.send(null);
	document.getElementById('user_point_output').innerHTML=xmlhttp.responseText;
	//alert(my_id); user_cur_amt_output
}

function compare_valvegame(cvg)
{
	selected_icon = cvg;
	correct_game_valve = document.getElementById('game_icon_img_top').innerHTML;
	
	if(selected_icon == correct_game_valve){
	document.getElementById(selected_icon).style="background:#95fdaa;border:2px solid #57f276;";
    document.getElementById('corrent_g_icon').style="background:#95fdaa;border:2px solid #57f276;";
    document.getElementById('sub_game_bottom').style="display:none;";
    document.getElementById('game_claim_btn').style="display:block;";
    document.getElementById('cur_reward').value='K';

	}else{

		document.getElementById(selected_icon).style="background:#f7b0de;border:2px solid #f93636;";
		document.getElementById('corrent_g_icon').style="background:#f7b0de;border:2px solid #f93636;";
		document.getElementById('sub_game_bottom').style="display:none;";
		document.getElementById('try_agin_btn').style="display:block;";
		document.getElementById('cur_reward').value='V';
	}

}

gameplay_chanes_count();
function gameplay_chanes_count()
{
    my_id = document.getElementById('my_id').value;
	curr_day = document.getElementById('curr_day').value;
	curr_month = document.getElementById('curr_month').value;
	curr_year = document.getElementById('curr_year').value;
	cur_final_date =curr_day+"-"+curr_month+"-"+curr_year;

	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&status=gameplay_chanes_count",false);
	xmlhttp.send(null);	
	document.getElementById('erorr_msg_help').innerHTML=xmlhttp.responseText;

	game_chance = document.getElementById('game_chance').innerHTML;

	game_chance_date = document.getElementById('game_chance_date').innerHTML;

	document.getElementById('enegy_count_output').innerHTML=game_chance;

	if(game_chance >9 && game_chance_date==cur_final_date){

	document.getElementById('play_game_output').style.display="none";
	document.getElementById('game_life_div').style.display="block";	
	
	document.getElementById('cur_game_chance2').innerHTML=1;

	}else if(game_chance >9 && game_chance_date !== cur_final_date){
		
	document.getElementById('play_game_output').style.display="block";
	document.getElementById('game_life_div').style.display="none";			
	document.getElementById('cur_game_chance2').innerHTML=1;	
	} else{	
	document.getElementById('play_game_output').style.display="block";
	document.getElementById('game_life_div').style.display="none";
    document.getElementById('cur_game_chance2').innerHTML=Number(game_chance)+1;

}	
}
function claim_coin()
{ 
	document.getElementById('game_claim_btn').style="display:none;";
	my_id = document.getElementById('my_id').value;
	cur_game_chance = document.getElementById('cur_game_chance2').innerHTML;
	cur_reward = document.getElementById('cur_reward').value;

	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&cur_reward="+cur_reward+"&&cur_game_chance="+cur_game_chance+"&&status=insert_greward_game",false);
	xmlhttp.send(null);
	document.getElementById('erorr_msg_title').innerHTML=xmlhttp.responseText;
	document.getElementById('game_nofti_msg').style="display:block;display:flex;justify-content:center;align-items:center;";

gameplay_chanes_count(); 
disp_game();
disp_cur_amt();


}
function clear_game_nofti_msg()
{
	window.open('earn','_self')
}

function game1bk_later()
{
	alert('Come Back Later');
}



</script>

</body>	
<?php //}else{ ?>
<!--div class="get_start_div" ><button>Get Started</button></div--> 
<?php	
//}
}else{
	
echo"<script>window.open('login','_self')</script>";
}
?>


				
</html>


Youez - 2016 - github.com/yon3zu
LinuXploit