<?php include('../../includes/header.php'); ?>
<section class="py-5">
  <div class="container">
    <h2 class="text-success mb-4">Add Blog Post</h2>
    <form action="save.php" method="POST">
      <div class="mb-3">
        <label class="form-label">Blog Title</label>
        <input type="text" class="form-control" name="title" required>
      </div>
      <div class="mb-3">
        <label class="form-label">Content</label>
        <textarea class="form-control" name="content" rows="6" required></textarea>
      </div>
      <div class="mb-3">
        <label class="form-label">Image URL</label>
        <input type="text" class="form-control" name="image">
      </div>
      <button type="submit" class="btn btn-success">Publish Blog</button>
    </form>
  </div>
</section>