Exemple #1
0
_e('Show selection');
?>
</span>
		</div>
	</div>

<?php 
if ($this->DayCount < 25) {
    $weekSeparator = ' top-separated';
    $monthSeparator = ' top-separated-light';
} else {
    $weekSeparator = ' top-separated-light';
    $monthSeparator = ' top-separated';
}
$Context = new \Runalyze\Dataset\Context(new Runalyze\Model\Activity\Entity(), $this->AccountID);
$Table = new \Runalyze\View\Dataset\Table($this->DatasetConfig);
?>

	<div id="data-browser-container">
		<table class="zebra-style">
			<?php 
if (\Runalyze\Configuration::DataBrowser()->showLabels()) {
    ?>
			<thead class="data-browser-labels">
				<tr class="small">
					<td colspan="<?php 
    echo 2 + $this->ShowEditLink + $this->ShowPublicLink;
    ?>
"></td>
					<?php 
    echo $Table->codeForColumnLabels();
 /**
  * Display results
  */
 protected function displayResults()
 {
     if (!$this->WithResults) {
         return;
     }
     $Table = new \Runalyze\View\Dataset\Table($this->DatasetConfig);
     $Icon = new \Runalyze\View\Icon(Runalyze\View\Icon::INFO);
     echo '<p class="c">';
     $this->displayHeader();
     echo '</p>';
     echo '<table class="fullwidth zebra-style">';
     echo '<thead>';
     echo '<tr style="font-size:.5em;line-height:1;"><td></td>' . $Table->codeForColumnLabels($Icon->code()) . '</tr>';
     echo '</thead>';
     echo '<tbody>';
     $this->displayTrainingRows($Table);
     echo '</tbody>';
     echo '</table>';
 }