Thread: Project U-232
View Single Post
  #372  
Old 20th June 2016, 23:15
CAGADA CAGADA is offline
Senior Member
 
Join Date: Jan 2011
P2P
Posts: 17
Default
how do I add user class color in torrenttable_functions.php?

Code:
".(isset($row["username"]) ? (($row["anonymous"] == "yes" && $CURUSER['class'] < UC_STAFF && $row['owner'] != $CURUSER['id']) ? "<font color='gray'><b><i>".$lang['torrenttable_anon']."</i></b></font>" : "
                                  <a href='userdetails.php?id=".(int)$row["owner"]."'><b>".htmlsafechars($row["username"])."</b></a>") : "<i>(".$lang["torrenttable_unknown_uploader"].")</i>")." </div>";
i tried
Code:
<font color='#".get_user_class_color($user['class']) . "'>".htmlsafechars($row["username"])."</font>
but dont work