function remove() { $id=intval($_GET['id']); house::setUserStatus($id,$_SESSION['user_id'],REALTY_STATUS_DELETED); header("Location: ".$_SERVER['HTTP_REFERER']); exit(); }