HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1k
System: Linux server.eshhar.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User: xdas (1048)
PHP: 7.4.33
Disabled: mail,sendmail
Upload Files
File: /home/xdas/public_html/oldsite/resources/views/layouts/front/master.blade.php
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    @yield('meta')

    <!-- Bootstrap -->
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/css/bootstrap.min.css">
    @if(app()->getLocale() == 'ar')
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/css/bootstrap-rtl.css">
    @endif
      @if($setting->icon_img)
      <link rel="icon" type="image/png" sizes="16x16" href="{{asset($setting->icon_img)}}">
      @endif
    <!-- <link rel="stylesheet" href="css/bootstrap-rtl.css"> -->
    <!-- bootstrap ar  -->
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/css/animate.min.css">
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/inc/carousel/owl.carousel.css">
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/inc/carousel/owl.theme.default.css">
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/inc/carousel/owl.theme.green.min.css">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css">
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/css/style.css">
    <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
    <link href="{{url('/')}}/assets/node_modules/sweetalert/sweetalert.css" rel="stylesheet" type="text/css">
    <!-- style ar -->
    @if(app()->getLocale() == 'ar')
    <link rel="stylesheet" href="{{asset('/')}}/assetfront/css/style-ar.css">
    @endif
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="assetfront/https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script type="text/javascript">
 (function () {
     var options = {
         whatsapp: "+2{{$setting->whatsapp}}", // WhatsApp number
         company_logo_url: "//static.whatshelp.io/img/flag.png", // URL of company logo (png, jpg, gif)
         greeting_message: "اضغط وتواصل مباشرة مع خدمة العملاء", // Text of greeting message
         call_to_action: "اضغط وتواصل مباشرة مع خدمة العملاء", // Call to action
         position: "right", // Position may be 'right' or 'left'
     };
     var proto = document.location.protocol, host = "whatshelp.io", url = proto + "//static." + host;
     var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
     s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
     var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
 })();
</script>
</head>

<body class="home">
    <header class="header_area">
        <div class="top-header">
            <div class="container">
                <div class="row">

                    <div class="col-md-6 col-12">
                        <div class=" login-top">
                            <ul class="list-inline">
                                @guest
                                <li><a href="{{route('login')}}"><i class="far fa-user"></i> @lang('massege.Login') </a>
                                    / <a href="{{route('register')}}">@lang('massege.Register') </a></li>
                                @endguest
                                @auth
                                <li><a href="{{ route('logout') }}"
                                        onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();">@lang('massege.Log out')</a>
                                    <form id="logout-form" action="{{ route('logout') }}" method="POST"
                                        style="display: none;">
                                        {{ csrf_field() }}
                                    </form>
                                </li>
                                @endauth
                                @if (App::isLocale('en'))
                                <li><a href="{{URL::to('setlang/ar')}}"><i class="fas fa-globe-africa"></i>
                                        {{trans('massege.ar')}} </a></li>

                                @else
                                <li><a href="{{URL::to('setlang/en')}}"><i class="fas fa-globe-africa"></i>
                                        {{trans('massege.en')}} </a></li>

                                @endif
                            </ul>
                        </div>
                    </div>
                    <div class="col-md-6 d-none d-md-block">
                        <div class=" float-right">
                            <ul class="list-inline topBarNav">
                                @if($setting->phone)
                                <li><a href="#"> <span><i class="fas fa-phone"></i> @lang('massege.phone'):
                                            {{$setting->phone}}</span></a>
                                </li>
                                @endif

                                @if($setting->email)
                                <li><a href="#"> <span><i class="far fa-envelope"></i> @lang('massege.email'):
                                            {{$setting->email}}</span></a></li>
                                @endif
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="main_header_area animated">
            <div class="container">
                <nav id="navigation1" class="navigation">
                    <!-- Logo Area Start -->
                    <div class="nav-header">
                        @if(isset($setting->logo_img))
                        @if (App::isLocale('ar'))
                        <a class="nav-brand" @guest href="{{url('/')}}" @endguest href="{{url('/')}}" ><img src="{{asset($setting->logo_img)}}" alt="{{$setting->web_name_en}}"></a>
                        @else
                        <a class="nav-brand" @guest  href="{{url('/')}}" @endguest href="{{url('/')}}" ><img src="{{asset($setting->web_img)}}" alt="{{$setting->web_name_en}}"></a>

                        @endif
                        @else
                        <a class="nav-brand" @guest href="{{url('/')}}" @endguest href="{{url('/')}}">LOGO</a>
                        @endif
                        <div class="nav-toggle"></div>
                    </div>

                    <!-- Search panel Start -->
                    <div class="nav-search">
                        <div class="nav-search-button">
                            <i class="nav-search-icon"></i>
                        </div>
                        <form action="{{url('search')}}" method="POST" role="search" >
                            {{ csrf_field() }}
                            <div class="nav-search-inner">
                                <input type="text"  placeholder="@lang('massege.search')" name="keyword">
                            </div>
                        </form>
                    </div>
                    <!-- Main Menus Wrapper -->
                    <div class="nav-menus-wrapper">
                        <ul class="nav-menu align-to-right" id="menu">
                            <li class="active"><a href="{{url('/')}}">@lang('massege.home')</a></li>
                            <!-- <li ><a href="#about" >About Us </a></li> -->
                            @if($page )
                       @if (Request::is('/'))
                            @if(app()->getLocale() == 'ar')
                            <li>
                                <a href="#about">

                                    {{$page->title_ar}} </a></li>
                            @else
                            <li>
                                <a href="#about">

                                    {{ucwords($page->title_en)}} </a></li>
                            @endif
@else
@if(app()->getLocale() == 'ar')
<li>
    <a href="{{url('/')}}#about">

        {{$page->title_ar}} </a></li>
@else
<li>
    <a href="{{url('/')}}#about">

        {{ucwords($page->title_en)}} </a></li>
@endif
                            @endif
                            @endif

                             @if (Request::is('/'))<li><a href="#contact">@lang('massege.contact') </a></li>@else
                             <li><a href="{{url('/')}}#contact">@lang('massege.contact') </a></li>
                             @endif
                        </ul>
                    </div>

                </nav>
            </div>
        </div>
    </header>
      @include('flash-massege')
    <!--End Header-->
    @yield('content')
    <!--start footer-->
    <footer>
        <div class="container">
            <div class="row">
                <div class="col-md-6 col-12">
                    <span> @lang('massege.copyright') <span> <a href="https://www.3hand.net/">شركة تصميم مواقع</a> <a href="https://www.3hand.net/">ثرى هاند</a></span> </span>
                </div>
                <div class="col-md-6 col-12">
                    <div class="social float-right">
                        <ul class="list-inline ">
                            @if(isset($social))
                          @if($social->fb)  <li><a  href="{{"https://".$social->fb}}"
                                    target="_blank" ><i class="fab fa-facebook-f"></i> </a></li>@endif
                           @if($social->tw)  <li><a href="{{"https://".$social->tw}}"
                                    target="_blank" ><i class="fab fa-twitter"></i> </a></li> @endif
                          @if($social->instegram)  <li><a  href="{{"https://".$social->instegram}}"
                                    target="_blank" ><i class="fab fa-instagram"></i> </a></li>@endif
                          @if($social->linkedin)  <li><a  href="{{"https://".$social->linkedin}}"
                                    target="_blank" ><i class="fab fa-linkedin-in"></i> </a></li>@endif
                          @if($social->youtube)  <li><a  href="{{"https://".$social->youtube}}"
                                    target="_blank" ><i class="fab fa-youtube"></i> </a></li>@endif
                          @if($social->pinterest)  <li><a  href="{{"https://".$social->pinterest}}"
                                    target="_blank" ><i class="fab fa-pinterest-p"></i> </a></li> @endif
                          @if($social->rss)  <li><a href="{{"https://".$social->rss}}"
                                    target="_blank"><i class="fas fa-rss"></i> </a></li>@endif
                            @endif
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </footer>
    <div class="ft-mobile  d-xl-none ">
        <ul class="list-inline">
            <li><span><a href="{{url('/')}}"><i class="fas fa-home"></i>@lang('massege.home')</a></span></li>

            @guest
            <li class="add-plus"><span><a href="{{route('login')}}">
                        <div class="add-circle"><i class=" fas fa-search"></i></div><span class="caption"></span>
                    </a></span></li>
            <li><span><a href="{{route('login')}}"><i class="far fa-user"></i> @lang('massege.Login') </a>
                </span></li>
            @endguest
            @auth
            <li><span><a href="{{ route('logout') }}"
                        onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();">@lang('massege.Log out')</a>
                    <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                        {{ csrf_field() }}
                    </form>
                </span>
            </li>
            @endauth

        </ul>
    </div>
    <!--end footer-->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="{{asset('/')}}/assetfront/js/jquery-3.3.1.min.js"></script>
    <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
    <script src="{{asset('/')}}/assetfront/js/popper.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="{{asset('/')}}/assetfront/js/bootstrap.min.js"></script>
    <script src="{{asset('/')}}/assetfront/inc/carousel/owl.carousel.js"></script>
    <!-- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD4LdXEYpUZDQgSn1UOOnq2F1XWWCrEY_Y&libraries=places&callback=initMap"></script> -->
   <!-- <script src="{{asset('/')}}/assetfront/js/map_single.js"></script> -->
    <script src="{{asset('/')}}/assetfront/js/custom.js"></script>


    <script>
      // Note: This example requires that you consent to location sharing when
      // prompted by your browser. If you see the error "The Geolocation service
      // failed.", it means you probably did not give permission for the browser to
      // locate you.
      var map, infoWindow;
      function initMap() {
        map = new google.maps.Map(document.getElementById('map1'), {
          center: {lat: -34.397, lng: 150.644},
          zoom: 16
        });
        infoWindow = new google.maps.InfoWindow;

        // Try HTML5 geolocation.
        if (navigator.geolocation) {
          navigator.geolocation.getCurrentPosition(function(position) {
            var pos = {
              lat: position.coords.latitude,
              lng: position.coords.longitude
            };

            infoWindow.setPosition(pos);
            // infoWindow.setContent('Location found.');
            infoWindow.open(map);
            map.setCenter(pos);
          }, function() {
            handleLocationError(true, infoWindow, map.getCenter());
          });
        } else {
          // Browser doesn't support Geolocation
          handleLocationError(false, infoWindow, map.getCenter());
        }
      }

      function handleLocationError(browserHasGeolocation, infoWindow, pos) {
        infoWindow.setPosition(pos);
        infoWindow.setContent(browserHasGeolocation ?
                              'Error: The Geolocation service failed.' :
                              'Error: Your browser doesn\'t support geolocation.');
        infoWindow.open(map);
      }
    </script>
    <script async defer
    src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD4LdXEYpUZDQgSn1UOOnq2F1XWWCrEY_Y&libraries=places&callback=initMap">
    </script>
    @yield('js')
</body>

</html>