1
|
<?php
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
$id = (isset($item['id'])) ? 'id="' . $item['id'] . '" ' : '';
|
9
|
$date = (isset($item['date'])) ? ' data-date="' . $item['date'] . '" ' : '';
|
10
|
$day = (isset($item['day_of_month'])) ? ' data-day-of-month="' . $item['day_of_month'] . '" ' : '';
|
11
|
$headers = (isset($item['header_id'])) ? ' headers="'. $item['header_id'] .'" ' : '';
|
12
|
?>
|
13
|
<td <?php print $id?>class="<?php print $item['class'] ?>" colspan="<?php print $item['colspan'] ?>" rowspan="<?php print $item['rowspan'] ?>"<?php print $date . $headers . $day; ?>>
|
14
|
<div class="inner">
|
15
|
<?php print $item['entry'] ?>
|
16
|
</div>
|
17
|
</td>
|