<?php 
            if ($Unit == 'date') {
                $Unit = '';
            }
            ?>
				<?php 
            if ($Key == 'sleep_duration' && $Value > 0) {
                $Value = (new Duration($Value * 60))->string('G:i');
            }
            ?>
				<td><?php 
            echo !is_numeric($Value) || $Value > 0 ? $Value . $Unit : '-';
            ?>
</td>
			<?php 
        }
        ?>
			</tr>
		<?php 
    }
    ?>
		<?php 
}
?>
		</tbody>
	</table>

	<?php 
Ajax::createTablesorterWithPagerFor('#sportlerTable', true);
?>
</div>
Exemple #2
0
    ?>
	<tr>
		<td colspan="12"><em><?php 
    _e('You did not run any races.');
    ?>
</td>
	</tr>
	<?php 
}
?>
	</tbody>
</table>

<?php 
if (isset($Row)) {
    Ajax::createTablesorterWithPagerFor('#vdotAnalysisTable', true);
}
?>

<p class="info">
	<?php 
_e('<strong>VDOT/Time:</strong> by standard formulas derived from Jack Daniels\' Running formula<br>');
?>
	<?php 
_e('The time is what you could have reached at your maximal possible heart rate over this distance.');
?>
</p>

<?php 
if (Configuration::Vdot()->useCorrectionFactor()) {
    ?>