Example #1
0
			<li><?php 
        echo $value;
        ?>
</li>
	<?php 
    }
}
?>
	</ul>	
	</td>
	<td>
	Saturday
	<ul id="timeslotsSaturday">
	<?php 
$nBlocked = 0;
$timeslotArray = timeslotArray($start, $end, $slots, $format);
foreach ($timeslotArray as $value) {
    if (in_array($value, $blockedArray)) {
        $nBlocked++;
        ?>
		
		<li class=saved style='background:black;color:white;'><?php 
        echo $value;
        ?>
</li>
		
	<?php 
    } else {
        ?>
			<li><?php 
        echo $value;
Example #2
0
			 <tr><td style='background:#CCCCCC;color:black;'><?php 
    echo $value;
    ?>
</td></tr>
		<?php 
}
?>
		</table>

</div>
<div style='display: table-cell;'>		
&nbsp;
		<table class="ava" id="timeslots0" cellspacing='1px' cellpadding='1'>
		<?php 
$nBlocked = 0;
$timeslotArray = timeslotArray("08:00", "13:30", "15", "24");
foreach ($timeslotArray as $value) {
    if (in_array($value, $blockedArray)) {
        $nBlocked++;
        ?>
			</table>
			<div class='blk'><?php 
        echo $value;
        ?>
</div>
			<table class="ava" id="timeslots<?php 
        echo $nBlocked;
        ?>
" cellspacing='1px' cellpadding='1'>
		<?php 
    } else {