ITB COOKS BACKOFFICE V1

Target:
  https://hvarchefs.com/test/admin/

Before opening admin:
1) In cPanel > MySQL Databases create a database and a database user.
2) Add the user to the database with ALL PRIVILEGES.
3) Open phpMyAdmin, select that database, Import test/admin/schema.sql.
4) In test/admin rename config.example.php to config.php.
5) Edit config.php and enter DB_NAME, DB_USER and DB_PASS exactly as cPanel shows them.
6) Visit /test/admin/setup.php and create your admin login.
7) After successful setup, delete or rename setup.php.

Website enquiry form:
  /test/enquire.html now POSTs into the enquiries table and redirects to thank-you.html.

Security:
- Passwords use PHP password_hash/password_verify.
- Sessions use HttpOnly + SameSite cookies.
- Admin POST actions use CSRF tokens.
- Prepared statements are used for DB input.
- Admin pages and staging pages are noindex.
- .htaccess blocks config/schema files and directory listing.

V1 includes:
Dashboard, Enquiries, manual enquiry entry, enquiry detail/status/price/notes,
Convert to Booking, Bookings list, Upcoming Calendar, website form -> database.

Not yet included:
Email sync/sending, Google Calendar sync, file uploads, deposits/payments,
menu builder, AI assistant actions, role management.
