@extends('frontEnd.layout') @section('content') code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $details_var = "details_" . @Helper::currentLanguage()->code; $details_var2 = "details_" . env('DEFAULT_LANGUAGE'); if ($Topic->$title_var != "") { $title = $Topic->$title_var; } else { $title = $Topic->$title_var2; } if ($Topic->$details_var != "") { $details = $details_var; } else { $details = $details_var2; } $section = ""; try { if ($Topic->section->$title_var != "") { $section = $Topic->section->$title_var; } else { $section = $Topic->section->$title_var2; } } catch (Exception $e) { $section = ""; } ?>
@if($WebmasterSection->type==2 && $Topic->video_file!="") {{--video--}}
@if($Topic->video_type ==1) video_file); ?> @if($Youtube_id !="") {{-- Youtube Video --}} @endif @elseif($Topic->video_type ==2) video_file); ?> @if($Vimeo_id !="") {{-- Vimeo Video --}} @endif @else @endif
@elseif($WebmasterSection->type==3 && $Topic->audio_file!="") {{--audio--}}
@elseif(count($Topic->photos)>0) {{--photo slider--}}
    @if($Topic->photo_file !="")
  • {{ $title }}
  • @endif @foreach($Topic->photos as $photo)
  • {{ $photo->title  }}
  • @endforeach
@else {{--one photo--}}
@if($Topic->photo_file !="") {{ $title }} @endif
@endif {!! $Topic->$details !!} @if($Topic->attach_file !="") attach_file, "."); $file_ext = strtolower($file_ext); ?>
@if($file_ext ==".jpg"|| $file_ext ==".jpeg"|| $file_ext ==".png"|| $file_ext ==".gif")
{{ $title }}
@else  {{ __('frontend.downloadAttach') }} @endif
@endif {{-- Show Additional attach files --}} @if(count($Topic->attachFiles)>0)
@foreach($Topic->attachFiles as $attachFile) $title_var != "") { $file_title = $attachFile->$title_var; } else { $file_title = $attachFile->$title_var2; } ?> @endforeach
@endif
@if(count($Topic->maps) >0)

{{ __('frontend.locationMap') }}


@endif

{{ __('frontend.getInTouch') }}

 {{ __('frontend.youMessageSent') }}
{{ __('frontend.youMessageNotSent') }}
{{Form::open(['route'=>['contactPage'],'method'=>'POST','class'=>'contactForm'])}}
{!! Form::text('contact_name',@Auth::user()->name, array('placeholder' => __('frontend.yourName'),'class' => 'form-control','id'=>'name', 'data-msg'=> __('frontend.enterYourName'),'data-rule'=>'minlen:4')) !!}
{!! Form::email('contact_email',@Auth::user()->email, array('placeholder' => __('frontend.yourEmail'),'class' => 'form-control','id'=>'email', 'data-msg'=> __('frontend.enterYourEmail'),'data-rule'=>'email')) !!}
{!! Form::text('contact_phone',"", array('placeholder' => __('frontend.phone'),'class' => 'form-control','id'=>'phone', 'data-msg'=> __('frontend.enterYourPhone'),'data-rule'=>'minlen:4')) !!}
{!! Form::text('contact_subject',"", array('placeholder' => __('frontend.subject'),'class' => 'form-control','id'=>'subject', 'data-msg'=> __('frontend.enterYourSubject'),'data-rule'=>'minlen:4')) !!}
{!! Form::textarea('contact_message','', array('placeholder' => __('frontend.message'),'class' => 'form-control','id'=>'message','rows'=>'8', 'data-msg'=> __('frontend.enterYourMessage'),'data-rule'=>'required')) !!}
@if(env('NOCAPTCHA_STATUS', false))
{!! NoCaptcha::renderJs(@Helper::currentLanguage()->code) !!} {!! NoCaptcha::display() !!}
@endif

{{Form::close()}}

{{ __('frontend.contactDetails') }}

@if(Helper::GeneralSiteSettings("contact_t1_" . @Helper::currentLanguage()->code) !="")
{{ __('frontend.address') }}:
{{ Helper::GeneralSiteSettings("contact_t1_" . @Helper::currentLanguage()->code) }}
@endif @if(Helper::GeneralSiteSettings("contact_t3") !="")

{{ __('frontend.callPhone') }}:
{{ Helper::GeneralSiteSettings("contact_t3") }}

@endif @if(Helper::GeneralSiteSettings("contact_t5") !="")

{{ __('frontend.callMobile') }}:
{{ Helper::GeneralSiteSettings("contact_t5") }}

@endif @if(Helper::GeneralSiteSettings("contact_t4") !="")

{{ __('frontend.callFax') }}:
{{ Helper::GeneralSiteSettings("contact_t4") }}

@endif @if(Helper::GeneralSiteSettings("contact_t6") !="")

{{ __('frontend.email') }}:
{{ Helper::GeneralSiteSettings("contact_t6") }}

@endif @if(Helper::GeneralSiteSettings("contact_t7_" . @Helper::currentLanguage()->code) !="")

{{ __('frontend.callTimes') }}:
{{ Helper::GeneralSiteSettings("contact_t7_" . @Helper::currentLanguage()->code) }}

@endif
@endsection @section('footerInclude') @if(count($Topic->maps) >0) @foreach($Topic->maps->slice(0,1) as $map) longitude . "," . $map->latitude; ?> @endforeach code; $map_details_var = "details_" . @Helper::currentLanguage()->code; ?> @endif @endsection