".$nombre.""; echo " | ".$fecha_registro.""; echo " | ";
if ($nivel == 1)
echo "";
else
echo "";
$sql1='SELECT * FROM tusuario_perfil WHERE id_usuario = "'.$nombre.'"';
$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 $lang_label["no_profile"]; } echo ""; echo " | ".substr($rowdup["nombre_real"],0,16); echo " | ".$comentarios; } echo " |
".$lang_label["profiles"]; echo " | IR ".$help_label["IR"].""; echo " | IW ".$help_label["IW"].""; echo " | IM ".$help_label["IM"].""; echo " | AR ".$help_label["AR"].""; echo " | AW ".$help_label["AW"].""; echo " | LW ".$help_label["LW"].""; echo " | UM ".$help_label["UM"].""; echo " | DM ".$help_label["DM"].""; echo " | LM ".$help_label["LM"].""; echo " | PM ".$help_label["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
?>
| |
---|