?> <tr data-user-id="<?php echo $v->id; ?> "> <?php if ($user['rankname'] == 'admin' || $user['rankname'] == 'support') { ?> <td style="cursor:pointer;color:<?php echo getUserColor($v->id); ?> " onclick="showUserFullInfo(<?php echo $v->id; ?> );"><span data-toggle="tooltip" data-placement="top" title="<?php echo getUserNote($v->id); ?> "><?php echo $v->first_name . ' ' . $v->middle_name . ' ' . $v->last_name; ?> </span></td> <?php } else { ?> <td><?php echo $v->first_name . ' ' . $v->middle_name . ' ' . $v->last_name; ?> </td> <?php } ?>
function getLinkToUserProfile($id) { global $user, $cfg; if ($user['rankname'] != 'admin' && $user['rankname'] != 'support' && $user['rankname'] != 'labler') { $out = getFullUserNameById($id); } else { if (getRankNameByUserId($id) == 'drop') { $note = getUserNote($id); $out = '<a href="' . $cfg['options']['siteurl'] . '/userInfo/' . $id . '" data-title="' . $note . '" data-toggle="tooltip" data-placement="top">' . colorText(getFullUserNameById($id), getUserColor($id)) . '</a>'; } else { $note = getUserNote($id); $out = '<a href="' . $cfg['options']['siteurl'] . '/userInfo/' . $id . '" data-title="' . $note . '" data-toggle="tooltip" data-placement="top">' . colorText(getUserNameById($id), getUserColor($id)) . '</a>'; } } return $out; }