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:/xamppkk/htdocs-coblaa/marketk/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xamppkk/htdocs-coblaa/marketk/eam.php
<html>
<?php 
session_start();
include('db_con.php'); 
//include('function.php');
?>

<?php
if(isset($_SESSION['id']))
{
//$_SESSION['email']=$user_email;
$my_id = $_SESSION['id'];
//echo"$my_id";
}
?>
<input type="text" id="my_id" class="helping_id" style="display:none;" value="<?php echo $my_id;?>"> 

 <?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="region_user" class="helping_id" style="display:none;" value="<?php echo $region;?>">
<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;?>">



<head>

<title>east african market online store</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--link rel="icon" href="kvt_con/khalaf_log.jpg" type="image/ico"-->
<link rel="stylesheet" type="text/css" href="main_css/index.css" />
<script data-ad-client="ca-pub-5844229537144835" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

</head>

<body id="body">

<div class="main_home_area" >

<a href="http://craneblue.com/market/store"><div class="main_home_tile">EA Market</div></a>

<div class="sub_home_btn_area">

<div class="show_mob_search_div_protecting_div">
<img onClick="show_mob_search_div();" id="show_mob_search_div" src="main_icons/search_icon2.png" width="30" height="30" class="mob_location_icon_btn" style="cursor:pointer;" />
</div>

<a href="http://craneblue.com/market/store"><button class="home_btn">Home</button></a>

<button onmouseover="show_category_div();"  class="home_btn">Categories</button>

<input type="text" id="ad_search_input_pc" onkeyup="show_search_result();" class="ad_search_input" placeholder="search..." />
<img onClick="show_search_result();" src="main_icons/search_icon.png" width="30" height="30" class="ad_search_btn" />
<?php
if(isset($_SESSION['id']))
{?>
<a href="log_out"><button class="home_upload_ad_btn">Logout</button></a>
<a href="upload_ad"><button class="home_upload_ad_btn">Sell Ad</button></a>
<?php }else{ ?>

<a href="login"><button class="home_upload_ad_btn">Login</button></a>
<a href="login"><button class="home_upload_ad_btn">Sell Ad</button></a>

<?php } ?>

<div class="mob_menu_icon_btn_css_protector">

<img id="show_menu_div" onClick="show_menu_div();" src="main_icons/menu_icon.png" class="mob_menu_icon_btn" />
<img id="close_menu_div" onClick="close_menu_div();" src="main_icons/close_mob_menu.png" class="mob_menu_icon_btn" style="display:none;" />

</div>
<div class="home_current_country" >
<img src="main_icons/location_icon.png" class="location_icon_btn" />

<div class="location_icon_text"><?php echo $country;?></div>

</div>


</div>



<div id="category_div" onmouseleave="close_category_div();" class="category_div">
<a href="index.php"><button class="category_btn">All Products</button></a>
<button onClick="display_product_category(10);" class="category_btn">Fruits</button>
<button onClick="display_product_category(11);" class="category_btn">Vegetables</button>
<button onClick="display_product_category(12);" class="category_btn">Bananas</button>
<button onClick="display_product_category(13);" class="category_btn">Yams</button>
<button onClick="display_product_category(14);" class="category_btn">Potatoes</button>
<button onClick="display_product_category(15);" class="category_btn"> Flour</button>
<button onClick="display_product_category(16);" class="category_btn">Maize</button>
<button onClick="display_product_category(17);" class="category_btn">Cheese</button>
<button onClick="display_product_category(18);" class="category_btn">G Nuts</button>
<button onClick="display_product_category(19);" class="category_btn">Spicies</button>

<a href="http://khalafsons.com"><button onClick="display_product_category(20);" class="category_btn">House For Rent</button></a>

</div>

<div class="ad_search_input_mob_protecting_div">
<input type="text" id="ad_search_input_mob" onkeyup="show_search_result();" class="mob_ad_search_input" placeholder="search..." />
<button onClick="close_mob_search_div();" id="mob_ad_search_btn" class="mob_ad_search_btn">x</button>

</div>

<script>


function show_category_div()
{
	document.getElementById('category_div').style.display="block";
	document.getElementById('show_category_btn').style="height:25px;background:Silver;border-radius:5px;";
	document.getElementById('show_status_btn').style.background="transparent";
	
}
function close_category_div()
{
	document.getElementById('category_div').style.display="none";
	document.getElementById('show_category_btn').style.background="transparent";
}

function show_menu_div()
{
	scrollTo(0,0);
	document.getElementById('mob_menu_div').style.display="block";
	document.getElementById('body').style="overflow:hidden;";
	
	document.getElementById('close_menu_div').style.display="block";
	document.getElementById('show_menu_div').style.display="none";
	
	document.getElementById('ad_search_input_mob').style.display="none";
	document.getElementById('mob_ad_search_btn').style.display="none";
	document.getElementById('show_mob_search_div').style.display="block";
	
	//document.getElementById('show_status_btn').style="height:30px;background:Silver;border-radius:5px;";
	
}
function close_menu_div()
{
	//scrollTo(0,0);
	document.getElementById('mob_menu_div').style.display="none";
	document.getElementById('body').style="overflow:auto;";
	
	document.getElementById('close_menu_div').style.display="none";
	document.getElementById('show_menu_div').style.display="block";
	
	document.getElementById('category_div').style.display="none"; 

}


function show_mob_search_div()
{
	//alert('yop'); 
	document.getElementById('ad_search_input_mob').style.display="block";
	document.getElementById('mob_ad_search_btn').style.display="block";
	document.getElementById('show_mob_search_div').style.display="none";
	document.getElementById('main_banner_area').style="margin-top:60px;";
	//document.getElementById('display_search_result_div').style="margin-top:60px;display:block;";
	scrollTo(0,0);
	
	document.getElementById('mob_menu_div').style.display="none";
	document.getElementById('body').style="overflow:auto;";
	
	document.getElementById('close_menu_div').style.display="none";
	document.getElementById('show_menu_div').style.display="block";
	
	document.getElementById('category_div').style.display="none"; 
}
function close_mob_search_div()
{
	//alert('yop'); 
	document.getElementById('ad_search_input_mob').style.display="none";
	document.getElementById('mob_ad_search_btn').style.display="none";
	document.getElementById('show_mob_search_div').style.display="block";
	document.getElementById('main_banner_area').style.style="margin-top:15px;";
	//document.getElementById('display_search_result_div').style="margin-top:15px;display:block;";
}

</script>

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

<div id="mob_menu_div" class="mob_menu_div">

<a href="http://craneblue.com/market/store"><button class="mob_home_btn">Home</button></a>

<button id="show_category_btn" onmouseover="show_category_div();"  class="mob_home_btn">Categories</button>

<!--a href="upload_ad"><button class="mob_home_btn">Sell with us</button></a-->

<?php
if(isset($_SESSION['id']))
{?>
<a href="upload_ad"><button class="mob_home_btn">Sell with us</button></a>
<a href="log_out"><button class="mob_home_btn">Logout</button></a>

<?php }else{ ?>
<a href="login"><button class="mob_home_btn">Sell with us</button></a>
<a href="login"><button class="mob_home_btn">Login</button></a>


<?php } ?>


</div>


<div id="main_content_area" class="main_content_area">

<div id="main_banner_area" class="main_banner_area"><img src="shop_banner_images/shop_banner.JPEG" class="main_banner_image" /></div>


<div id="sub_content_area" class="sub_content_area">


<?php
$get_advert = "select * from adverttb ORDER BY RAND()";// order by id desc";
$run_advert = mysqli_query($con,$get_advert);
while($row_advert = mysqli_fetch_array($run_advert))
{
	$product_id = $row_advert['id'];
	$product_name = $row_advert['product_name'];
	$product_detail = $row_advert['product_detail'];
	$product_image = $row_advert['product_image'];
	$product_url = $row_advert['product_url'];
	$product_price = $row_advert['product_price'];
	$currency_name = $row_advert['currency_name'];
	
?>

<input type="text" id="product_id<?php echo $product_id;?>" class="helping_id" style="display:none;" value="<?php echo $product_id;?>">
<div class="single_advert">


<div class="product_image_div" >

<?php if($product_url !==""){ ?>

<a href="<?php echo $product_url ?>">
<img src="advert_images/<?php echo"$product_image"; ?>" onClick="get_user_view(this.id);" id="<?php echo $product_id;?>" class="ad_product_image" style="" />
</a>

<?php }else{ $tincy =rand(); ?>

<a href="detail.php?your_ad=<?php echo"$product_id";?> ">

<img src="advert_images/<?php echo"$product_image"; ?>" onClick="get_user_view(this.id);" id="<?php echo $product_id;?>" class="ad_product_image" style="" />
</a>

<?php } ?>

</div>

<div class="product_name_text"><?php echo $product_name; ?></div>
<div class="detailed_text"><?php echo $product_detail; ?></div>

<div class="ad_view_div">
<?php

$get_view ="select * from ad_viewtb where ad_product_id='$product_id'";
$run_get_ad_view = mysqli_query($con,$get_view);
$check_view = mysqli_num_rows($run_get_ad_view);
if($check_view >0){
	
	if($check_view >1){echo"views: ";}else{echo"view: ";}
	echo"$check_view ";
	
	}

//views

?>

</div>

<?php  
if($product_price){echo"<div class='show_price'>$currency_name $product_price</div>";}else{
?>
<a href="<?php echo $product_url ?>">
<button onClick="get_user_view(this.id);" id="<?php echo $product_id;?>" class="show_price">Price</button>
</a>
<?php } ?>
</div><!--end of single_advert-->
<?php } ?>

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

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


<!--div id="display_brand_status_div" class="display_brand_status_div" >
<div id="disp_product_status_title" class="disp_product_status_title"></div>
<!--div id="display_brand_status_output" ></div-->

<script>

function get_user_view(guv)
{
	product_id ='product_id'+guv;
	ad_product_id = document.getElementById(product_id).value;
	user_ip = document.getElementById('ip_user').value;
	user_country = document.getElementById('country_user').value;
	user_city = document.getElementById('city_user').value;
	
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","main_auto_page.php?ad_product_id="+ad_product_id+"&user_ip="+user_ip+"&user_country="+user_country+"&user_city="+user_city+"&status=insert_ad_view",false);
	xmlhttp.send(null);

	
}



</script>



<div id="display_product_category_div" class="display_product_category_div" >
<div id="disp_product_category_title" class="disp_product_category_title"></div>
<div id="display_product_category_output" ></div>


<script>
function display_product_category(dpc)
{ 
   var product_category;

   if(dpc ==10){ product_category = "Fruits";}else if(dpc ==11){product_category ="Vegetables";}else if(dpc ==12){product_category ="Bananas";}
   else if(dpc ==13){product_category ="Yams";}else if(dpc ==14){product_category ="Potatoes";}else if(dpc ==15){product_category ="Flour";}
   else if(dpc ==16){product_category ="Maize";}else if(dpc ==17){product_category ="Cheese";}else if(dpc ==18){product_category ="G Nuts";}
   else if(dpc ==19){product_category ="Spicies";}
//alert(product_category);

    xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","main_auto_page.php?product_category="+product_category+"&status=display_product_cartegory",false);
	xmlhttp.send(null);
	
	document.getElementById('disp_product_category_title').innerHTML=product_category;
	
	document.getElementById('display_product_category_output').innerHTML =xmlhttp.responseText;
	
	document.getElementById('main_content_area').style.display="none";
	//document.getElementById('display_brand_status_div').style.display="none";
	document.getElementById('display_search_result_div').style.display="none";
	document.getElementById('display_product_category_div').style.display="block";
	
	document.getElementById('mob_menu_div').style.display="none";
	document.getElementById('body').style="overflow:auto;";
	document.getElementById('category_div').style.display="none"; 
	document.getElementById('close_menu_div').style.display="none";
	document.getElementById('show_menu_div').style.display="block";
	
//alert(543);
}

</script>

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




<div id="display_search_result_div" class="display_search_result_div" >
<div id="disp_search_result_title" class="disp_search_result_title"></div>
<div id="display_search_result_output" ></div>

<script>

function show_search_result()
{
	
	search_result_pc = document.getElementById('ad_search_input_pc').value;
	search_result_mob = document.getElementById('ad_search_input_mob').value;
	
	if(search_result_pc !==""){search_result = search_result_pc;}
	if(search_result_mob !==""){search_result = search_result_mob;}

	search_result_length = search_result.length;
	alert(search_result_length);
	if(search_result_length >1){
		
    document.getElementById('display_search_result_div').style.display="block";
	document.getElementById('main_content_area').style.display="none";
	document.getElementById('main_banner_area').style.display="none";
	document.getElementById('display_product_category_div').style.display="none";
	//document.getElementById('display_brand_status_div').style.display="none";

    xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","main_auto_page.php?search_result="+search_result+"&status=display_sub_search_result",false);
	xmlhttp.send(null);
	
	document.getElementById('disp_search_result_title').innerHTML="Search Results";
	
	search_result_hp = document.getElementById('display_search_result_output').innerHTML =xmlhttp.responseText;

	

	}/*else{ //alert('good');
		document.getElementById('display_search_result_div').style.display="none";
		document.getElementById('main_content_area').style.display="block";
		document.getElementById('main_banner_area').style.display="block";
		//document.getElementById('sub_search_output').innerHTML ="";
	}	
		*/
}



</script>


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


<div class="footer" >

<div class="information_footer" >
<div class="title_footer" >INFORMATION</div>
<div class="links_footer" >About us</div>
<div class="links_footer" >Contact us</div>


<?php
if(isset($_SESSION['id']))
{?>
<a href="log_out"><div class="links_footer" >Logout</button></div></a>
<a href="upload_ad"><div class="links_footer" >Sell Ad</button></div></a>
<?php }else{ ?>
<a href="login"><div class="links_footer" >Sell Ad</button></div></a>
<a href="login"><div class="links_footer" >Login</button></div></a>


<?php } ?>




</div>

<div class="information_footer" >
<div class="title_footer" >POLICY USE</div>
<div class="links_footer" >Terms of use</div>
<div class="links_footer" >Security</div>
<div class="links_footer" >Cookie Policy</div>
</div>

<div class="information_footer" >
<div class="title_footer" >LOCATIONS</div>
<div class="links_footer" >Kampala</div>
<div class="links_footer" >Mukono</div>
<div class="links_footer" >Mbarara</div>
</div>


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





</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit