', '/userprofile/'); # Retrieve Information for the page $user_groups_data = $GLOBALS['conn']->query("SELECT * FROM vc_user_groups WHERE user_group_type = 'admin' ORDER BY user_group_weight DESC"); $user_groups = array(); $user_data = false; while ($user_group = $user_groups_data->fetch_assoc()) { array_push($user_groups, $user_group); $last_weight = $user_group['user_group_weight']; } $user_uuid = $_SESSION['user']['user_uuid']; $stmt = $GLOBALS['conn']->prepare("SELECT * FROM vc_users INNER JOIN vc_user_groups ON vc_users.user_group_uuid = vc_user_groups.user_group_uuid WHERE user_uuid = ?"); $stmt->bind_param("s", $user_uuid); $stmt->execute(); $result = $stmt->get_result(); if ($result->num_rows == 1) { $user_data = $result->fetch_assoc(); } # Set breadcrumb data array_push($GLOBALS['breadCrumbArray'], array('display' => __('user_profile'), 'href' => '/userprofile/')); array_push($GLOBALS['breadCrumbArray'], array('display' => __('edit'), 'href' => '')); # Start page output $pageNavbar->outPutNavbar(); if ($user_data) { $formBuilder->startForm(); ?>
formFooter(); ?>
endForm(); ?>

no admin with this uuid found.