|
This is the image  - <div class="table-responsive">
-
<table class="table table-bordered table-hoverable table-striped" id="tblClassScheduler">
-
<thead>
-
<tr>
-
<?php
-
$days=array("Monday"=>1,"Tuesday"=>2,"Wednesday"=>3,"Thursday"=>4,"Friday"=>5,"Saturday"=>6,"Sunday"=>7);
-
for ($i=0;$i<COUNT($days);$i++) {
-
echo "<th>".date("D m/d",strtotime(" +".$i." days"))."</th>";
-
}
-
?>
-
</tr>
-
</thead>
-
<tbody>
-
<?php
-
$start_time=strtotime("08:00");
-
$end_time=strtotime("22:00");
-
for ($j=$start_time; $j<=$end_time; $j+=1800) {
-
echo "<tr>
-
<td id='time".$j."'>".date("H:i",$j)."</td>
-
<td id='time".$j."'>".date("H:i",$j)."</td>
-
<td id='time".$j."'>".date("H:i",$j)."</td>
-
<td id='time".$j."'>".date("H:i",$j)."</td>
-
<td id='time".$j."'>".date("H:i",$j)."</td>
-
<td id='time".$j."'>".date("H:i",$j)."</td>
-
<td id='time".$j."'>".date("H:i",$j)."</td>
-
</tr>";
-
}
-
-
?>
-
</tbody>
-
</table>
-
<center><button type="submit" class="btn btn-primary" id="save_class_schedule" id="save_class_schedule">Save</button></center>
-
</div>
| |