<div class='summary'>
  <h2><?php print t('Activities');?></h2>
  <div class='row'>
    <div class='field'><?php print t('Total distance:');?></div>
    <div class='value'><?php print $variables['total']['distance'];?></div>
    <div class='field'><?php print t('Total time:');?></div>
    <div class='value'><?php print $variables['total']['time'];?></div>
    <div class='field'><?php print t('Total activities:');?></div>
    <div class='value'><?php print $variables['total']['total_activities'];?></div>
  </div>
  <div class='row'>
    <h3><?php print t('Latest activity');?></h3>
    <div class='field'><?php print t('Date:');?></div>
    <div class='value'><?php print $variables['latest']['date'];?></div>
    <div class='field'><?php print t('Distance:');?></div>
    <div class='value'><?php print $variables['latest']['distance'];?></div>
  </div>
  <div class='row'>
    <h3><?php print t('This month');?></h3>
    <div class='field'><?php print t('Distance:');?></div>
    <div class='value'><?php print $variables['month']['distance'];?></div>
    <div class='field'><?php print t('Total time:');?></div>
    <div class='value'><?php print $variables['month']['time'];?></div>
    <div class='field'><?php print t('Total activities:');?></div>
    <div class='value'><?php print $variables['month']['total_activities'];?></div>
  </div>


</div>
<?php //dpm($variables); ?>