load_lang(); $db = new dbquery(); $db->connect(); $db->query( "SELECT u.group_desc FROM " . USERGROUP_CONTENT_TABLE . " uc, " . USERGROUPS_TABLE ." u where uc.user_id ='" . $_REQUEST['user_id'] . "' and uc.group_id = u.group_id" . " order by u.group_desc" ); $groupList = ''; if ($db->nb_result() < 1) { $groupList = 'no group'; } else { while ($line = $db->fetch_object()) { $groupList .= '

' . $line->group_desc . '  
'; } } if($core->is_module_loaded("entities")) { $db->query( "SELECT e.entity_label FROM " . $_SESSION['tablename']['ent_users_entities'] . " ue, ".$_SESSION['tablename']['ent_entities'] . " e where ue.user_id ='".$_REQUEST['user_id'] . "' and ue.entity_id = e.entity_id order by e.entity_label" ); $entityList = ''; if ($db->nb_result() < 1) { $entityList = 'no entity'; } else { while ($line = $db->fetch_object()) { $entityList .= '

' . $line->entity_label . '  
'; } } } if(isset($_REQUEST['lastname']) && isset($_REQUEST['firstname']) && isset($_REQUEST['mail']) && isset($_REQUEST['phone']) && isset($_REQUEST['user_id']))?> {

 Infos

 Groups

is_module_loaded("entities")) { ?>

 Entities

}