@if(count($sideads))
    <div id="sideads">
    @foreach($sideads as $ad)
        <div class="sad">
            @if(!is_null($ad->ctranslation->ad_link) && trim($ad->ctranslation->ad_link) != '')
                <a href="{{url($ad->ctranslation->ad_link)}}" title="{{$ad->ctranslation->ad_title}}">
                    <img src="{{asset($ad->ctranslation->ad_src)}}" alt="{{$ad->ctranslation->ad_title}}" class="img-responsive">
                </a>
            @else
                <img src="{{asset($ad->ctranslation->ad_src)}}" alt="{{$ad->ctranslation->ad_title}}" title="{{$ad->ctranslation->ad_title}}" class="img-responsive">
            @endif
        </div>
    @endforeach
    </div>
@endif