".$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 dame_grupo($row["id_grupo"])." "; } } else { echo __('This user doesn\'t have any assigned profile/group'); } echo ""; echo " | ".substr($real_name,0,16)." | "; echo "".$comments." | "; echo ""; } echo "
".__('Profiles')." | "; echo "IR ".__("IR")." | "; echo "IW ".__("IW")." | "; echo "IM ".__("IM")." | "; echo "AR ".__("AR")." | "; echo "AW ".__("AW")." | "; echo "LW ".("LW")." | "; echo "UM ".__("UM")." | "; echo "DM ".__("DM")." | "; echo "LM ".__("LM")." | "; echo "PM ".__("PM")." | "; $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 "
---|---|---|---|---|---|---|---|---|---|---|
".$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 ?> |