How do I make the username to show blue
<p>How do i make the username show blue for all the members and just not for users with the user level 1? here is my code: </p>

<pre><code>This is the start of the php
 &lt;?php $sql = "SELECT
        topic_id,
        topic_subject
    FROM
        topics
    WHERE
        topics.topic_id = " . mysql_real_escape_string($_GET['id']);

$result = mysql_query($sql);

if(!$result)
{
echo 'The topic could not be displayed, please try again later.';
}
else
{
if(mysql_num_rows($result) == 0)
{
    echo 'This topic doesn&amp;prime;t exist.';
}
else
{
    while($row = mysql_fetch_assoc($result))
    {
        //display post data

        //fetch the posts from the database
        $posts_sql = "SELECT
                    posts.post_topic,
                    posts.post_content,
                    posts.post_date,
                    posts.post_by,
                    users.user_id,
                    users.user_name,
                    users.avatar,
                    users.user_date,
                    users.user_level,
                    users.forum_rank,
                    users.site_rank,
                    users.post,
                    users.signature

                FROM
                    posts
                LEFT JOIN
                    users
                ON
                    posts.post_by = users.user_id
                WHERE
                    posts.post_topic = " .     mysql_real_escape_string($_GET['id']);

        $posts_result = mysql_query($posts_sql);

        if(!$posts_result)
        {
            echo '&lt;tr&gt;&lt;td&gt;The posts could not be displayed, please try again later.&lt;/tr&gt;&lt;/td&gt;&lt;/table&gt;';
        }
        else
        {

            while($posts_row = mysql_fetch_assoc($posts_result))
            {

echo ' &lt;br/&gt;';
echo ' &lt;div class="header" id="post11992"&gt;

&lt;div class="reply"&gt;
    &lt;div class="h3"&gt;
        &lt;table class="replyheader"&gt;
            &lt;tr&gt;
                &lt;td&gt;
                    &lt;img src="http://www.naruto-boards.com/images/forum/post_reply.gif" alt="" /&gt; Posted on &lt;b&gt;';
                echo '' . date(" F j, Y, g:i A", strtotime($posts_row['post_date'])) . '';echo '&lt;/b&gt;
                &lt;/td&gt;   
                &lt;td class="right"&gt;
&lt;a href="/messages/send/sasy/"&gt;Message&lt;/a&gt;
&lt;a href="/forums/topic/31/20/quote/11992/#form"&gt;Quote&lt;/a&gt;
&lt;a href="/forums/topic/31/20/edit/11992/#form"&gt;Edit&lt;/a&gt;

                &lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;        
    &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;';
echo '&lt;table class="reply"&gt;
&lt;tr&gt;
    &lt;td class="post_userinfo"&gt;';
///////////webaster
                if($_SESSION['user_level'] != 1 )
{
//the user is not an admin
echo '';
}
else
{ echo '            &lt;a href="/index.php?area=profile&amp;username=' .             $posts_row['user_name'] . '" class="topicuser_member"&gt;&lt;font class="rank5"&gt;' .     $posts_row['user_name'] . '&lt;/font&gt;&lt;/a&gt;';}

////////////////admin
if($_SESSION['user_level'] != 2 )
{
//the user is not an admin
echo '';
}
else
{ echo '            &lt;a href="/index.php?area=profile&amp;username=' .     $posts_row['user_name'] . '" class="topicuser_member"&gt;&lt;font class="rank4"&gt;' . $posts_row['user_name'] . '&lt;/font&gt;&lt;/a&gt;';}

////////////////GM
if($_SESSION['user_level'] != 3 )
{
//the user is not an admin
echo '';
}
else
{ echo '            &lt;a href="/index.php?area=profile&amp;username=' .     $posts_row['user_name'] . '" class="topicuser_member"&gt;&lt;font class="rank3"&gt;' . $posts_row['user_name'] . '&lt;/font&gt;&lt;/a&gt;';}


////////////////Mod
if($_SESSION['user_level'] != 4 )
{
//the user is not an admin
echo '';
}
else
{ echo '            &lt;a href="/index.php?area=profile&amp;username=' . $posts_row['user_name'] . '" class="topicuser_member"&gt;&lt;font class="rank2"&gt;' . $posts_row['user_name'] . '&lt;/font&gt;&lt;/a&gt;';}

////////////////Member
if($_SESSION['user_level'] != 5 )
{
//the user is not an admin
echo '';
}
else
{ echo '            &lt;a href="/index.php?area=profile&amp;username=' . $posts_row['user_name'] . '" class="topicuser_member"&gt;&lt;font class="rank1"&gt;' . $posts_row['user_name'] . '&lt;/font&gt;&lt;/a&gt;';}

////////////////guest
if($_SESSION['user_level'] != 0 )
{
//the user is not an admin
echo '';
}
else
{ echo '            &lt;a href="/index.php?area=profile&amp;username=' . $posts_row['user_name'] . '" class="topicuser_member"&gt;&lt;font class="rank0"&gt;' . $posts_row['user_name'] . '&lt;/font&gt;&lt;/a&gt;';}


echo'
        &lt;br /&gt;Rank: ' . $posts_row['site_rank'] . '         &lt;br     /&gt;Status: &lt;img style="margin-bottom: -6px; margin-top: -2px;" src="/images/other/1.gif" alt="" /&gt; &lt;span class="online"&gt;online&lt;/span&gt;            &lt;br /&gt;&lt;img style="min-height: 75px; min-width: 75px; max-height: 75px; max-width: 75px;" src="' .     $posts_row['avatar'] . '" alt="" /&gt;
        &lt;br /&gt;&lt;b&gt;Forum Rank:&lt;/b&gt;&lt;br /&gt;' . $posts_row['forum_rank'] . '              &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Posts:&lt;/b&gt; ' . $posts_row['post'] . '            &lt;br /&gt;&lt;b&gt;Joined on:    &lt;/b&gt;
        &lt;br /&gt;' . date(" F j, Y, g:i A",     strtotime($posts_row['user_date'])) . '        &lt;/td&gt;

    &lt;td&gt;
        &lt;div class="post_container"&gt;
            &lt;div class="right"&gt;
                &lt;br/&gt;
            &lt;/div&gt;
            &lt;table&gt;
                &lt;tr&gt;
                    &lt;td class="post_text"&gt;

                        ' .     htmlentities(stripslashes($posts_row['post_content'])) . '
                        &lt;div class="dots"&gt;&lt;/div&gt;&lt;div class="signature lock300580"&gt;' . $posts_row['signature'] . '&lt;/div&gt;
                    &lt;/td&gt;
                &lt;/tr&gt;
            &lt;/table&gt;
        &lt;/div&gt;
    &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
';}}}}}
?&gt;
</code></pre>

<p>With that code i get this for the webmaster <a href="http://prntscr.com/gd5s8" rel="nofollow">http://prntscr.com/gd5s8</a>
With the guest or any other rank, I get this <a href="http://prntscr.com/gd5tf" rel="nofollow">http://prntscr.com/gd5tf</a></p>
