D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
resources
/
views
/
manager
/
includes
/
Filename :
current.blade.php
back
Copy
<h2> @if(isset($hours[0])) <span class="min">{{$hours[0]}}</span> - <span class="max">{{$hhhhh}}</span> @endif <span>{{$day}}</span></h2> <input type="hidden" value="{{$day}}" name="day"/> <div class="middle"> @for($i=0;$i<24; $i++ ) <div class="one_schedule"> <div class="col-md-3"> <div align="right"> {{$i}} </div> </div> <div class="col-md-7"> <? if (isset($hours[0])) { if (in_array($i . ':00', $hours)) { $checked_00 = 'checked'; } else { $checked_00 = ''; } if (in_array($i . ':30', $hours)) { $checked_30 = 'checked'; } else { $checked_30 = ''; } }else{ $checked_00 = ''; $checked_30 = ''; } ?> <div class="schedule {{$checked_00}}"> 00 <input type="checkbox" name="hours[{{$i}}:00]" {{$checked_00}} class="btn"/> </div> <div class="schedule {{$checked_30}}"> 30 <input type="checkbox" name="hours[{{$i}}:30]" {{$checked_30}} class="btn"/> </div> </div> </div> @endfor </div>