",
IdCaption);
/* First name and surnames */
fprintf (Gbl.F.Out,"
"); // Limited width
Usr_WriteFirstNameBRSurnames (UsrDat);
fprintf (Gbl.F.Out,"
");
/* Nickname */
if (UsrDat->Nickname[0])
fprintf (Gbl.F.Out,"
"
"@%s"
"
",
UsrDat->Nickname);
/* Institution full name and institution country */
if (UsrDat->InsCod > 0)
{
fprintf (Gbl.F.Out,"
");
Ins_WriteInstitutionNameAndCty (UsrDat->InsCod);
fprintf (Gbl.F.Out,"
");
}
/* User's country */
else if (UsrDat->CtyCod > 0)
{
fprintf (Gbl.F.Out,"
");
Cty_WriteCountryName (UsrDat->CtyCod,
NULL); // Don't put link to country
fprintf (Gbl.F.Out,"
");
}
/* Main degree (in which the user has more courses) short name */
Usr_GetMainDeg (UsrDat->UsrCod,MainDegreeShrtName,&MaxRole);
if (MainDegreeShrtName[0])
fprintf (Gbl.F.Out,"
",
Cfg_URL_ICON_PUBLIC,Rol_Icons[MaxRole],
MainDegreeShrtName);
/* Following and followers */
if (UsrDat->Nickname[0]) // Get social data only if nickname is retrieved (in some actions)
{
Fol_GetNumFollow (UsrDat->UsrCod,&NumFollowing,&NumFollowers);
fprintf (Gbl.F.Out,"
"
"%u"
" %s "
"%u"
" %s"
"
",
NumFollowing,Txt_Following,
NumFollowers,Txt_Followers);
}
fprintf (Gbl.F.Out,"
");
}
/***** Start image *****/
fprintf (Gbl.F.Out,"