Ejemplo n.º 1
0
echo __('Currently unvailable') . ' (~)';
?>
 </span>
	</span>
</h2>

<table class="color planning">
	<thead>
		<tr>
			<th class="empty"></th>
			<th class="hide"></th>
			<?php 
for ($day = 0; $day < 7; ++$day) {
    ?>
				<th><?php 
    echo __('%week_day% - %date%', array('%week_day%' => Dayperiod::dayOfWeekToShortName($day), '%date%' => strftime('%d/%m', strtotime(date('Y-m-d', $date) . " +" . ($day - Dayperiod::toWeekDay($date) + 1) . " day"))));
    ?>
</th>
			<?php 
}
?>
		</tr>
	</thead>
	<tbody>
		<?php 
$startIndex = $availability['startIndex'];
?>
		<?php 
$stopIndex = $availability['stopIndex'];
?>
		<?php 
Ejemplo n.º 2
0
		-->
		<span class="toofar no_border"> <?php 
echo __('Currently unvailable');
?>
 </span>
	</span>
</h2>

<table class="color planning month">
<thead>
<tr>
<?php 
for ($day = 0; $day < 7; ++$day) {
    ?>
	<th><?php 
    echo __('%week_day%', array('%week_day%' => Dayperiod::dayOfWeekToShortName($day)));
    ?>
</th>
<?php 
}
?>
</tr>
</thead>
<tbody>
<?php 
$monthStart = ReservationPeer::getMonthStart($date);
$monthStop = ReservationPeer::getMonthStop($date);
$startDayIndex = date('N', $monthStart) - 1;
$tst = $monthStart;
?>