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

<body>

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