From aa8219c03996d7ba325d71857bb34270a993d3f6 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 14 Sep 2008 16:35:31 +0000 Subject: Series: Added user management Refs #53 --- series/trunk/admin/deleteuser.php | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 series/trunk/admin/deleteuser.php (limited to 'series/trunk/admin/deleteuser.php') diff --git a/series/trunk/admin/deleteuser.php b/series/trunk/admin/deleteuser.php new file mode 100644 index 0000000..7d1b0a0 --- /dev/null +++ b/series/trunk/admin/deleteuser.php @@ -0,0 +1,49 @@ +add('SITENAME',instaDisc_getConfig('siteName')); + $template->add('ID',$_GET['userid']); + + $sub = instaDisc_getUserByID($_GET['userid']); + $template->add('USERNAME',$sub['username']); + $template->display(); +} else { + if ($_POST['submit'] == 'Yes') + { + instaDisc_deleteUser($_POST['id']); + + $template = new FITemplate('deleteduser'); + $template->display(); + } else { + header('Location: admin.php?id=main'); + } +} + +?> -- cgit 1.4.1