<?php 
  $stats = deliver_get_partner_stats(arg(2)); 
  $active_count = $stats['active']; // active
  $reporting_count = $stats['reporting_total']; // reporting_funded + reporting_90days + reporting_9mons+
  $completed_count = $stats['archived']; // archived
?>
<div class="stats-wrap">
  <div class="partner_quick_stats">
    <div class="tqs_div">
      <div class="tqs_type">Active</div>
      <div class="tqs_data"><?php print $active_count; ?></div>
      <div class="tqs_label">projects</div>
    </div>

    <div class="tqs_div">
      <div class="tqs_type">Reporting</div>
      <div class="tqs_data"><?php print $reporting_count; ?></div>
      <div class="tqs_label">projects</div>
    </div>

    <div class="tqs_div last">
      <div class="tqs_type">Completed</div>
      <div class="tqs_data"><?php print $completed_count; ?></div>
      <div class="tqs_label">projects</div>
    </div>
  </div>
</div>