GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/m/
Upload File :
Current File : /home/serb/public_html/m/escortimaage-process.php

<?
  session_start();
 include("lib/globals.php");
 include("lib/common.php");
 include("lib/functions.php");
 if($_POST)
  {
	 if($_FILES['ad_image1']['name'])
		{
			$manu_imagename1=time().$_FILES['ad_image1']['name'];
			move_uploaded_file($_FILES['ad_image1']['tmp_name'],'../avtar/'.$manu_imagename1);
			
			$image2= new SimpleImage();
			$image2->load('../avtar/'.$manu_imagename1);
			$image2->resizeToWidth(250);
			$image2->resizeToHeight(350);
			$image2->save('../thubigg/'.$manu_imagename1);
			
			
			$image1= new SimpleImage();
			$image1->load('../avtar/'.$manu_imagename1);
			$image1->resizeToWidth(100);
			$image1->resizeToHeight(120);
			$image1->save('../thumbs_pic/'.$manu_imagename1);
			
			
		}
		else
		{
			$manu_imagename1=$_POST['img1'];
		}
		
		if($_POST['picid1'])
		{
			$pics1_insert="UPDATE escort_photo SET picture='$manu_imagename1' where id='".$_POST['picid1']."'";
			execute_query($pics1_insert);
		}
		
		
		
		    if($_FILES['ad_image2']['tmp_name'])
						 {
							$manu_imagename11=time().$_FILES['ad_image2']['name'];
							move_uploaded_file($_FILES['ad_image2']['tmp_name'],'../avtar/'.$manu_imagename11);
							
							$image1= new SimpleImage();
							$image1->load('../avtar/'.$manu_imagename11);
							$image1->resizeToWidth(100);
							$image1->resizeToHeight(120);
							$image1->save('../thumbs_pic/'.$manu_imagename11);
							
						 }
					else
			
					{
				
						$manu_imagename11=$_POST['img2'];
				
					}
					
				if($_POST['picid2'])
				{
					$pics2_insert="UPDATE escort_photo SET picture='$manu_imagename11' where id='".$_POST['picid2']."'";
					execute_query($pics2_insert);
				}	
					
					
					
					
		if($_FILES['ad_image3']['tmp_name'])
						 {
							$manu_imagename12=time().$_FILES['ad_image3']['name'];
							move_uploaded_file($_FILES['ad_image3']['tmp_name'],'../avtar/'.$manu_imagename12);
							
							$image1= new SimpleImage();
							$image1->load('../avtar/'.$manu_imagename12);
							$image1->resizeToWidth(100);
							$image1->resizeToHeight(120);
							$image1->save('../thumbs_pic/'.$manu_imagename12);
							
						 }
					else
			
					{
				
						$manu_imagename12=$_POST['img3'];
				
					}
					
					if($_POST['picid3'])
						{
							$pics3_insert="UPDATE escort_photo SET picture='$manu_imagename12' where id='".$_POST['picid3']."'";
							execute_query($pics3_insert);
						}	
					
					
					
					
		if($_FILES['ad_image4']['tmp_name'])
						 {
							$manu_imagename13=time().$_FILES['ad_image4']['name'];
							move_uploaded_file($_FILES['ad_image4']['tmp_name'],'../avtar/'.$manu_imagename13);
							
							$image1= new SimpleImage();
							$image1->load('../avtar/'.$manu_imagename13);
							$image1->resizeToWidth(100);
							$image1->resizeToHeight(120);
							$image1->save('../thumbs_pic/'.$manu_imagename13);
							
						 }
					else
			
					{
				
						$manu_imagename13=$_POST['img4'];
				
					}
					
					if($_POST['picid4'])
					 {
						$pics4_insert="UPDATE escort_photo SET picture='$manu_imagename13' where id='".$_POST['picid4']."'";
						execute_query($pics4_insert);
			          }	
					  
					  ?>
						<script language="javascript">						 
							location.href="escortimages.php";
							
						</script>   
						<? 
					  
  }
?>

./BlackJoker Mini Shell 1.0