Thread:Project:Support desk/Don't show on action=edit pages or special pages

I am adding facebook comments to my skin file. However, I don't want it to show on special pages and edit pages. How do I code this in php? Thanks