IKRAM GROUP PRO MAX CMS
=======================
Fresh install:
1. Create database: ikram_mineral_cms
2. Import database.sql
3. Check DB credentials in config.php
4. Open project in browser.

Upgrade from previous Pro Max:
1. Back up your database.
2. Import UPGRADE_PRO_MAX.sql into existing ikram_mineral_cms.
3. Replace project files with this version (keep your uploads folder if it contains your own images).

Admin:
/admin/login.php

New features:
- Group Companies public menu + submenu + company profile pages
- Group Companies CRUD in admin
- Website font selector in admin
- Responsive admin sidebar
- Local self-contained icon fallback (no font-awesome 404)
- CTA background path corrected
- Email + WhatsApp desktop/mobile quick actions
- Contact form stores messages and also attempts PHP mail() delivery
- Existing news likes/comments approval, staff/manager, awards, gallery and multilingual CMS retained

Email note:
PHP mail() requires mail configuration on the server. Messages are always stored in the admin panel even if localhost mail is not configured. The visible Email buttons open the visitor's email app directly.

PRO MAX V6 — DYNAMIC MENU + PAGE BUILDER
========================================
New admin modules:
- Dynamic Menus: create unlimited top-level menus and nested submenus.
- Dynamic Pages: create unlimited multilingual pages and attach them to any menu.
- Menu destinations can be a custom URL, a dynamic page, or a Group Company.
- Menu labels are independently editable in English, Pashto and Dari.
- Every menu can have its own Font Awesome icon, visibility, order and new-tab option.
- Admin dashboard has been redesigned for desktop, tablet and mobile.

UPGRADE FROM V5 WITHOUT LOSING CONTENT:
1. Back up your database.
2. Copy the V6 project files over the application (keep a copy of uploads first).
3. Import UPGRADE_V6_DYNAMIC_MENU.sql into the existing ikram_mineral_cms database.
4. Open Admin > Dynamic Menus and arrange your navigation.
5. Open Admin > Dynamic Pages to create any new page, then select that page when adding a menu.

FRESH INSTALLATION:
Import database.sql into a fresh ikram_mineral_cms database.
