<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Delete User</title>
    <script src="https://cdn.tailwindcss.com"></script>
</head>
 <body class="bg-gray-100">
    <?php include "header.php"; ?>
    
    <div class="flex flex-col md:flex-row min-h-screen">
        <!-- Sidebar -->
        <?php include "side_bar.php"; ?>
        
        <!-- Main Content -->
        <main class="flex-1 p-6 md:ml-64">
                 <div class="container"> 
    <input type="text" placeholder="Search..." class="p-2 border border-gray-300 rounded-lg w-1/3">
                
   <h2 class="text-2xl font-bold text-[#CD7F32] mb-4">Delete User</h2>

        <form action="delete_user.php" method="GET" >
            <label for="user_id" class="block text-gray-700">Select User to Delete:</label>
            <select name="user_id" id="user_id" required class="w-full p-2 border border-gray-300 rounded-md mb-4">
                <!-- Dynamically populate options using PHP -->
                <option value="1">John Doe</option>
                <option value="2">Jane Smith</option>
                <!-- Add dynamic PHP options here -->
            </select>
            
            <button type="submit" class="bg-[#CD7F32] text-white px-6 py-2 rounded-md">Delete User</button>
        </form>
    </div>
    </div>
</main>
</div>
<?php include "footer.php";?>
</body>
</html>
