╔══════════════════════════════════════════════════════════════╗
║   WEEKLY SPECIALS - QUICK REFERENCE FOR ADMIN                 ║
╚══════════════════════════════════════════════════════════════╝

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 QUICK START (3 MINUTES)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1️⃣ RUN SQL SETUP
   → Open phpMyAdmin
   → Select database: bermiz_db
   → Click SQL tab
   → Open: admin/weekly_setup.sql
   → Copy & Execute

2️⃣ CREATE IMAGE FOLDER
   Windows: Create folder → assets/images/weekly/
   Linux: mkdir -p assets/images/weekly/

3️⃣ LOGIN & START ADDING
   URL: http://localhost/hotel/admin/weekly.php
   Add weekly specials through the admin panel

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 ADMIN PANEL FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ ADD NEW SPECIAL
   1. Click "Add New Special" button
   2. Fill fields:
      - Title: "Sunday Feast"
      - Description: "Royal Biryani + Chicken 65..."
      - Price: "₹399 Family Offer"
      - Category: Select from dropdown
      - Badge: HOT 🔥 / NEW ⭐ / OFFER 💰
      - Image: Upload JPG/PNG/GIF/WebP
   3. Click "Add Special"

✅ EDIT SPECIAL
   1. Click ✏️ (Edit) button
   2. Modify any field
   3. Optionally upload new image
   4. Click "Update Special"

✅ DELETE SPECIAL
   1. Click 🗑️ (Delete) button
   2. Confirm deletion
   3. Image automatically deleted

✅ VIEW ALL SPECIALS
   - See table with all specials
   - View images & details
   - Edit/Delete buttons for each

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏷️ CATEGORIES (Choose one)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🌅 Breakfast    - Morning specials
🍽️ Lunch        - Lunch dishes
🌙 Dinner       - Dinner specials
🍰 Dessert      - Sweet items
🥤 Drinks       - Beverages
⭐ Special      - General specials

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎖️ BADGE TYPES (Optional)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔥 HOT        - Highlight popular items (Red)
⭐ NEW        - New menu items (Blue)
💰 OFFER      - Special discounts (Green)
- None        - No badge

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📱 WEBSITE DISPLAY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

URL: http://localhost/hotel/weekly.php

Users see:
✓ Your weekly specials in grid layout
✓ Images with badges (HOT, NEW, OFFER)
✓ Titles, descriptions, prices
✓ Responsive on all devices
✗ Can't edit or delete (read-only)

When you add a special in admin panel,
it appears automatically on the website!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🖼️ IMAGE GUIDELINES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Supported Formats: JPG, PNG, GIF, WebP
Max Size: 5 MB
Recommended: 500px × 500px
Auto Resize: Yes (maintains aspect ratio)

Upload Methods:
1. Click file area to browse
2. Drag & drop image onto the area
3. File automatically validated

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💾 FILES & LOCATIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ADMIN PANEL:
📄 /admin/weekly.php (CRUD interface)

WEBSITE DISPLAY:
📄 /weekly.php (Updated to fetch from database)

IMAGE STORAGE:
📁 /assets/images/weekly/ (Auto-created)

DATABASE:
📊 weekly_specials table in bermiz_db

DOCUMENTATION:
📖 /admin/WEEKLY_SPECIALS_GUIDE.md (Detailed)
📖 /admin/WEEKLY_SETUP.html (Setup steps)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ FEATURES SUMMARY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ Admin Panel with Full CRUD
✅ Image Upload & Management
✅ 6 Category Support
✅ 4 Badge Types
✅ Responsive Design
✅ Read-Only Website Display
✅ Automatic Updates (No HTML editing)
✅ Secure & Validated
✅ Mobile-Friendly Admin Interface
✅ Quick Add/Edit/Delete Actions

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
❓ QUICK HELP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Q: How to add a weekly special?
A: Admin panel → Click "Add New Special" → Fill form → Upload image → Submit

Q: How to update a special?
A: Admin panel → Click Edit button → Modify fields → Save

Q: How to delete a special?
A: Admin panel → Click Delete button → Confirm

Q: When will changes appear on website?
A: Instantly! No need to reload anything.

Q: Can users edit specials on website?
A: No, the website is read-only for users.

Q: Where are images stored?
A: assets/images/weekly/ (Auto-managed)

Q: What if I upload wrong image?
A: Edit the special and upload the correct image.

Q: How many specials can I add?
A: Unlimited! System auto-scales.

Q: Do I need to know coding?
A: No! Just use the admin panel interface.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔐 SECURITY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✓ Admin Login Required
✓ File Upload Validation
✓ Image Size Limit (5MB)
✓ SQL Injection Prevention
✓ Secure File Handling
✓ Automatic Cleanup

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 COMMON WORKFLOWS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

WORKFLOW 1: Add Sunday Feast
┌─────────────────────────────────────┐
│ 1. Go to admin/weekly.php            │
│ 2. Click "Add New Special"           │
│ 3. Title: "Sunday Feast"             │
│ 4. Desc: "Biryani + Chicken 65..."   │
│ 5. Price: "₹399 Family Offer"        │
│ 6. Category: "Dinner"                │
│ 7. Badge: "HOT 🔥"                   │
│ 8. Upload image from assets/weekly/  │
│ 9. Click "Add Special"               │
│ 10. ✓ Appears on /weekly.php         │
└─────────────────────────────────────┘

WORKFLOW 2: Update Price of Special
┌─────────────────────────────────────┐
│ 1. Go to admin/weekly.php            │
│ 2. Find the special in table         │
│ 3. Click Edit button (✏️)             │
│ 4. Change price field                │
│ 5. Keep image checkbox unchecked     │
│ 6. Click "Update Special"            │
│ 7. ✓ Price updated on website        │
└─────────────────────────────────────┘

WORKFLOW 3: Remove Old Special
┌─────────────────────────────────────┐
│ 1. Go to admin/weekly.php            │
│ 2. Find the special in table         │
│ 3. Click Delete button (🗑️)           │
│ 4. Confirm deletion                  │
│ 5. ✓ Removed from website instantly  │
│ 6. ✓ Image deleted from server       │
└─────────────────────────────────────┘

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📞 SUPPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Issues?
1. Check admin/WEEKLY_SPECIALS_GUIDE.md for detailed help
2. Verify database table created in phpMyAdmin
3. Check images folder exists: assets/images/weekly/
4. Ensure admin is logged in
5. Clear browser cache

═══════════════════════════════════════════════════════════════
System Status: ✅ READY
Version: 1.0
Last Updated: December 23, 2025
═══════════════════════════════════════════════════════════════
