From 1e3d36eb99df565dfb2488df63da8fd84ca45a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 10 Oct 2022 14:43:59 +0200 Subject: [PATCH] : --- content/includes/explain-lightning.blade.php | 40 ------ content/includes/header.blade.php | 0 content/includes/new-comment.blade.php | 46 ------- content/includes/payment-news.blade.php | 121 ----------------- content/includes/premium-pass-qr.blade.php | 131 ------------------ content/includes/premium-pass.blade.php | 77 ----------- content/includes/premium-referral.blade.php | 71 ---------- content/index.blade.php | 132 +------------------ content/master.blade.php | 53 +++++--- content/menu.blade.php | 0 content/pages/datenschutz.blade.php | 58 +------- content/pages/impressum.blade.php | 56 +------- 12 files changed, 45 insertions(+), 740 deletions(-) delete mode 100644 content/includes/explain-lightning.blade.php delete mode 100644 content/includes/header.blade.php delete mode 100644 content/includes/new-comment.blade.php delete mode 100644 content/includes/payment-news.blade.php delete mode 100644 content/includes/premium-pass-qr.blade.php delete mode 100644 content/includes/premium-pass.blade.php delete mode 100644 content/includes/premium-referral.blade.php delete mode 100644 content/menu.blade.php 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 deleted file mode 100644 index e69de29..0000000 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-pass-qr.blade.php b/content/includes/premium-pass-qr.blade.php deleted file mode 100644 index 911e531..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/index.blade.php b/content/index.blade.php index 1ee1e6d..80b8b76 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -1,43 +1,8 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.master') - +@extends('template.'.config('settings.template').'.content.master') @section('content') - -
-
- -
-
- - - @if (\Setting::get('image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image)) - @endif - @if (isset($categoryModel) and $categoryModel->image) - - @endif
@@ -90,16 +44,11 @@


-

{{ \Setting::get('name')}}

+

Kurbad Pleystein

- @if (isset($categoryModel)) - {{ $categoryModel->description }} - @else - {{ \Setting::get('description')}} - @endif - + @@ -113,7 +62,7 @@ - + @@ -208,80 +157,9 @@

- @foreach($nachrichten as $nach) -
- - -
- - @if ($nach->image) - - @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 -
- - - - - - -

- {!! $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 - - - -
- - - - - - - - - -
- -
- - @endforeach - -
diff --git a/content/master.blade.php b/content/master.blade.php index eb7d8cb..f249575 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -4,28 +4,53 @@ - {{ \Setting::get('name')}} + Physiotherapie und Ergotherepie - Kurbad Pleystein - @if (!empty(\Setting::get('favicon_image', ''))) - - - - @endif + @include('template.'.config('settings.template').'.content.includes.css') - @include('template.'.\Setting::get('template', 'default').'.content.includes.css') - - @include('template.'.\Setting::get('template', 'default').'.content.includes.integrations') + @include('template.'.config('settings.template').'.content.includes.integrations') - -@include('template.'.\Setting::get('template', 'default').'.content.includes.header') +
+
+
+
+ + @yield('content') @@ -34,9 +59,7 @@ -@include('template.'.\Setting::get('template', 'default').'.content.includes.footer') - -@include('template.'.\Setting::get('template', 'default').'.content.includes.scripts') - +@include('template.'.config('settings.template').'.content.includes.footer') +@include('template.'.config('settings.template').'.content.includes.scripts') diff --git a/content/menu.blade.php b/content/menu.blade.php deleted file mode 100644 index e69de29..0000000 diff --git a/content/pages/datenschutz.blade.php b/content/pages/datenschutz.blade.php index 7ee43f6..c20c246 100644 --- a/content/pages/datenschutz.blade.php +++ b/content/pages/datenschutz.blade.php @@ -1,63 +1,7 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.master') +@extends('template.'.config('settings.template').'.content.master') @section('content') -
-
- - -
-
- - - - - @if (\Setting::get('image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image)) - - @endif - - - @if (isset($categoryModel) and $categoryModel->image) - - @endif
diff --git a/content/pages/impressum.blade.php b/content/pages/impressum.blade.php index 560cd0a..9705cf0 100644 --- a/content/pages/impressum.blade.php +++ b/content/pages/impressum.blade.php @@ -1,63 +1,9 @@ -@extends('template.'.\Setting::get('template', 'default').'.content.master') +@extends('template.'.config('settings.template').'.content.master') @section('content') - -
-
- -
-
- - - @if (\Setting::get('image') and !isset($categoryModel) or (isset($categoryModel) and !$categoryModel->image)) - - @endif - - - @if (isset($categoryModel) and $categoryModel->image) - - @endif