$post['reputation'] = fetch_repprestige($post['reputation'], '5');
        break;
    case '6':
        $post['reputation'] = fetch_repprestige($post['reputation'], '6');
        break;
    case '7':
        $post['reputation'] = fetch_repprestige($post['reputation'], '7');
        break;
    case '8':
        $post['reputation'] = fetch_repprestige($post['reputation'], '8');
        break;
    case '9':
        $post['reputation'] = fetch_repprestige($post['reputation'], '9');
        break;
    case '10':
        $post['reputation'] = fetch_repprestige($post['reputation'], '10');
        break;
    default:
        if ($post['reputationprestige'] < '0') {
            $post['reputationprestige'] = '0';
        }
        if ($post['reputationprestige'] > '10') {
            $post['reputationprestige'] = '10';
        }
        break;
}
fetch_prestigeicon($post['reputationprestige'], $post);
if ($post['reputationprestige'] > '0') {
    $templater = vB_Template::create('reputation_prestige');
    $templater->register('post', $post);
    $templater->register('prestigeid', $post['reputationprestige']);
        $prepared['reputation'] = fetch_repprestige($prepared['reputation'], '5');
        break;
    case '6':
        $prepared['reputation'] = fetch_repprestige($prepared['reputation'], '6');
        break;
    case '7':
        $prepared['reputation'] = fetch_repprestige($prepared['reputation'], '7');
        break;
    case '8':
        $prepared['reputation'] = fetch_repprestige($prepared['reputation'], '8');
        break;
    case '9':
        $prepared['reputation'] = fetch_repprestige($prepared['reputation'], '9');
        break;
    case '10':
        $prepared['reputation'] = fetch_repprestige($prepared['reputation'], '10');
        break;
    default:
        if ($prepared['reputationprestige'] < '0') {
            $prepared['reputationprestige'] = '0';
        }
        if ($prepared['reputationprestige'] > '10') {
            $prepared['reputationprestige'] = '10';
        }
        break;
}
fetch_prestigeicon($prepared['reputationprestige'], $prepared);
if ($prepared['reputationprestige'] > '0') {
    $templater = vB_Template::create('memberinfo_reputation_prestige');
    $templater->register('prepared', $prepared);
    $templater->register('prestigeid', $prepared['reputationprestige']);
    case '4':
        $user['reputation'] = fetch_repprestige($user['reputation'], '4');
        break;
    case '5':
        $user['reputation'] = fetch_repprestige($user['reputation'], '5');
        break;
    case '6':
        $user['reputation'] = fetch_repprestige($user['reputation'], '6');
        break;
    case '7':
        $user['reputation'] = fetch_repprestige($user['reputation'], '7');
        break;
    case '8':
        $user['reputation'] = fetch_repprestige($user['reputation'], '8');
        break;
    case '9':
        $user['reputation'] = fetch_repprestige($user['reputation'], '9');
        break;
    case '10':
        $user['reputation'] = fetch_repprestige($user['reputation'], '10');
        break;
    default:
        if ($user['reputationprestige'] < '0') {
            $user['reputationprestige'] = '0';
        }
        if ($user['reputationprestige'] > '10') {
            $user['reputationprestige'] = '10';
        }
        break;
}
fetch_prestigeicon($user['reputationprestige'], $user);