<div class="st-pusher">

      <!-- sidebar effects INSIDE of st-pusher: -->
      <!-- st-effect-3, st-effect-6, st-effect-7, st-effect-8, st-effect-14 -->

      <!-- this is the wrapper for the content -->
      <div class="st-content">

        <!-- extra div for emulating position:fixed of the menu -->
        <div class="st-content-inner padding-top-none" id="content">

          <div id="carousel-example-generic" class="carousel slide cover overlay overflow-hidden margin-bottom-none max-height-500" data-ride="carousel">
            <div class="ribbon-heading ribbon-primary h4 inline absolute left margin-none">&#8377; {{$property->price}}</div>
            <ol class="carousel-indicators">
            <?php 
$gallerys = App\Model\Gallery::where('property_list_id', $property->id)->get();
$count = count($gallerys);
if ($count > 0) {
    for ($i = 0; $i < $count; $i++) {
        ?>
                   <li data-target="#carousel-example-generic" data-slide-to="{{$i}}" @if($i==0) class="active" @endif></li>
             <?php 
    }
} else {
    ?>
                   <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                   <?php 
}
?>
            </ol>
            <div class="carousel-inner" role="listbox">
Пример #2
0
                        <thead>
                            <tr>
                                <th></th>
                                <th>Rent or Sell</th>
                                <th>Type</th>
                                <th>Configuration</th>
                                <th>Action</th>

                            </tr>
                        </thead>
                            <tbody id="ok">
                            @foreach($property as $prop)
                            <tr>
        <?php 
$gallery = App\Model\Gallery::where('property_list_id', $prop->id)->first();
?>
                            @if($gallery)
                                <td><img src="{{asset('images/gallery/'.$gallery->name)}}" class="img-thumbnail" style="height: 100px;"></td>
                            @else
                                <td></td>
                            @endif
                                <td>{{$prop->sell_rent}}</td>
                                <td>{{$prop->type}}</td>
                                <td>{{$prop->configuration}}</td>
                                <td>
                                   <a href="#"><li class="fa  fa-trash" title="delete" data-toggle="modal" data-target="#{{$prop->slug}}delete1"></li></a>
                                            <div class="modal fade" id="{{$prop->slug}}delete1">
                                                <div class="modal-dialog">
                                                    <div class="modal-content">
                                                        <div class="modal-header">