Uh, 2 things wrong with this.
1) This is a snippet and should be posted under snippets.
2) If you're asking for help, post it in the help forums. http://www.hawkee.com/phpBB2/posting.php?mode=newtopic&f=9