index.php
\file \brief LWT Start screen and main menu
Call: index.php
PHP version 8.1
Tags
Table of Contents
Functions
- no_connectinc_error_page() : void
- Echo an error page if connect.inc.php was not found.
- get_span_groups() : array<string|int, string>
- Prepare the different SPAN opening tags
- do_current_text_info() : void
- Display the current text options.
- do_language_selectable() : void
- Echo a select element to switch between languages.
- wordpress_logout_link() : void
- When on a WordPress server, make a logout button
- get_server_data() : array<string|int, false|float|string|array<string|int, string>>
- Return a lot of different server state variables.
- index_load_warnings() : void
- Load the content of warnings for visual display.
- index_do_main_page() : void
- Display the main body of the page.
Functions
no_connectinc_error_page()
Echo an error page if connect.inc.php was not found.
no_connectinc_error_page() : void
Tags
get_span_groups()
Prepare the different SPAN opening tags
get_span_groups() : array<string|int, string>
Tags
Return values
array<string|int, string> —3 different span levels
do_current_text_info()
Display the current text options.
do_current_text_info(mixed $textid) : void
Parameters
- $textid : mixed
Tags
do_language_selectable()
Echo a select element to switch between languages.
do_language_selectable(mixed $langid) : void
Parameters
- $langid : mixed
wordpress_logout_link()
When on a WordPress server, make a logout button
wordpress_logout_link() : void
get_server_data()
Return a lot of different server state variables.
get_server_data() : array<string|int, false|float|string|array<string|int, string>>
Tags
Return values
array<string|int, false|float|string|array<string|int, string>> —{0: string, 1: float, 2: string[], 3: string, 4: string, 5: string} Table prefix, database size, server software, apache version, PHP version, MySQL version
index_load_warnings()
Load the content of warnings for visual display.
index_load_warnings() : void
index_do_main_page()
Display the main body of the page.
index_do_main_page() : void