From abb2d3c67ddc132c4cc7ea435e13731527c32634 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 14 Sep 2008 15:49:20 +0000 Subject: Series: Worked on ACP Refs #53 --- series/trunk/admin/deletesub.php | 70 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 series/trunk/admin/deletesub.php (limited to 'series/trunk/admin/deletesub.php') diff --git a/series/trunk/admin/deletesub.php b/series/trunk/admin/deletesub.php new file mode 100644 index 0000000..37b0bee --- /dev/null +++ b/series/trunk/admin/deletesub.php @@ -0,0 +1,70 @@ +add('SITENAME',instaDisc_getConfig('siteName')); + $template->add('ID',$_GET['subid']); + + $sub = instaDisc_getSubscription($_GET['subid']); + $template->add('IDENTITY',$sub['identity']); + $template->display(); +} else { + if ($_POST['submit'] == 'Yes') + { + instaDisc_deleteSubscription($_POST['id']); + + $template = new FITemplate('deletedsub'); + $template->display(); + } else { + header('Location: admin.php?id=main'); + } +} + +?> -- cgit 1.4.1