I'll work on it with you via pm. Everything looks okay, if it's blank then the function is working except it's not inserting the $formpost template correctly
Try changing
eval("\$formsend = \"".gettemplate("$formpost")."\";");
to
eval("\$formsend = \"".gettemplate("formpost1")."\";");
PM me if you have problems and it still isn't working. Make sure (just double and triple check

) formpost1 template is in the current style set you're using