Thread: Project U-232
View Single Post
  #376  
Old 21st June 2016, 20:37
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Thumbs up
Quote:
Originally Posted by CAGADA View Post
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
this will not work at all ive made the mod for the v3 its easy to add by one file only not 2 or 3