if (performance.navigation.type === performance.navigation.TYPE_BACK_FORWARD) { window.location.reload(); } '; global $wpdb; $current_user_id = get_current_user_id(); $current_year = date('Y'); $confidentiality_option = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM " . $wpdb->prefix . "sige_confidentiality_user_option WHERE user_id = %d AND year = %d", $current_user_id, $current_year ) ); $output = ""; if (!$confidentiality_option) { $confidentiality_message = $wpdb->get_var($wpdb->prepare(" SELECT message FROM {$wpdb->prefix}sige_confidentiality_message WHERE information_type = %s ", 'Sharing Information')); $output .= '
| Full Name | |
|---|---|
| ' . esc_html($row->full_name) . ' | ' . esc_html($row->user_login) . ' |
No data available for ' . $current_year . '.
'; } echo '