# rorry47/dlx_admin_theme_whmcs architecture

> Architecture diagram of the GitHub repository rorry47/dlx_admin_theme_whmcs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rorry47/dlx_admin_theme_whmcs
- Repository: https://github.com/rorry47/dlx_admin_theme_whmcs

## Overview

DLX is a WHMCS admin theme: an administrator uses WHMCS pages rendered with DLX, then interacts with theme navigation, live search, and appearance controls. Its principal runtime behavior is the browser-side theme preference handling and IntelliSearch request flow; the theme also supplies dashboard charts and WHMCS admin views. README-described capabilities map to files in the tree, but most templates were not sampled, so their internal rendering and request relationships are not detailed here.

Main entry points: [`DLX/header.tpl`](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/header.tpl) (Page shell), [`DLX/js/scripts.js`](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/scripts.js) (IntelliSearch), [`DLX/footer.tpl`](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/footer.tpl) (Footer and tweaks), [`DLX/homepage.tpl`](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/homepage.tpl) (Dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Admin shell"]
  node_shell["Page shell<br/>[header.tpl]"]
  node_navigation["Navigation<br/>[nav.tpl]"]
  node_sidebar["Context sidebar<br/>[sidebar.tpl]"]
  node_footer["Footer and tweaks<br/>[footer.tpl]"]
end

subgraph group_interaction["Browser interactions"]
  node_preferences["Theme preferences<br/>[scripts.js]"]
  node_search["IntelliSearch<br/>[scripts.js]"]
  node_searchresults["Search results"]
  node_quickadd["Quick-add menu<br/>[nav.tpl]"]
  node_charts["Dashboard charts<br/>[scripts.js]"]
end

subgraph group_views["Admin views"]
  node_dashboard["Dashboard<br/>[homepage.tpl]"]
  node_clientviews["Client summaries<br/>[clientssummary.tpl]"]
  node_payments["Payment methods"]
  node_tickets["Support tickets<br/>[viewticket.tpl]"]
  node_affiliates["Affiliate views"]
  node_health["System health"]
end

subgraph group_assets["Theme assets"]
  node_styles["Theme styling<br/>[theme.css]"]
  node_vendor["Bundled browser libraries<br/>[vendor.js]"]
end

node_admin(("Administrator"))
node_whmcs["WHMCS admin"]

node_admin -->|"uses admin"| node_whmcs
node_whmcs -->|"renders theme"| node_shell
node_shell -->|"provides navigation"| node_navigation
node_shell -->|"includes sidebar"| node_sidebar
node_footer -->|"loads scripts"| node_preferences
node_admin -->|"changes appearance"| node_preferences
node_admin -->|"searches records"| node_search
node_search -->|"posts query"| node_whmcs
node_search -->|"displays results"| node_searchresults
node_admin -->|"opens actions"| node_quickadd
node_dashboard -->|"renders charts"| node_charts
node_whmcs -->|"renders view"| node_clientviews
node_whmcs -.->|"renders view"| node_payments
node_whmcs -.->|"renders view"| node_tickets
node_whmcs -.->|"renders views"| node_affiliates
node_whmcs -.->|"renders view"| node_health
node_shell -->|"uses styles"| node_styles
node_footer -->|"loads libraries"| node_vendor

click node_shell "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/header.tpl"
click node_navigation "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/nav.tpl"
click node_sidebar "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/sidebar.tpl"
click node_footer "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/footer.tpl"
click node_preferences "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/scripts.js"
click node_search "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/scripts.js"
click node_searchresults "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/intellisearch-results.tpl"
click node_quickadd "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/nav.tpl"
click node_charts "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/scripts.js"
click node_dashboard "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/homepage.tpl"
click node_clientviews "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/clientssummary.tpl"
click node_payments "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/client-paymethods.tpl"
click node_tickets "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/viewticket.tpl"
click node_affiliates "https://github.com/rorry47/dlx_admin_theme_whmcs/tree/main/DLX/affiliates"
click node_health "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/systemhealthandupdates.tpl"
click node_styles "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/css/theme.css"
click node_vendor "https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/vendor.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_shell,node_navigation,node_sidebar,node_footer toneBlue
class node_preferences,node_search,node_searchresults,node_quickadd,node_charts toneAmber
class node_dashboard,node_clientviews,node_payments,node_tickets,node_affiliates,node_health toneMint
class node_styles,node_vendor toneRose
class node_admin,node_whmcs toneIndigo
```

## Components

### Admin shell

- [Page shell](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/header.tpl): `DLX/header.tpl`
- [Navigation](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/nav.tpl): `DLX/nav.tpl`
- [Context sidebar](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/sidebar.tpl): `DLX/sidebar.tpl`
- [Footer and tweaks](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/footer.tpl): `DLX/footer.tpl`

### Browser interactions

- [Theme preferences](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/scripts.js): `DLX/js/scripts.js`
- [IntelliSearch](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/scripts.js): `DLX/js/scripts.js`
- [Search results](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/intellisearch-results.tpl): `DLX/intellisearch-results.tpl`
- [Quick-add menu](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/nav.tpl): `DLX/nav.tpl`
- [Dashboard charts](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/scripts.js): `DLX/js/scripts.js`

### Admin views

- [Dashboard](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/homepage.tpl): `DLX/homepage.tpl`
- [Client summaries](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/clientssummary.tpl): `DLX/clientssummary.tpl`
- [Payment methods](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/client-paymethods.tpl): `DLX/client-paymethods.tpl`
- [Support tickets](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/viewticket.tpl): `DLX/viewticket.tpl`
- [Affiliate views](https://github.com/rorry47/dlx_admin_theme_whmcs/tree/main/DLX/affiliates): `DLX/affiliates`
- [System health](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/systemhealthandupdates.tpl): `DLX/systemhealthandupdates.tpl`

### Theme assets

- [Theme styling](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/css/theme.css): `DLX/css/theme.css`
- [Bundled browser libraries](https://github.com/rorry47/dlx_admin_theme_whmcs/blob/main/DLX/js/vendor.js): `DLX/js/vendor.js`

### Other components

- **Administrator**
- **WHMCS admin**

## Connections

- Administrator → WHMCS admin: uses admin (evidence: `README.md`)
- WHMCS admin → Page shell: renders theme (evidence: `README.md`)
- Page shell → Navigation: provides navigation (evidence: `README.md`)
- Page shell → Context sidebar: includes sidebar (evidence: `README.md`)
- Footer and tweaks → Theme preferences: loads scripts (evidence: `README.md`)
- Administrator → Theme preferences: changes appearance (evidence: `README.md`)
- Administrator → IntelliSearch: searches records (evidence: `README.md`)
- IntelliSearch → WHMCS admin: posts query (evidence: `DLX/js/scripts.js`)
- IntelliSearch → Search results: displays results (evidence: `README.md`)
- Administrator → Quick-add menu: opens actions (evidence: `README.md`)
- Dashboard → Dashboard charts: renders charts (evidence: `README.md`)
- WHMCS admin → Client summaries: renders view (evidence: `README.md`)
- WHMCS admin → Payment methods: renders view
- WHMCS admin → Support tickets: renders view
- WHMCS admin → Affiliate views: renders views
- WHMCS admin → System health: renders view
- Page shell → Theme styling: uses styles (evidence: `README.md`)
- Footer and tweaks → Bundled browser libraries: loads libraries (evidence: `README.md`)
