From e473880fd218c29a74f932aed77a7b1d8576ba7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Tue, 29 Sep 2020 12:25:41 +0200 Subject: [PATCH] aktuelles --- content/author.blade.php | 244 ------------------- content/category.blade.php | 292 +---------------------- content/news.blade.php | 474 +------------------------------------ 3 files changed, 5 insertions(+), 1005 deletions(-) diff --git a/content/author.blade.php b/content/author.blade.php index 2ddace8..3f995f0 100644 --- a/content/author.blade.php +++ b/content/author.blade.php @@ -1,194 +1,14 @@ @extends('template.'.\Setting::get('template', 'default').'.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 - -
-
-
- - {{ \Setting::get('name')}} -
- {{ \Setting::get('tagline')}} - -
- -
- @if(\Session::get('premium_code')) - - @include('template.'.\Setting::get('template', 'default').'.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')
@@ -797,73 +617,9 @@
-
-
-
-
-
-
-
-
-

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

-
-
- - @foreach ($categories->take(4)->shuffle()->all() as $category) - - @endforeach -
-
-
- - @include('template.'.\Setting::get('template', 'default').'.content.includes.type-iptt') - @include('template.'.\Setting::get('template', 'default').'.content.includes.new-comment') - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass-qr') - - @if(!\Session::get('premium_code')) - @if (env('PAYMENT', false)) - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass') - @endif - @else - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-referral') - - @endif @stop @section('scripts') diff --git a/content/category.blade.php b/content/category.blade.php index c4bff2a..ec5b386 100644 --- a/content/category.blade.php +++ b/content/category.blade.php @@ -1,238 +1,18 @@ @extends('template.'.\Setting::get('template', 'default').'.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 - -
-
-
- - {{ \Setting::get('name')}} -
- {{ \Setting::get('tagline')}} - -
- -
- @if(\Session::get('premium_code')) - - @include('template.'.\Setting::get('template', 'default').'.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 -
-
-
- @if (isset($categoryModel)) -

-

- @if($categoryModel->icon == 'bitcoin') - - @else - - @endif - - {{ $categoryModel->name }}

- @else

-

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

- @endif +

Aktuelles

@if (isset($categoryModel)) @@ -246,7 +26,6 @@

- @endif
@@ -797,76 +576,7 @@
-
-
-
-
-
-
-
-
-

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

-
-
- @foreach ($categories->take(4)->shuffle()->all() as $category) - - @endforeach - - - -
-
-
- - - - - @include('template.'.\Setting::get('template', 'default').'.content.includes.type-iptt') - @include('template.'.\Setting::get('template', 'default').'.content.includes.new-comment') - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass-qr') - - @if(!\Session::get('premium_code')) - @if (env('PAYMENT', false)) - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-pass') - @endif - @else - @include('template.'.\Setting::get('template', 'default').'.content.includes.premium-referral') - - @endif @stop @section('scripts') diff --git a/content/news.blade.php b/content/news.blade.php index f79b18c..5a939d4 100644 --- a/content/news.blade.php +++ b/content/news.blade.php @@ -1,358 +1,14 @@ @extends('template.'.\Setting::get('template', 'default').'.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 - -
-
-
- - {{ \Setting::get('name')}} -
- {{ \Setting::get('tagline')}} - -
- -
- - - - - @if(\Session::get('premium_code')) - - @include('template.'.\Setting::get('template', 'default').'.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 -
-
-
- -
-
- @if (isset($categoryModel)) -

-

- - @if($categoryModel->icon == 'bitcoin') - - @else - - @endif - - {{ $categoryModel->name }}

- @else -

-

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

- @endif - -

- @if (isset($categoryModel)) - {{ $categoryModel->description }} - @else - {{ \Setting::get('description')}} - @endif -
- - -

-
-
- @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 -
-
+
+
+
+
@@ -364,59 +20,6 @@ - @if (env('APP_WRITE', false)) -
-
-
- {{ __('public.propose-content') }} Neuen Inhalt einreichen -
-
- - - @endif - - - - @include('template.'.\Setting::get('template', 'default').'.content.includes.create-content') - - - -
- @if (session()->has('success')) -
-
- @if(is_array(session()->get('success'))) - - @else - {{ session()->get('success') }} - @endif -
-
- @endif - - @if (session()->has('error')) -
-
- @if(is_array(session()->get('error'))) - - @else - {{ session()->get('error') }} - @endif -
-
- @endif
@@ -791,76 +394,7 @@
-
-
-
-
-
-
-
-
-

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

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