diff --git a/content/includes/explain-lightning.blade.php b/content/includes/explain-lightning.blade.php deleted file mode 100644 index 939a854..0000000 --- a/content/includes/explain-lightning.blade.php +++ /dev/null @@ -1,40 +0,0 @@ - diff --git a/content/includes/header.blade.php b/content/includes/header.blade.php index d978c86..3c4cc40 100644 --- a/content/includes/header.blade.php +++ b/content/includes/header.blade.php @@ -33,34 +33,9 @@ class="">Hühnerhof -
  • Verkaufsstellen -
  • diff --git a/content/includes/new-comment.blade.php b/content/includes/new-comment.blade.php deleted file mode 100644 index 49021f0..0000000 --- a/content/includes/new-comment.blade.php +++ /dev/null @@ -1,46 +0,0 @@ - \ No newline at end of file diff --git a/content/includes/payment-news.blade.php b/content/includes/payment-news.blade.php deleted file mode 100644 index 7326592..0000000 --- a/content/includes/payment-news.blade.php +++ /dev/null @@ -1,121 +0,0 @@ -
    -
    - Card image cap -
    - -
    - - - - - - -
    - -

    {{$nach->title}}

    -
    {{date('d.m.Y | H:i', strtotime($nach->created_at))}}
    - - - - -

    - - - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab atque commodi, cum cupiditate deserunt dignissimos eaque error ex impedit ipsa, modi natus nulla odit quis sunt ut voluptas voluptates, voluptatum! - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab atque commodi, cum cupiditate deserunt dignissimos eaque error ex impedit ipsa, modi natus nulla odit quis sunt ut voluptas voluptates, voluptatum! -

    - - - - - -
    - -
    - -

    Premium Content

    -

    To read the article please pay 1000 sats (~0.09 $)

    - -
    -

    - Pay 1000 sats -
    - How to pay this? - - @include('includes.explain-lightning') - -
    -
    -

    - -
    -
    - - - - - -
    - -
    -
    - -
    - -
    -
    -
    - - -

    - -
    - - - - @if (env('APP_COMMENTS', false)) - - @endif - - - - - -
    -
    diff --git a/content/includes/premium-banner.blade.php b/content/includes/premium-banner.blade.php deleted file mode 100644 index 737f502..0000000 --- a/content/includes/premium-banner.blade.php +++ /dev/null @@ -1,42 +0,0 @@ - - - - diff --git a/content/includes/premium-pass-qr.blade.php b/content/includes/premium-pass-qr.blade.php deleted file mode 100644 index 190dfc1..0000000 --- a/content/includes/premium-pass-qr.blade.php +++ /dev/null @@ -1,131 +0,0 @@ - - - \ No newline at end of file diff --git a/content/includes/premium-pass.blade.php b/content/includes/premium-pass.blade.php deleted file mode 100644 index c169142..0000000 --- a/content/includes/premium-pass.blade.php +++ /dev/null @@ -1,77 +0,0 @@ -
    - -
    -
    - -
    -

    -
    - Unlimited access to all premium content with a Premium Pass. -

    - - -
    -
    - -
    Benefits:
    - - - - - -
      -
    • Flatfee
    • -
    • No Sign-up
    • -
    • Instant Access
    • -
    • No recurring charge
    • - - -
    - - - Pay with Bitcoin Lightning Network or Credit Card. - - -
    -
    -
    -
    - - - -
    - @foreach ($premium_plans as $premium_plan) -
    -
    -
    -

    {{ $premium_plan->name }}

    - -
    -
    - -
    Cost: {{ number_format($premium_plan->cost, 0, '', ',') }} sats
    - Buy Ticket -
    -
    -
    - @endforeach - - - -
    -
    - - - - - -
    diff --git a/content/includes/premium-referral.blade.php b/content/includes/premium-referral.blade.php deleted file mode 100644 index 1096b53..0000000 --- a/content/includes/premium-referral.blade.php +++ /dev/null @@ -1,71 +0,0 @@ - - -
    - -
    -
    - -
    -

    Love us? Share your Passion!

    - -

    - When someone uses your link to aquire a premium pass, both of you get extra time added to your access codes. -

    - -
    -
    - Your personal Referral Link: -
    - - - -
    -
    -
    -
    -
    -
    - - - -
    - -
    - - - -
    - -
    - - - -
    - -
    - - - -
    -
    -
    -
    - - - - -
    - - - - - - - -
    diff --git a/content/lists/default.blade.php b/content/lists/default.blade.php index e927ff1..1bf5163 100644 --- a/content/lists/default.blade.php +++ b/content/lists/default.blade.php @@ -67,51 +67,7 @@ @endforeach -
    - - Gallery image -
    Bauernmarkt Vohenstrauß
    -
    - -
    - - - -
    - - - Gallery image -
    Bauernmarkt Weiden
    - -
    - -
    - -
    - - - Gallery image -
    Donaumarkt Regensburg
    -
    - -
    - -
    - - - Gallery image -
    Wochenmakt Neutraubling
    -
    -
    - -
    - - - Gallery image -
    Wochenmakt Burglengenfeld
    -
    -


    diff --git a/content/news.blade.php b/content/news.blade.php index 0e94c3c..a7ecccf 100644 --- a/content/news.blade.php +++ b/content/news.blade.php @@ -1,1487 +1,68 @@ @extends('template.'.config('settings.template').'.content.master') @section('content') - - - @if (config('settings.image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image)) - - @endif - - - @if (isset($categoryModel) and $categoryModel->image) - - @endif - -
    -
    -
    - - {{ config('settings.name')}} -
    - {{ config('settings.tagline')}} - -
    - -
    - - - - - @if(\Session::get('premium_code')) - - @include('template.'.config('settings.template').'.content.includes.premium-banner') - @endif - - @if (!\Session::get('premium_code')) - - @if (env('PAYMENT', false)) -
    {{ __('public.buy-login') }}
    - @endif - - - @endif - - @if (env('APP_ACCESS', 'public') == 'code') -
    -
    - - {{ __('public.logout') }} Logout - -
    -
    - - -
    - - - @endif - - @if (\Route::currentRouteName() != 'author.get') -
    -
    -
    - - - @foreach ($categories as $category) - - @endforeach -
    -
    -
    - + - @endif - -
    -
    - @if (\Route::currentRouteName() == 'author.get') -
    -
    -
    - -
    -
    -

    -

    {{ $author->name }}

    - - -

    - {{ $author->description }} -

    - - - -
    -
    - @if (isset($author->social_networks['email'])) - - | - @endif - - @if (isset($author->social_networks['site'])) - {{ $author->social_networks['site'] }} - @endif -
    -
    -
    - -
    - - - @foreach ($social as $value) - @if (isset($author->social_networks[$value])) - - @endif - @endforeach - -
    -
    -
    - -
    -
    - @endif - - @if (\Route::currentRouteName() == 'welcome') -
    -
    -
    -

    {{ __('public.popular-authors') }}

    -
    - - @foreach ($authors as $author) -
    -
    - - - -
    - @endforeach - - - -
    -
    -
    -
    -
    - - @endif -
    +
    +
    + +
    +

    Unsere Verkaufsstandorte

    +
    +

    {{$nach->title}}

    + Jeden Donnerstag von ca. 08:00 Uhr bis ca. 12:00 Uhr. -
    - - -
    - - - - @if (env('APP_WRITE', false)) -
    -
    -
    - {{ __('public.propose-content') }} Neuen Inhalt einreichen -
    -
    - - + @if(isset($nach->additional_fields['1'])) + {!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!} @endif - - - - @include('template.'.config('settings.template').'.content.includes.create-content') - - - -
    - @if (session()->has('success')) -
    -
    - @if(is_array(session()->get('success'))) - +

    Bilder

    + +
    +
    + @if ($nach->image) + Gallery image @else - {{ session()->get('success') }} + Gallery image @endif
    +
    - @endif - - @if (session()->has('error')) -
    -
    - @if(is_array(session()->get('error'))) - - @else - {{ session()->get('error') }} - @endif -
    -
    - @endif - -
    -
    - - - @if ($nach->paid != 0 and (empty($nach->premium_until) or $nach->premium_until > date('Y-m-d')) and !\Session::get('premium_code')) -
    -
    - - -
    - - @if($nach->created_at->diffInHours(date('Y-m-d H:i:s')) < 1) -
    -
    - {{ $nach->created_at->diffForHumans() }} veröffentlicht -
    -
    -
    - @endif - - -

    {{$nach->title}}

    -
    - -
    - @if ($nach->user and $nach->user->public_author == 1) - - - {{ $nach->user->name }} - - {{date('d.m.Y H:i', strtotime($nach->created_at))}} - @else - {{date('d.m.Y H:i', strtotime($nach->created_at))}} - @endif -
    - - @if ($nach->category) - -
    -

    {{ $nach->category->name}}

    -
    -
    - @endif - - @if ($nach->image) - - @endif - -
    - -
    -
    -
    - - {!! \Str::limit($nach->nachrichten, 285, ' ...') !!} -
    -
    - - @if ($nach->type_id == 2) -

    -

    {{ __('public.work-location') }}

    -
    {{ isset($nach->additional_fields['workplace']) ? \Str::limit($nach->additional_fields['workplace'], 30, ' ...') : '-'}} -
    -

    - -

    -

    {{ __('public.contact-data') }}

    -
    {!! isset($nach->additional_fields['contact_info']) ? \Str::limit($nach->additional_fields['contact_info'], 30, ' ...') : '-' !!} -
    -

    - @endif - -
    -
    - -
    - -

    {{ __('public.premium-content') }}

    - - @if (!empty($nach->premium_until) and $nach->premium_until > date('Y-m-d')) - {{ __('public.article-requires-payment') }}mjn
    -
    - @endif - -

    To read the article - - @if (!empty($nach->premium_until) and $nach->premium_until > date('Y-m-d')) - {{ __('public.now') }}now - @endif - {{ __('public.please-pay') }} {{ $nach->paid }} sats

    - -
    -

    - Pay {{ $nach->paid }} sats -
    - {{ __('public.use') }} {{ __('public.premium-pass') }} - - @include('template.'.config('settings.template').'.content.includes.explain-lightning') - -
    -

    - -
    -
    - - -
    - -
    -
    -
    - - - - -
    - - - - @if (env('APP_COMMENTS', false)) - - @endif - - - - - -
    -
    - - @else -
    -
    - - @if(\Session::get('premium_code') and $nach->paid != 0 and (empty($nach->premium_until) or $nach->premium_until > date('Y-m-d'))) -
    Premium content
    - @endif - -
    - @if($nach->created_at->diffInHours(date('Y-m-d H:i:s')) < 1) -
    -
    - {{ $nach->created_at->diffForHumans() }} veröffentlicht -
    -
    -
    - @endif - - -

    {{$nach->title}}

    -
    - -
    - @if ($nach->user and $nach->user->public_author == 1) - - - {{ $nach->user->name }} - {{date('d.m.Y H:i', strtotime($nach->created_at))}} - @else - {{date('d.m.Y H:i', strtotime($nach->created_at))}} - @endif -
    - - @if ($nach->category) - -
    -

    {{ $nach->category->name}}

    -
    -
    - @endif - - @if ($nach->image) - - @endif - - -

    - {!! $nach->nachrichten !!} -

    - - @if ($nach->type_id == 2) -

    -

    {{ __('public.work-location') }}

    {{ isset($nach->additional_fields['workplace']) ? $nach->additional_fields['workplace'] : '-'}} -

    - -

    -

    {{ __('public.contact-data') }}

    {!! isset($nach->additional_fields['contact_info']) ? $nach->additional_fields['contact_info'] : '-' !!} -

    - @endif - - @if($nach->type_id == 3) -
    - -
    - - @if($nach->show_total_paid_action == 1) - - @if ($nach->actions->count() > 1) - -
    - - {{ __('public.vote-distribution') }} -
    - @foreach ($nach->actions as $action) -
    {{ !empty($nach->total_paid_actions()) ? round(($action->payments()->where('status', 1)->sum('amount') * 100) / $nach->total_paid_actions()) : 0 }}%
    - - @endforeach -
    -
    - -
    - @endif - @endif - - - - - - - @foreach ($nach->actions as $action) - -
    - - {{ $action->description }} -
    - - @if ($action->type == 2) -
    - - @endif - - - -
    - @endforeach -
    - -
    - @foreach ($nach->actions as $action) - - - @endforeach -
    - @endif - - @if(sizeof($nach->files) > 0) -
    -
    {{ __('public.files-download') }}
    -
    - - - @foreach ($nach->files as $file) - - @endforeach -
    - @endif - -
    - - - - - - @if (env('APP_COMMENTS', false)) - - @endif - - - - - -
    -
    - @endif - -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -

    {{ __('public.read-more') }}

    -
    -
    - - @foreach ($categories->take(4)->shuffle()->all() as $category) - - @endforeach - -
    +
    -
    +
    +
    - - - - @include('template.'.config('settings.template').'.content.includes.type-iptt') - @include('template.'.config('settings.template').'.content.includes.new-comment') - @include('template.'.config('settings.template').'.content.includes.premium-pass-qr') - - @if(!\Session::get('premium_code')) - @if (env('PAYMENT', false)) - @include('template.'.config('settings.template').'.content.includes.premium-pass') - @endif - @else - @include('template.'.config('settings.template').'.content.includes.premium-referral') - - @endif -@stop - @section('scripts') - - - - - - - - - - - - - - @if (env('APP_WRITE', false)) - - - @endif - - @if (\Session::has('success_plan')) - - @endif - - - - - @stop