include.inc.php
Table of Contents
Functions
- start_page() : void
- Renders the page header with navigation
- end_page() : void
- Renders the page footer
Functions
start_page()
Renders the page header with navigation
start_page(string $title[, bool $wouldNav = true ][, array<string, mixed>|null $user = null ]) : void
Generates the HTML head section and navigation bar with responsive hamburger menu for mobile devices. Includes user-specific navigation options based on authentication status and user role.
Parameters
- $title : string
-
Page title for the browser tab
- $wouldNav : bool = true
-
Whether to display the navigation bar
- $user : array<string, mixed>|null = null
-
Current user data or null if not logged in
Tags
end_page()
Renders the page footer
end_page() : void
Generates the HTML footer section with navigation links, social media icons, and copyright information. Also handles cookie consent popup display.