Just thought I'd add a tpl version of this, same sense, unsubscribe and subscribe forms on one page:
Code:
To subscribe to the newsletter, enter your email address and click "Subscribe".
<form action="../mail/subscribe.php" method=get name=subscribeform2>
<input type="text" name="email" size="40">
Subscribe
<input type=hidden name=redirect value="customer">
</form>
<hr size=1 width=420 align="left">
To be removed from our newsletter subscription, type in your email address and then click "Unsubscribe".
<form action="../mail/unsubscribe.php" method=get name=unsubscribeform>
<input type="text" name="email" size="40">
Un-Subscribe
<input type=hidden name=redirect value="customer">
</form>
Subscribing to our newsletter is free and your data will not be shared or sold with any other companies. Please see our
privacy statement for details.
Kudos to Jon for sharing his code.
