GIF89a;
Direktori : /home/serb/www/admin/ |
Current File : /home/serb/www/admin/delete_postads.php |
<? include("sessionout.php"); include("../lib/globals.php"); include("../lib/common.php"); $id=$_GET["id"]; $page=$_GET['page']; $sql_popularity="DELETE FROM popularity WHERE postid='$id'"; execute_query($sql_popularity); $del_photo="delete from escort_photo where postid='$id'"; execute_query($del_photo); $sql_twdelete="delete from tweet where postid='$id'"; execute_query($sql_twdelete); $sql_tour="DELETE FROM escort_tours WHERE postid='$id'"; execute_query($sql_tour); $del_sq="delete from escort_details where id='$id'"; execute_query($del_sq); header("location:list_post_ad.php?page=$page"); ?>