I modified the code a bit, and I suggest using this, as it is at least 3 times smaller:
PHP Code:
//START STARHACK!
$stars = "";
if ($post[userid]==316) {
for ($i=0; $i<10; $i++) {
$stars .= "<img src=\"images/stars/blau.gif\">";
}
$stars .= "<br>";
$post[usertitle] = "<font color=\"blue\">$post[usertitle]in</font>";
} elseif ($post[usergroupid]==5 || $post[usergroupid]==6) {
for ($i=0; $i<10; $i++) {
$stars .= "<img src=\"images/stars/admin.gif\">";
}
$stars .= "<br>";
$post[usertitle] = "<font color=\"#ffffff\">$post[usertitle]</font>";
} elseif ($post[usergroupid]==7) {
for ($i=0; $i<10; $i++) {
$stars .= "<img src=\"images/stars/mod.gif\">";
}
$stars .= "<br>";
$post[usertitle] = "<font color=\"green\">$post[usertitle]</font>";
} else {
if ($post[posts] > 1999) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 999) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 799) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 599) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 399) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 299) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 199) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 99) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 49) {
$stars .= "<img src=\"images/stars/user.gif\">";
}
if ($post[posts] > 9) {
$stars .= "<img src=\"images/stars/user.gif\"><br>";
}
}
//END STARHACK!
Sneakz, thanks for repeating me.
