Error in enewsletter custom template

Hello,

I am using a custom template and I have disabled the default header and footer since I want to add my own code. I am experiencing these two issues:
-the custom template appears on the list and I am able to select it. But the preview stays for a while then disappear. I can send it anyway.
-The header and footer links for the live version and the unsubscription do not appear correctly in gmail: no link is visible. These are the codes used:

href="{VIEW_LINK}" {VIEW_LINK_TEXT}

href="{UNSUBSCRIBE_URL}"

Can you tell me where is the error? I have also uploaded the custom template folder to the /upload directory....