diff --git a/content/lists/default.blade.php b/content/lists/default.blade.php index c4ba71d..7d9b711 100644 --- a/content/lists/default.blade.php +++ b/content/lists/default.blade.php @@ -1,1493 +1,125 @@ @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 -
+
+
+
+ + +
+
- @endif - - @if (session()->has('error')) -
-
- @if(is_array(session()->get('error'))) - - @else - {{ session()->get('error') }} - @endif -
-
- @endif - -
- @foreach($nachrichten as $nach) - -
- - - @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 - -
- - @endforeach - - {{ $nachrichten->links() }}
-
- +
+

Unsere Verkaufsstandorte

+
+

Übersicht unserer Verkaufsstellen

-
-
-
-
-
-
-
-
-

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

-
-
+

Wir haben mehrere Verkaufsfahrzeuge, die von Mittwoch bis Samstag an mehreren Märkten in der Oberpfalz unterwegs sind. + Darüberhinaus ist unser eigener Hofladen in Finkenhammer von Montag bis Freitag 08-18:00 Uhr und Samstag von 07:00 Uhr bis 11:00 Uhr für Sie geöffnet. +

+
+
+
+
+
+
- @foreach ($categories->take(4)->shuffle()->all() as $category) -
- -
-
-
-
-
+ + Gallery image +
Hofladen Pleystein
+
- - fa-{{$category->icon}}" style="font-size: 1.3rem"> + + Gallery image +
Bauernmarkt Vohenstrauß
+
+ +
- {{ $category->name }} - -
-
+
-
-
-
-
-
+ + Gallery image +
Bauernmarkt Weiden
- @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 diff --git a/content/pages/verkaufsstellen.blade.php b/content/pages/verkaufsstellen.blade.php deleted file mode 100644 index cff88d0..0000000 --- a/content/pages/verkaufsstellen.blade.php +++ /dev/null @@ -1,125 +0,0 @@ -@extends('template.'.config('settings.template').'.content.master') -@section('content') - - - -
-
-
- - - -
-
-

Unsere Verkaufsstandorte

-
-

Übersicht unserer Verkaufsstellen

- -

Wir haben mehrere Verkaufsfahrzeuge, die von Mittwoch bis Samstag an mehreren Märkten in der Oberpfalz unterwegs sind. - Darüberhinaus ist unser eigener Hofladen in Finkenhammer von Montag bis Freitag 08-18:00 Uhr und Samstag von 07:00 Uhr bis 11:00 Uhr für Sie geöffnet. -

-
-
-
-
- -
-
-
-
-
-
-
-
- - -
-
-
- - - - - - -@stop