![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/resources/views/front/ |
@extends('layouts.front.app',['page_details' => $page_details]) @section('content') @include('layouts.front.banner') <div class="main-content"> @if(!empty($textBox1)) <div class="container"> <div class="row"> @if(empty($textBox1->image) && empty($textBox1->video_url)) <div class="col-md-12"> <h2 class="text-center bold">{{ $textBox1->title }}</h2> {!! $textBox1->content !!} @if(!empty($textBox1->button_text) || !empty($textBox1->button_text2)) <div class="row"> <div class="col-md-12 text-center"> @if(!empty($textBox1->button_text))<a href="{{ $textBox1->button_link }}" class="btn btn-subscribe btn-lg margin-top-20" title="{{ $textBox1->button_text }}">{{ $textBox1->button_text }}</a> @endif @if(!empty($textBox1->button_text2))<a href="{{ $textBox1->button_link2 }}" class="btn btn-dark btn-lg font-black margin-top-20" title="{{ $textBox1->button_text2 }}">{{ $textBox1->button_text2 }}</a> @endif </div> </div> @endif </div> @else <div class="col-md-4"> @if(!empty($textBox1->video_url)) <video autoplay muted loop id="displayedVideo"> <source src="{{$textBox1->video_url}}" type="video/mp4"> </video> @elseif(empty($textBox1->video_url) && !empty($textBox1->image)) <img class="img-fluid" src="{{ URL::to('/public') }}/img/images_uploaded/{{$textBox1->image}}" alt="{{$textBox1->img_meta_alt}}" /> @endif </div> <div class="col-md-8"> <div class="section-title"> <h2>{{ $textBox1->title }}</h2> {!! $textBox1->content !!} @if(!empty($textBox1->button_text))<a href="{{ $textBox1->button_link }}" class="btn btn-subscribe btn-lg" title="{{ $textBox1->button_text }}">{{ $textBox1->button_text }}</a> @endif @if(!empty($textBox1->button_text2))<a href="{{ $textBox1->button_link2 }}" class="btn btn-dark btn-lg font-black" title="{{ $textBox1->button_text2 }}">{{ $textBox1->button_text2 }}</a> @endif </div> </div> @endif </div> </div> @endif @if(!empty($banner2)) <div class="container-fluid margin-top-30 margin-bottom-50" style="background: #fff url('<?php echo isset( $banner2 ) ? "/public/img/images_uploaded/" . $banner2->background_img: ''; ?>') no-repeat; background-size: cover; background-position: center; background-attachment: fixed; height: 255px; position: relative;"> <div class="row"> <div class="col-md-12 banner2nd"> <div class="overlay-dark center-align-flexbox"> <div> <div class="col-md-12 text-center"> {!! (isset($banner2->content)) ? $banner2->content: '' !!} @if(!empty($banner2->button_text))<a href="{{ $banner2->link_button }}" class="btn btn-subscribe btn-lg" title="{{ $banner2->button_text }}">{{ $banner2->button_text }}</a> @endif @if(!empty($banner2->button_text2))<a href="{{ $banner2->button_link2 }}" class="btn btn-dark btn-lg font-black" title="{{ $banner2->button_text2 }}">{{ $banner2->button_text2 }}</a> @endif </div> </div> </div> </div> </div> </div> @endif @if(!empty($textBox2)) <div class="container"> <div class="row"> @if(empty($textBox2->image) && empty($textBox2->video_url)) <div class="col-md-12"> <h2 class="text-center bold">{{ $textBox2->title }}</h2> {!! $textBox2->content !!} @if(!empty($textBox2->button_text) || !empty($textBox2->button_text2)) <div class="row"> <div class="col-md-12 text-center"> @if(!empty($textBox2->button_text))<a href="{{ $textBox2->button_link }}" class="btn btn-subscribe btn-lg margin-top-20" title="{{ $textBox2->button_text }}">{{ $textBox2->button_text }}</a> @endif @if(!empty($textBox2->button_text2))<a href="{{ $textBox2->button_link2 }}" class="btn btn-dark btn-lg font-black margin-top-20" title="{{ $textBox2->button_text2 }}">{{ $textBox2->button_text2 }}</a> @endif </div> </div> @endif </div> @else <div class="col-md-4"> @if(!empty($textBox2->video_url)) <video autoplay muted loop id="displayedVideo"> <source src="{{$textBox2->video_url}}" type="video/mp4"> </video> @elseif(empty($textBox2->video_url) && !empty($textBox2->image)) <img class="img-fluid" src="{{ URL::to('/public') }}/img/images_uploaded/{{$textBox2->image}}" alt="{{$textBox2->img_meta_alt}}" /> @endif </div> <div class="col-md-8"> <div class="section-title"> <h2>{{ $textBox2->title }}</h2> {!! $textBox2->content !!} @if(!empty($textBox2->button_text) || !empty($textBox2->button_text2)) <div class="row"> <div class="col-md-12 text-center"> @if(!empty($textBox2->button_text))<a href="{{ $textBox2->button_link }}" class="btn btn-subscribe btn-lg margin-top-20" title="{{ $textBox2->button_text }}">{{ $textBox2->button_text }}</a> @endif @if(!empty($textBox2->button_text2))<a href="{{ $textBox2->button_link2 }}" class="btn btn-dark btn-lg font-black margin-top-20" title="{{ $textBox2->button_text2 }}">{{ $textBox2->button_text2 }}</a> @endif </div> </div> @endif </div> </div> @endif </div> </div> @endif @if(!empty($productServiceBoxes)) @php $toggle = true @endphp <div class="container-fluid oil-boxes"> <div class="row oil-products"> @foreach($productServiceBoxes as $productService) @php $imgPath = str_replace('/storage/', '/', $productService->background_img) @endphp <div class="col-md-6 {{ ($toggle) ? 'pservices-1': 'pservices-2' }}" style="background: url('{{ asset("/public/img/images_uploaded" . $imgPath) }}'); background-size:cover;"> <div class="overlay-dark center-align-flexbox"> <div class="row"> @if(!empty($productService->title)) <div class="col-md-12 text-center"> <h2 class="font-white bold">{{ $productService->title }}</h2> </div> @endif @if(!empty($productService->text)) <div class="col-md-12 text-center"> <div id="oil-second"> <p>{{ $productService->text }}</p> </div> </div> @endif @if(!empty($productService->link_button)) <div class="col-md-12 text-center"> <a href="{{ url('/') . $productService->link_button }}" title="{{ $productService->title }}" class="btn btn-outline-light btn-rounded btn-lg">{{ $productService->sub_title }}</a> </div> @endif </div> </div> </div> @php $toggle = !$toggle @endphp @endforeach </div> </div> @endif @if(!empty($orderStepServiceBoxes)) <div class="container"> <div class="row"> <div class="col-md-12 text-center"> <div class="wizard"> <h3>Online oil ordering made easy in 4 steps!</h3> <div class="wizard-inner"> <div class="connecting-line"></div> <div class="vertical-line"> <ul class="nav nav-tabs"> @foreach($orderStepServiceBoxes as $key => $orderService) <li class="col-md-3"> <div class="row"> <div class="col-md-12"> <span class="round-tab">{{ $key + 1 }}</span> </div> </div> <div class="row"> <div class="col-md-12"> <h4>{{ $orderService->title }}</h4> <p class="stepmargin">{!! $orderService->text !!}</p> <p> @php $imgpath = str_replace('/storage/', '/', $orderService->background_img) @endphp <img src="{{ asset('/public/img/images_uploaded/'.$imgpath) }}" alt="Step {{ $key + 1 }}" data-img="{{ $orderService->background_img }}" /> </p> </div> </div> </li> @endforeach </ul> </div> </div> </div> </div> </div> </div> @endif @include('layouts.front.call-to-action-footer') </div> @endsection