<?php
	session_start();
	if (!isset($_SESSION['view_id']))
		header("Location: index.php");
?>
<html>
<head>
<title>Inventory Management System</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<?php
	$user_name = $_POST['selectUserName'];
?>
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2">Are your sure you want to delete the user <?php echo $user_name; ?>?</td>
  </tr>
  <tr>
	<td align="center"><a href="delete_user.php?user_name=<?php echo $user_name; ?>">Yes</a></td>
    <td align="center"><a href="users.php">No</a></td>
  </tr>
</table>
</body>
</html>