Different colour for staff in lavalair

Started on the old forum in March 2010 · view the original in the archive · old links redirect here

2 replies · 618 views · started 16 years ago · 1 min read

3 participants
gundrughoda Newbie · 2 posts #1

Can anybody help me.. I wanna have different colour for staff members in lavalair. Ex. Red for owner. Green for head admin etc. Any body pls help..!

wapmetal Lead · 609 posts #2
 $lnk = "<a href=\"index.php?action=viewuser&who=$item[2]\">$item[0]<a/>";
      if($item[1]==1)
      {
        $item[1] = "<a href=\"index.php?action=viewuser&who=$item[2]\"><b><font color=\"yellow\">$item[0]</b><a/>";

      }else if($item[1]==2)
      {
        $item[1] = "<a href=\"index.php?action=viewuser&who=$item[2]\"><b><font color=\"PINK\">$item[0]</font></b><a/>";

     }else if($item[1]==3)
      {
        $item[1] = "<a href=\"index.php?action=viewuser&who=$item[2]\"><b><font color=\"VIOLET\">$item[0]</font></b><a/>";
    }else if($item[1]==4)
      {
        $item[1] = "<a href=\"index.php?action=viewuser&who=$item[2]\"><b><font color=\"BROWN\">$item[0]</font></b><a/>";
    }else if($item[1]==0)
      {
        $item[1] = "$lnk";

      }
echo "$item[1] > ";

    }

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close