/* Gender Solution */

$genders=array(0=>'&nbsp;', '1'=>$l_genderMale, 2=>$l_genderFemale);

if($action=='vthread' or $action=='userinfo'){

function parseUserInfo_user_custom3($val){
if($GLOBALS['action']=='userinfo') {
if(isset($GLOBALS['genders'][$val]) and (int)$val!=0) return $GLOBALS['genders'][$val]; else return '';
}
else{
if($val!=0 and isset($GLOBALS['genders'][$val])) $ret="&nbsp;<img src=\"{$GLOBALS['main_url']}/img/icon_gender_{$val}.svg\" alt=\"{$GLOBALS['genders'][$val]}\" title=\"{$GLOBALS['genders'][$val]}\" style=\"width:11px;height:11px\">"; else $ret='';
return $ret;
}
}
}
/* --Gender Solution */