set("email", $_REQUEST['email']); $user->loadNewsletters(4); $user->loadNewsletters(6); } // The form $form = new SPLNForm(1732, $user); if (isset($_REQUEST['action'])) { $form->action(); } $newsletters = array(); $newsletters['4:169:1664'] = "CBSNews Summary - Morning Edition"; $newsletters['4:170:1665'] = "CBSNews Summary - Afternoon Edition"; $newsletters['4:171:1666'] = "CBSNews Summary - Evening Edition"; $newsletters['4:179:1682'] = "CBSNews Summary - Weekend Edition"; $newsletters["4:172:1667"] = "Breaking News Alerts"; $newsletters["4:173:1668"] = "Today On CBS News"; $newsletters["4:174:1669"] = "48 Hours Investigates"; $newsletters["4:175:1670"] = "60 Minutes"; $newsletters["4:189:1702"] = "Political Hotsheet"; $newsletters["4:176:1671"] = "The Early Show"; $newsletters["4:177:1672"] = "CBS News Sunday Morning"; $newsletters["4:188:1701"] = "CBS News Space News Newsletter"; $newsletters["6:217:2574"] = "ShowBuzz Newsletter"; $newsletters["4:222:2592"] = "Public Eye Newsletter"; $newsletters["4:222:2592"] = "Public Eye Newsletter"; $newsletters["4:224:2831"] = "CBS Evening News With Katie Couric"; $newsletters["4:226:3351"] = "The Skinny"; ?>


Unsubscribe


Please enter you email address to list the newsletters you are subscribed to.
Email:

"); $user->loadNewsletters(4); $user->loadNewsletters(6); if ($form->hasMessages()) { $form->printMessages(); } $form->printSubscribeFormStart(); echo('\n"); foreach ($user->newsletters as $id => $value) { $form->printNewsletterInput($id); echo($newsletters[$id] . "
"); } $form->printSubmitButton("Unsubscribe"); $form->printFormEnd(); } ?>