>

"; echo ""; echo ""; } echo "
".$name.""; echo "".$fecha_registro.""; echo ""; if ($nivel == 1) echo ""; else echo ""; $sql1='SELECT * FROM tusuario_perfil WHERE id_usuario = "'.$name.'"'; $result=mysql_query($sql1); echo " "; if (mysql_num_rows($result)){ while ($row=mysql_fetch_array($result)){ echo dame_perfil ($row["id_perfil"])."/ "; echo get_group_name ($row["id_grupo"])."
"; } } else { echo __('This user doesn\'t have any assigned profile/group'); } echo "
"; echo "
".substr($real_name,0,16)."".$comments."

"; ?>

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $color = 1; while ($rowdup=mysql_fetch_array($resq1)){ $id_perfil = $rowdup["id_perfil"]; $nombre=$rowdup["name"]; $incident_view = $rowdup["incident_view"]; $incident_edit = $rowdup["incident_edit"]; $incident_management = $rowdup["incident_management"]; $agent_view = $rowdup["agent_view"]; $agent_edit =$rowdup["agent_edit"]; $alert_edit = $rowdup["alert_edit"]; $user_management = $rowdup["user_management"]; $db_management = $rowdup["db_management"]; $alert_management = $rowdup["alert_management"]; $pandora_management = $rowdup["pandora_management"]; if ($color == 1){ $tdcolor = "datos"; $color = 0; } else { $tdcolor = "datos2"; $color = 1; } echo "
".__('Profiles')."IR"; print_help_tip (__('System incidents reading')); echo "IW"; print_help_tip (__('System incidents writing')); echo "IM"; print_help_tip (__('System incidents management')); echo "AR"; print_help_tip (__('Agents reading')); echo "AW"; print_help_tip (__('Agents management')); echo "LW"; print_help_tip (__('Alerts edition')); echo "UM"; print_help_tip (__('Users management')); echo "DM"; print_help_tip (__('Database management')); echo "LM"; print_help_tip (__('Alerts management')); echo "PM"; print_help_tip (__('Pandora system management')); echo "
".$nombre; echo ""; if ($incident_view == 1) echo ""; echo ""; if ($incident_edit == 1) echo ""; echo ""; if ($incident_management == 1) echo ""; echo ""; if ($agent_view == 1) echo ""; echo ""; if ($agent_edit == 1) echo ""; echo ""; if ($alert_edit == 1) echo ""; echo ""; if ($user_management == 1) echo ""; echo ""; if ($db_management == 1) echo ""; echo ""; if ($alert_management == 1) echo ""; echo ""; if ($pandora_management == 1) echo ""; } } //end of page ?>