Hi!
find in login_block.php:
print ("<center><img width=80 height=80 src=$avatar></center><br>" . DOWNLOADED . ": $userdownloaded<br>" . UPLOADED . ": $useruploaded<BR>".WORD_CLASS.": $CURUSER[level]<BR>" . ACCOUNT_PRIVACY_LV . ": $privacylevel<BR>". RATIO .": $userratio");
replace:
if ($userratio < $site_config["ratiowarn_minratio"]) {
$ratiocolor = "red";
}else{
$ratiocolor = "green";}
print ("<center><img width=80 height=80 src=$avatar></center><br><font color=\"black\">" . DOWNLOADED . ":<font color=\"red\"> $userdownloaded<br><font color=\"black\">" . UPLOADED . ":<font color=\"green\"> $useruploaded<font color=\"black\"><BR>" . ACCOUNT_PRIVACY_LV . ": $privacylevel<BR>". RATIO .": <font color=\"$ratiocolor\">$userratio</font>");
find in account_details.php:
$ratio = $user["uploaded"] / $user["downloaded"];
}else{
$ratio = "---";
}
add below:
}else{
$ratiocolor = "green";}
find:
replace:
Heav fun!
find in login_block.php:
$userratio = "---";print ("<center><img width=80 height=80 src=$avatar></center><br>" . DOWNLOADED . ": $userdownloaded<br>" . UPLOADED . ": $useruploaded<BR>".WORD_CLASS.": $CURUSER[level]<BR>" . ACCOUNT_PRIVACY_LV . ": $privacylevel<BR>". RATIO .": $userratio");
replace:
$userratio = "---";if ($userratio < $site_config["ratiowarn_minratio"]) {
$ratiocolor = "red";
}else{
$ratiocolor = "green";}
print ("<center><img width=80 height=80 src=$avatar></center><br><font color=\"black\">" . DOWNLOADED . ":<font color=\"red\"> $userdownloaded<br><font color=\"black\">" . UPLOADED . ":<font color=\"green\"> $useruploaded<font color=\"black\"><BR>" . ACCOUNT_PRIVACY_LV . ": $privacylevel<BR>". RATIO .": <font color=\"$ratiocolor\">$userratio</font>");
find in account_details.php:
//$ratioif ($user["downloaded"] > 0) {$ratio = $user["uploaded"] / $user["downloaded"];
}else{
$ratio = "---";
}
add below:
if ($ratio < $site_config["ratiowarn_minratio"]) {$ratiocolor = "red";}else{
$ratiocolor = "green";}
find:
Ratio: <?=$ratio?></font><BR>replace:
Ratio: <font color=<?=$ratiocolor?>><?=$ratio?></font><BR>Heav fun!