confirmSubscriptionByHash( $hash ); if ($result == MODERATED) { $show = 'moderated'; } else if ( $result ) { // ooh, something annoyingly bad happened } else { // all good, yeye! $show = 'confirmed'; } // check to see if we have any data coming in to save } else if ( isset($_POST['dataPosted']) ) { $result = $subscriber->readFromArray($_POST); if ( ! $result ) { $subscriber->sendAddressConfirmationMessage(); if ( isset($_POST['redirect']) ) { $url = eregi_replace('"\';', '', $_POST['redirect']); redirect( $url ); } $show = 'confirm'; } } $subscriber->getAllMessages(); ?>

Please confirm your email...

Please follow the link in the message to confirm your subscription.

Subscription Coinfirmed

Thanks for confirming your subscription! You are subcribed with the email address _emailAddress ?>

Subscription Pending Moderation

Thanks for confirming your email address, your subscription is pending moderation. You will recieve a welcome message if your subscription is approved.

Subscribe to

drawFormFields('', true); ?>