View Single Post
  #10  
Old 26-05-16, 18:40
Napon's Avatar
Napon Napon is offline
Senior Member
 
Join Date: Feb 2016
P2P
Posts: 150
Default
Quote:
Originally Posted by Chez View Post
IN SHOUTBOX.PHP AFTER:

PHP Code:
if ($rowowner["class"] == "10")
$usercolor"<font color=#8b0000>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif (
$rowowner["class"] == "9")
$usercolor"<font color=#FF0000>" .htmlspecialchars($rowowner["username"]). "</font>"
ADD:

PHP Code:
$reply "<a href='javascript:window.top.SmileIT(\"[b][i]=> [color=#".get_user_class_color($arr['class']) . "]".htmlspecialchars($arr['username'])."[/color] - [/i][/b]\",\"shbox\",\"shbox_text\")'><img height='12' widht='12' src='pic/comments.png' title='Reply' alt='Reply' style='border:none;' /></a>"
STILL IN SHOUTBOX.PHP FIND THIS LINE:

PHP Code:
print("<tr><td><font color=gray><span class='date'>".strftime("%d.%m | %H:%M",$arr["date"]).":.</font>
$del 
AFTER $del ADD $reply

now is for 09 or for old old as it will not work in 09 yes in the old yes so if any one wants a up to date shoutbox.php pm me

this line i would have not put

PHP Code:
if ($rowowner["class"] == "10")
$usercolor"<font color=#8b0000>" .htmlspecialchars($rowowner["username"]). "</font>";
elseif (
$rowowner["class"] == "9")
$usercolor"<font color=#FF0000>" .htmlspecialchars($rowowner["username"]). "</font>"
Reply With Quote