Jump to content
MakeWebGames

New Mailbox/Events Link Color


Recommended Posts

$checkmail = mysql_query("SELECT * FROM `pms` WHERE `to`='$user_class->id' and `viewed`='1' AND `delete`='0'");

$nummsgs = mysql_num_rows($checkmail);

if($nummsgs > 0) { $mail = "[<font color='#cc0000'>".$nummsgs."</font>]"; }

else {$mail = "[".$nummsgs."]"; }

 

^ just find this near top of header.php

And change $mail = "[<font color='#cc0000'>".$nummsgs."</font>] to include colour,bold, etc

Link to comment
Share on other sites

$checkmail = mysql_query("SELECT * FROM `pms` WHERE `to`='$user_class->id' and `viewed`='1' AND `delete`='0'");

$nummsgs = mysql_num_rows($checkmail);

if($nummsgs > 0) { $mail = "[<font color='#cc0000'>".$nummsgs."</font>]"; }

else {$mail = "[".$nummsgs."]"; }

^ just find this near top of header.php

And change $mail = "[<font color='#cc0000'>".$nummsgs."</font>] to include colour,bold, etc

Should probably do >

$mail = "[b][<span style="color:red;">".$nummsgs."</span>][/b]

If I remember my xHTML :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...