hyteck-blog/static/views/display_open.php
2019-11-12 12:17:21 +01:00

21 lines
482 B
PHP

<?php
echo '<table>
<th>'.$this->oLang->texts['W_DAY'].'</th>
<th>'.$this->oLang->texts['W_START'].'</th>
<th>'.$this->oLang->texts['W_END'].'</th>
<th>'.$this->oLang->texts['W_NOTICE'].'</th>';
foreach($this->settings['opening_days'] as $day){
echo '<tr>
<td>'.constant(strtoupper($day)).'</td>
<td>'.$this->aOpen[$day]["start"].'</td>
<td>'.$this->aOpen[$day]["end"].'</td>
<td>'.$this->aOpen[$day]["notice"].'</td>
</tr>';
}
echo '</table>';
?>