if($post['reputation'] >= 0 && $post['reputation'] < 7 ){
$awans = "<font color=\"#00ccff\"> Neutralna</font>";
}
elseif($post['reputation'] >= 7 && $post['reputation'] < 15 ){
$awans = "<font color=\"#33ccff\"> Przyzwoita</font>";
}
elseif($post['reputation'] >= 15 && $post['reputation'] < 30 ){
$awans = "<font color=\"#0099ff\"> Srednia</font>";
}
elseif($post['reputation'] >= 30 && $post['reputation'] < 45 ){
$awans = "<font color=\"#003399\"> Dobra</font>";
}
elseif($post['reputation'] >= 45 && $post['reputation'] < 60 ){
$awans = "<font color=\"#0000cc\"> B.Dobra</font>";
}
elseif($post['reputation'] >= 60 && $post['reputation'] < 100 ){
$awans = "<font color=\"#cc3399\"> Zwyczajna</font>";
}
elseif($post['reputation'] >= 100 && $post['reputation'] < 135 ){
$awans = "<font color=\"#ff0099\"> Nadzwyczajna</font>";
}
elseif($post['reputation'] >= 136 && $post['reputation'] < 200 ){
$awans = "<font color=\"#ff0066\"> Ekstra</font>";
}
elseif($post['reputation'] >= 201 && $post['reputation'] < 250 ){
$awans = "<font color=\"#ff0099\"> Wspaniała</font>";
}
elseif($post['reputation'] >= 251 && $post['reputation'] < 350 ){
$awans = "<font color=\"#cc00cc\"> Wypas!</font>";
}
elseif($post['reputation'] >= 351 && $post['reputation'] < 500 ){
$awans = "<font color=\"#990099\"> Idealna</font>";
}
else{
$awans = "<font color=\"#660033\"> Ekskluzywna</font>";
}
$post['userreputation'] = get_reputation($post['reputation'].$awans, $post['uid']);