creating mail header and mail footer
remove old smarty3 template