echo t('Not Ranked Yet');
        }
    ?>
        </div>
        <div class="right">
            <span class="with">with</span><span class="money"><?php echo $total;?></span><span class="donations">in donations</span>
        </div>
    </div>
    <div class="below">
    <?php
        if($position > 1 && $totalBehind > 0) {
    ?>
    <?php
        $mode_type = dw_campaigns_get_selected_type();
        if($mode_type == 'walking') {
    ?>
        <span class="behind"><?php echo dw_campaigns_force_decimal($totalBehind, $campaign->field_dw_currency['0']['value']); ?></span> behind <?php echo position_to_name($position - 1); ?> place<br>
    <?php
        } else {
    ?>
        <span class="behind"><?php echo dw_campaigns_force_decimal($totalBehind, $campaign->field_dw_currency['0']['value']); ?></span> behind the <?php echo position_to_name($position - 1); ?> team<br>
    <?php
        }
    ?>
        <a href="<?php echo $previousPosition['url']; ?>"><?php echo $previousPosition['name']; ?></a>
    <?php		
        }
    ?>
    </div>
</div>
    
    if($goalPercent > 100) {
        $goalPercent    = 100;
    }
    
    $goalRemaining	= $goalTotal - $goalProgress;

    if($goalRemaining < 0) {
        $goalRemaining		= '0.00';
    }
    
    $res            = _dw_campaigns_campaign_find_position_of_amount($campaign, $goalProgress);
    // sets $postion and $total
    extract($res);  

    $position_name  = position_to_name($position);
    
    $results        = _dw_campaigns_campaign_leaders_list_fake($campaign, $pcp->id, $goalProgress);
    $pos            = $results['totals'];

    $goalTotal      = dw_campaigns_force_decimal($goalTotal, $campaign->field_dw_currency['0']['value']);
    $goalProgress   = dw_campaigns_force_decimal($goalProgress, $campaign->field_dw_currency['0']['value']);
    $goalRemaining  = dw_campaigns_force_decimal($goalRemaining, $campaign->field_dw_currency['0']['value']);    
?>

<div class="live-donation">

<div class="how-we-will-do">
    <h2>After your donation</h2>
    <span class="words"><?php echo $thisUser->displayname; ?> will sit in</span>
    <div class="yellow-box">