Refactor contact management functions and remove phpinfo.php

- Updated formatting and structure of functions in edit_contact.inc.php for better readability and consistency.
- Added comments to clarify the purpose of certain code sections, especially regarding mandant handling.
- Removed the deprecated phpinfo.php file to clean up the codebase.
This commit is contained in:
2026-05-11 08:54:44 +02:00
parent 8749bc7994
commit 52ca9249c3
64 changed files with 13445 additions and 3562 deletions

View File

@@ -10,7 +10,7 @@ function get_contact_banner(){
$query = "SELECT * FROM main_contact LEFT JOIN main_contact_profile_content ON main_contact.id = main_contact_profile_content.main_contact_id WHERE main_contact_id = ".$GLOBALS['main_contact']['id'];
$result = @mysqli_query($GLOBALS['mysql_con'], $query);
$main_contact = @mysqli_fetch_array($result);
$contact_image = "platzhalter-mann-compressor.jpg";
$contact_image = "platzhalter.png";
if(isset($main_contact['image']) && $main_contact['image'] != ""){
$contact_image = $main_contact['image'];
}?>