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/mansub.php | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 series/trunk/admin/mansub.php (limited to 'series/trunk/admin/mansub.php') diff --git a/series/trunk/admin/mansub.php b/series/trunk/admin/mansub.php new file mode 100644 index 0000000..358365f --- /dev/null +++ b/series/trunk/admin/mansub.php @@ -0,0 +1,39 @@ +add('SITENAME', instaDisc_getConfig('siteName')); + +if (instaDisc_isAdmin($_SESSION['username'])) +{ + $subs = instaDisc_getAllSubscriptions(); +} else { + $subs = instaDisc_listSubscriptions($_SESSION['username']); +} +$i=0; +for ($i=0;isset($subs[$i]);$i++) +{ + $template->adds_block('SUBSCRIPTION', array( 'IDENTITY' => $subs['identity'], + 'ID' => $subs['id'])); +} + +$template->display(); + +?> -- cgit 1.4.1