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'); } } ?>