D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
resources
/
views
/
manager
/
includes
/
Filename :
hours.blade.php
back
Copy
<div class="menu_middle"> <? $a = 0; $start = (isset($start_hour[0]))?$start_hour[0]:0; $end = (isset($end_hour[0]))?$end_hour[0]:24; ?> <div class="middle"> @for($i=$start;$i<=$end; $i++ ) <div class="one_schedule"> <div class="col-md-3 forcol"> <div align="right"> {{$i}} </div> </div> <div class="col-md-7 forcol_more"> <?if (in_array($i . ':00', $hours)) { $checked_00 = 'checked'; } else { $checked_00 = ''; }?> <div class="schedule {{$checked_00}}"> 00 <input type="checkbox" name="hours[{{$i}}:00]" {{$checked_00}} class="btn" /> </div> <?if (in_array($i . ':30', $hours)) { $checked_30 = 'checked'; } else { $checked_30 = ''; }?> <div class="schedule {{$checked_30}}"> 30 <input type="checkbox" name="hours[{{$i}}:30]" {{$checked_30}} class="btn" /> </div> </div> </div> <div style="clear:both"></div> @endfor <br style="clear:both"/> </div> <?$a++;?> </div>