Location: PHPKode > projects > XMail PHP Admin Interface (XPAI) > xpai/includes/userdel.php
<?php
if (!$in_xpai)
  die;

if (($_SESSION['loginstatus'] >= $login_level['LoginPostmaster']) && ($_SESSION['edit_user'] != "*") && ($_SESSION['edit_domain'] != "*"))
{
  echo "<h1><a href=\"javascript:help('xpai_help.html#userdel','".$helpwidth."','".$helpheight."')\"><img src='gfx/ico_help.png' alt='Help' border='0'></a>&nbsp;&nbsp;";
  echo "Delete mail user in domain<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class=\"blue\">".$_SESSION['edit_domain']."</span></h1>";

  if (!isset($_REQUEST['Go']))
  {
		del_user($mail_server, $_SESSION['edit_domain'], $_SESSION['edit_user'], $_SESSION['edit_user_type'], $enable_filters, $filter_files, $enable_IMAP);
?>
	<form action='main.php' method='get'>
		<input type='hidden' name='action' value='userlist'>
		<input type='submit' name='click' style='width: 50px;' value=' OK '>
	</form>
	
<?php
  }
} else {
  echo "<br><br><h2>Authorization failed to access this function!</h2><br><br>";
}
?>

Return current item: XMail PHP Admin Interface (XPAI)