This is the draft pick situation from here out:
2017:
Chicago gets our pick this year if it
isn't in the top 10. Otherwise they get our second round pick next year and we no longer owe them anything.
Also, if our pick is in the top 10 then Philly has swap rights. They'll trade us their lottery pick for ours only if ours is better (they're currently tied with Dallas for the worst record in the league).
2018:
We keep our pick in 2018 because you can't trade consecutive picks.
2019:
Philly gets our first round pick in 2019 no matter what. Hopefully it isn't a good one.