Milan multi-server sync patch report
====================================

This archive keeps the original Milan project structure. The following files were modified to queue non-payment/non-wallet rows into the existing project-level SyncRow outbox:

PATCHED
- data/how_to_play.php             -> contact
- data/howplay.php                 -> contact
- data/sub_admin_insert.php        -> add_sub_admin
- data/slider_insert.php           -> add_slider insert/update/status/delete
- data/contact.php                 -> contact
- data/change-password.php         -> admin_login password row
- data/send-notification.php       -> notification, push_notifications
- data/notice_insert.php           -> add_notice
- data/addstaff.php                -> addstaff
- data/login.php                   -> token; legacy admin/staff password upgrade
- subadmin.php                     -> addstaff status/permission/delete
- send-notification.php            -> notification delete
- notice-management.php            -> push_notifications delete
- milan-sync.php                   -> safe bridge to /includes/SyncRow.php

NO DIRECT WRITE / NO SYNC HOOK NEEDED IN THIS FILE
- howplay.php
- userviewss.php (contains wallet-related admin operation elsewhere; not patched)
- slider-images-management.php
- auto-deposite-history.php (wallet related; not patched)
- withdraw-day.php
- declare-result.php
- game-rates.php
- realratan-admin.php
- user-view.php
- main-settings.php
- starline-result-history.php
- change-password.php (UI; actual write is data/change-password.php)
- bid-winning-report.php
- contact-settings.php
- user-view-bid.php
- userviews.php
- starline-game-rates.php
- users-management2.php
- firebase-settings.php (server-local secret file; not DB-row replicated)
- declare-result-gali.php
- login.php (UI; actual login write is data/login.php)
- user-bid-history.php

LEFT UNCHANGED
The remaining requested files contain payment, wallet/fund movement, withdrawal, bid/stake, game result/winning, or closely coupled wagering operations. They are included unchanged in this archive; no multi-server sync/failover hooks were added to those flows.

IMPORTANT
1. This patch expects project-root /includes/SyncRow.php and the existing outbox/worker setup to already be installed.
2. Database rows for slider/banner images can sync, but the uploaded image file itself is NOT copied between servers. Use shared/object storage or separate file replication for media.
3. Firebase service-account JSON is intentionally server-local and should be installed securely on each server rather than replicated through database sync.
4. Sync helper failures are logged and do not replace the original page/API response.
5. PHP syntax lint passed for every modified PHP file in this archive using the available PHP CLI.
