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/purchasek.php
<html>
<?php 
session_start();
include('db.php'); 
?>

<div 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"];
$region = $geo["geoplugin_regionName"];
$country = $geo["geoplugin_countryName"];
/*echo"$user_ip";
echo "City: ".$city."<br>";
echo "Region: ".$region."<br>";
echo "Country: ".$country."<br>";
/*
geoplugin_request
geoplugin_status
geoplugin_credit
geoplugin_city
geoplugin_region
geoplugin_areaCode
geoplugin_dmaCode
geoplugin_countryCode
geoplugin_countryName
geoplugin_continentCode
geoplugin_latitude
geoplugin_longitude
geoplugin_regionCode
geoplugin_regionName
geoplugin_currencyCode
geoplugin_currencySymbol
geoplugin_currencySymbol_UTF8
geoplugin_currencyConverter
*/


?>

<input type="text" id="country_user" class="helping_id" style="display:none;" value="<?php echo $country;?>"> 
<input type="text" id="city_user" class="helping_id" style="display:none;" value="<?php echo $city;?>">
<input type="text" id="ip_user" class="helping_id" style="display:none;" value="<?php echo $user_ip;?>">

</div>
<?php if(!isset($_SESSION['my_id'])){echo"<script>window.open('login', '_self')</script>";}else{ $user_id = $_SESSION['my_id']; ?>
<input id="my_id" value="<?php echo $user_id ?>" style="display:none;" />

<head>

<title>Buisness Mind Game</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="main_css/purchase.css?v3" />

</head>

<body id="body">
<div class="main_home_div" >
<img src="main_icon/back_btn.png" Onclick="history.back();" class="back_btn" />
<span class="main_home_title">Purchase place</span>
<span class="main_home_amt" style='margin-top:10px;color:#167cef;font-weight:bold;font-size:0.9em;'>Av Points</span>
<span class="main_home_amt" style='color:505252;font-size:0.9em;font-weight:bold;' >CB:<span id="point_transaction_output"></span>
</div>


<div id="disp_wholesale_products_output" ></div>
<div id="start_purchase_check_output" ></div>
<div id="save_purchased_product_output" ></div>
<div class="load_more_div" >
<button onClick="disp_wholesale_products();" class="purchase_loadMore_btn">Load More</button>
<input id="sub_purchase_load_count" value="0" class="help_input"/>
</div>







<script>


disp_total_point();
function disp_total_point()
{
	my_id = document.getElementById('my_id').value;
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&status=disp_total_point",false);
	xmlhttp.send(null);
	document.getElementById('point_transaction_output').innerHTML=xmlhttp.responseText;

}

disp_wholesale_products();
function disp_wholesale_products()
{
	new_count = Number(30);
	sub_purchase_load_count = Number(document.getElementById('sub_purchase_load_count').value);
    purchase_load_count = sub_purchase_load_count+new_count;
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?purchase_load_count="+purchase_load_count+"&&status=disp_wholesale_products",false);
	xmlhttp.send(null);
	document.getElementById('disp_wholesale_products_output').innerHTML=xmlhttp.responseText;
	document.getElementById('sub_purchase_load_count').value=purchase_load_count;

}

function start_purchase(sp)
{
	product_id =sp;
	my_id = document.getElementById('my_id').value;
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&product_id="+product_id+"&&status=start_purchase_check",false);
	xmlhttp.send(null);
	document.getElementById('start_purchase_check_output').innerHTML=xmlhttp.responseText;
	document.getElementById('confirm_purchase_div').style="float:left;width:100%;height:100%;position:fixed;display:flex;justify-content:center;align-items:center;";

}
function cancel_confirm_purchase()
{
	document.getElementById('confirm_purchase_div').style.display="none"; 
}
function save_purchased_product(spp)
{
	purchase_product_id = spp;
	my_id = document.getElementById('my_id').value;
	selling_price_input = document.getElementById('set_selling_price_input').value;
	prod_price_limit = document.getElementById('prod_price_limit').value;
	 
	product_purching_price = document.getElementById('product_purching_price').value;
	cancel_confirm_purchase();
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&purchase_product_id="+purchase_product_id+"&&product_purching_price="+product_purching_price+"&&selling_price_input="+selling_price_input+"&&prod_price_limit="+prod_price_limit+"&&status=save_purchased_product",false);
	xmlhttp.send(null);
	document.getElementById('save_purchased_product_output').innerHTML=xmlhttp.responseText;
	document.getElementById('confirm_purchase_tip_div').style="display:flex;";

}

function close_confirm_purchase_tip_div()
{
document.getElementById('confirm_purchase_tip_div').style.display="none";	
}




</script>

</body>
<?php } ?>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit