@extends('admin::fullwidth-layout') @section('title', clean(trans('files::files.share.available_file_for_download'))) @section('page-header')

{{ clean(trans('files::files.share.available_file_for_download')) }}

@if($filesShare->pwd=='' && $unlock)
{{ csrf_field() }}
@endif
@endsection @section('content')
@if(!$expired)
@if (setting('enable_ad2')) @include('setting::admin.settings.advertisement',['ad'=>setting('ad_block_2')]) @endif
@if($filesShare->pwd=='' && $unlock) @foreach($files as $file)
@php $download_key=id_encode($file->id); $size=display_filesize($file->size); @endphp
{{ $file->filename }}
{{ $size }} @if($file->description!='') | View Description @endif @if(!$file->folder->public_download && !auth()->user()) | {{ clean(trans('files::files.share.require_login_to_download')) }} @endif
@endforeach @else
{{ csrf_field() }}
{{ clean(trans('files::files.share.password_help')) }} @if($errors->has('unlockpassword')) {{ clean($errors->first('unlockpassword')) }} @endif
@endif
@else @endif
@if (setting('enable_ad2')) @include('setting::admin.settings.advertisement',['ad'=>setting('ad_block_2')]) @endif @endsection