Hi!
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:
//$ratio
if ($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!