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/market/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/htdocs-coblaa/market/studio.php
<html>
<?php 
session_start();
include('db.php'); 
//include('function.php');
?>

<?php
if(isset($_SESSION['my_id']))
{
$my_id = $_SESSION['my_id'];
//echo"$my_phone";
}
if(isset($_SESSION['contact']))
{

$my_phone = $_SESSION['contact'];
echo"$my_phone";
}
?>

<div style="display:none;" >
<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;?>">

</div>

<head>

<title>Cobmall.com,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/studio.css" />

</head>

<body id="body">

<div class="home_div" >
<img src="main_icons/crane log.jpeg" class="home_log" />
<a href="index" ><button class="home_btn" >Home</button></a>
<?php if(isset($_SESSION['my_id'])){ ?>
<a href="studio" ><button class="home_btn" >Studio</button></a>
<?php } ?>

<div class="home_search_div" style="display:none;" >
<form method='post'>
<input id="search_input" name="search_input" autocomplete="off" onKeyup="disp_categorys();" class="search_input" placeholder="search..." />
<img  src="main_icons/search_icon2.png" onClick="document.getElementById('start_search').click();" class="home_search_icon" />
<button type="submit" id="start_search" name="start_search" style="display:none;"></button>
</form>

<?php
if(isset($_POST['start_search']))
{
	$search_input = $_POST['search_input'];
	echo"<script>window.open('search?kvt_sear=$search_input','_self')</script>";
}

?>
</div>
<?php if(isset($_SESSION['my_id'])){ ?>
<a href="upload_ad" ><button class="home_btn" >Upload</button></a>
<a href="logout" ><button class="home_btn" >Logout</button></a>

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



</div>

<!--div class="home_div_mob_helping" >
<div id="home_div_mob" class="home_div_mob" >
<img src="main_icons/crane log.jpeg" class="home_log" />
<img src="main_icons/cate.png" onClick="showa_menu_div();" class="home_menu_mob" />

 <img src="main_icons/search_icon2.png" onClick="show_mob_search_div();" class="home_search_icon_mob" />
</div>
</div-->

<div class="home_positioning_div" ></div>

<div class="sel_content_div" >

<div class="sub_sel_content_div" >

<?php

$get_advert = "select * from adverttb where my_id='$my_id' ORDER BY id desc";
$run_advert = mysqli_query($con,$get_advert);
$check_advert = mysqli_num_rows($run_advert);

 $con = mysqli_connect('localhost','root','2019khalaf','cranebule_userdb');
 if(! $con){echo"You have not connected to the database.";}
 else{

	$get_user = "select * from cb_userstb where id='$my_id'";
	$run_get_user = mysqli_query($con,$get_user);	
    while($row_get_user = mysqli_fetch_array($run_get_user))
	{
		$my_phone = $row_get_user['contact'];

	//}


?>
<div class="top_selection_title" >You Have <?php echo $check_advert ?> Adverts </div>

<div class="user_profile_info">
<div class="user_profile_img"></div>
<div class="user_profile_name">Kakande Tony</div>
<div class="user_post_no">Posts <?php echo $check_advert ?></div>
<div class="user_contact">Phone <?php echo $my_phone ?></div>
</div>


 <?php } } ?>

<?php
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'];
	$product_category = $row_advert['product_category'];
	
?>

<div class="sel_single_ad_div" >
<!--div class="sel_single_ad_img" ></div-->
<a href="detail.php?your_ad=<?php echo"$product_id";?> ">
<img src="advert_images/<?php echo"$product_image"; ?>" class="sel_single_ad_img" />
</a>

<div class="sel_single_ad_detail" >
<div class="sel_single_ad_name" ><a href="detail.php?your_ad=<?php echo"$product_id";?> "><?php echo"$product_name"; ?></a></div>
<?php echo"$product_detail"; ?>

</div>
<div class="sel_single_ad_btn" >
<div class="sel_price_div" >UGX: <?php echo"$product_price"; ?>/=</div>
<a href="detail.php?your_ad=<?php echo"$product_id";?> "><button class="sel_buy_btn" >Buy Now</button></a>

</div>

</div>

<?php }  ?>


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

</div><!--end of sel_content_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['my_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