Current File : //home/tradevaly/new.tradevaly.com.bd/resources/views/backend/ayaan/master.blade.php
<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">

<head>
    <meta charset="utf-8" />
    <title> @yield('title') | Global Business Directory for B2B Marketplace in Bangladesh .</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta content="Tradevaly Best Business Two Business Platform" name="description" />
    <meta content="ayaantec" name="author" />
    <!-- App favicon -->
    <link rel="shortcut icon" href="{{asset('storage/images/admin/logo/'.$logo->image)}}">
    <link rel="stylesheet" href="//cdn.bootcss.com/toastr.js/latest/css/toastr.min.css">
    
    @include('backend.ayaan.head-css')
    <link href="{{asset('assets/backend/css/extra.css')}}?<?php time() ?>" rel="stylesheet"/>
    @stack('style')
</head>

@section('body')
    <body data-sidebar="dark">
@show
    <!-- Begin page -->
    <div id="layout-wrapper">
        @include('backend.ayaan.topbar')
        @include('backend.ayaan.sidebar')
        <!-- ============================================================== -->
        <!-- Start right Content here -->
        <!-- ============================================================== -->
        <div class="main-content">
            <div class="page-content">
                <div class="container-fluid">
                    @yield('content')
                </div>
                <!-- container-fluid -->
            </div>
            <!-- End Page-content -->
            @include('backend.ayaan.footer')
        </div>
        <!-- end main content-->
    </div>
    <!-- END layout-wrapper -->

    <!-- Right Sidebar -->
    @include('backend.ayaan.right-sidebar')
    <!-- /Right-bar -->

    <!-- JAVASCRIPT -->
    @include('backend.ayaan.vendor-scripts')
    @stack('script-lib')
    @stack('script')
    <script>
       $(document).ready(function() {
  if (window.File && window.FileList && window.FileReader) {
    $("#files").on("change", function(e) {
      var files = e.target.files,
        filesLength = files.length;
      
        var f = files[0]
        var fileReader = new FileReader();
        fileReader.onload = (function(e) {
          var file = e.target;
          $("<span class=\"pip\">" +
            "<img class=\"imageThumb\" src=\"" + e.target.result + "\" title=\"" + file.name + "\"/>" +
            "<br/><span class=\"remove\">Remove image</span>" +
            "</span>").insertAfter("#files");
          $(".remove").click(function(){
            $(this).parent(".pip").remove();
          });
          
        });
        fileReader.readAsDataURL(f);
      
      console.log(files);
    });
  } else {
    alert("Your browser doesn't support to File API")
  }
});
    </script>
     <script src="//cdn.bootcss.com/toastr.js/latest/js/toastr.min.js"></script>
        {!! Toastr::message() !!}
        <script>
    @foreach ($errors->all() as $error)
        toastr.error("{{ $error }}")
    @endforeach
</script>
        <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.6.16/dist/sweetalert2.all.min.js"></script>
</body>

</html>