View Single Post
  #2  
Old 17th March 2010, 03:10
Daz's Avatar
Daz Daz is offline
Senior Member
 
Join Date: Dec 2009
United Kingdom
Posts: 124
Default
PHP Code:
        if ($variant == "index" && (get_user_class() > UC_VIP))
        {
            print(
"<td align=center>" . (isset($row["username"]) ? ("<a href=userdetails.php?id=" $row["owner"] . "><b>" htmlspecialchars($row["username"]) . "</b></a>") : "<i>(unknown)</i>") . "</td>\n");
            }
        elseif (
$variant == "index" && (get_user_class() < UC_VIP))
        {
            print(
"<td align=center><i>Anonymous</i></td>");
            } 
Does that work? Have not tested it so backup...
Reply With Quote
The Following User Says Thank You to Daz For This Useful Post:
lovebeer (17th March 2010)