SCRIPT CLEANUP REPORT

Scope:
- PHP backend, database/configuration files, authentication, payment logic, and application controllers were not intentionally modified.
- The active Dashly theme was retained.
- The separate purposeTheme directory was removed.
- PurposeTheme JavaScript and vendor libraries still referenced by the active dashboard footer were relocated under themes/dashly/assets/vendor/legacy-dashboard/ and their paths updated in tmpl/footerx.tpl. This avoids breaking existing dashboard widgets while removing the separate theme directory.
- Unreferenced duplicate template wrappers header3.tpl/footer3.tpl and header4.tpl/footer4.tpl were removed.
- header.tpl/footer.tpl remain for public pages; headerx.tpl/footerx.tpl remain for the Dashly user dashboard; header2.tpl/footer2.tpl remain because the custom apply page includes them.
- All other files were retained conservatively, including backend code, assets, uploads/storage, Smarty libraries, and compiled template cache, to avoid deleting files that may be dynamically loaded.

Important:
- This is a conservative cleanup, not a full dependency-graph proof. Test the public site, login, dashboard, deposits, withdrawals, charts/calendar/date widgets, admin panel, and custom apply page after uploading.
