Here's a quick version:

Antimagic Field, Lesser
Level: Clr 7, Magic 5, Protection 5, Sor/Wiz 5
Components: V, S, M/DF
Casting Time: 1 standard action
Range: Personal
Target: You
Duration: 1 round/level (D)

This spell functions as antimagic field, with the above exceptions. You are effectively immune to magical effects but cannot cast spells and any magic item you are carrying is nonfunctional.