- @if($information['servers_summary']['disk_gb_sum'] >= 1000)
-
- @else
-
- @endif
+ @if(Session::get('recently_added_amount') > 0)
+
Recently added
+ @if(!empty($information['newest']))
+
+
+
+
+
+ Name |
+ Type |
+ Added |
+ Price |
+ |
+
+
+
+ @foreach($information['newest'] as $new)
+
+
+ @if($new->service_type === 1)
+ {{$new->hostname}}
+ @elseif($new->service_type === 2)
+ {{$new->main_domain}}
+ @elseif($new->service_type === 3)
+ {{$new->reseller}}
+ @elseif($new->service_type === 4)
+ {{$new->domain}}.{{$new->extension}}
+ @elseif($new->service_type === 5)
+ {{$new->name}}
+ @elseif($new->service_type === 6)
+ {{$new->title}}
+ @endif
+ |
+
+ @if($new->service_type === 1)
+ VPS
+ @elseif($new->service_type === 2)
+ Shared
+ @elseif($new->service_type === 3)
+ Reseller
+ @elseif($new->service_type === 4)
+ Domain
+ @elseif($new->service_type === 5)
+ Misc
+ @elseif($new->service_type === 6)
+ Seedbox
+ @endif
+ |
+ {{Carbon\Carbon::parse($new->created_at)->diffForHumans()}} |
+ {{$new->price}} {{$new->currency}} {{\App\Process::paymentTermIntToString($new->term)}} |
+
+ @if($new->service_type === 1)
+
+ @elseif($new->service_type === 2)
+
+ @elseif($new->service_type === 3)
+
+ @elseif($new->service_type === 4)
+
+ @elseif($new->service_type === 5)
+
+ @elseif($new->service_type === 6)
+
+ @endif
+ |
+
+ @endforeach
+
+
-
-
-
-
-
-
-
-
+ @endif
+ @endif
- @if(Session::get('due_soon_amount') > 0)
-
Due soon
- @if(!empty($information['due_soon']))
-
-
-
-
-
-
- Name |
- Type |
- Due |
- Price |
- |
-
-
-
- @foreach($information['due_soon'] as $due_soon)
-
-
- @if($due_soon->service_type === 1)
- {{$due_soon->hostname}}
- @elseif($due_soon->service_type === 2)
- {{$due_soon->main_domain}}
- @elseif($due_soon->service_type === 3)
- {{$due_soon->reseller}}
- @elseif($due_soon->service_type === 4)
- {{$due_soon->domain}}.{{$due_soon->extension}}
- @elseif($due_soon->service_type === 5)
- {{$due_soon->name}}
- @elseif($due_soon->service_type === 6)
- {{$due_soon->title}}
- @endif
- |
-
- @if($due_soon->service_type === 1)
- VPS
- @elseif($due_soon->service_type === 2)
- Shared
- @elseif($due_soon->service_type === 3)
- Reseller
- @elseif($due_soon->service_type === 4)
- Domain
- @elseif($due_soon->service_type === 5)
- Misc
- @elseif($due_soon->service_type === 6)
- Seedbox
- @endif
- |
-
- {{Carbon\Carbon::parse($due_soon->next_due_date)->diffForHumans()}} |
- {{$due_soon->price}} {{$due_soon->currency}} {{\App\Process::paymentTermIntToString($due_soon->term)}} |
-
- @if($due_soon->service_type === 1)
-
- @elseif($due_soon->service_type === 2)
-
- @elseif($due_soon->service_type === 3)
-
- @elseif($due_soon->service_type === 4)
-
- @elseif($due_soon->service_type === 5)
-
- @elseif($due_soon->service_type === 6)
-
- @endif
- |
-
- @endforeach
-
-
-
-
-
-
- @endif
- @endif
-
- @if(Session::get('recently_added_amount') > 0)
-
Recently added
- @if(!empty($information['newest']))
-
-
-
-
-
-
- Name |
- Type |
- Added |
- Price |
- |
-
-
-
- @foreach($information['newest'] as $new)
-
-
- @if($new->service_type === 1)
- {{$new->hostname}}
- @elseif($new->service_type === 2)
- {{$new->main_domain}}
- @elseif($new->service_type === 3)
- {{$new->reseller}}
- @elseif($new->service_type === 4)
- {{$new->domain}}.{{$new->extension}}
- @elseif($new->service_type === 5)
- {{$new->name}}
- @elseif($new->service_type === 6)
- {{$new->title}}
- @endif
- |
-
- @if($new->service_type === 1)
- VPS
- @elseif($new->service_type === 2)
- Shared
- @elseif($new->service_type === 3)
- Reseller
- @elseif($new->service_type === 4)
- Domain
- @elseif($new->service_type === 5)
- Misc
- @elseif($new->service_type === 6)
- Seedbox
- @endif
- |
- {{Carbon\Carbon::parse($new->created_at)->diffForHumans()}} |
- {{$new->price}} {{$new->currency}} {{\App\Process::paymentTermIntToString($new->term)}} |
-
- @if($new->service_type === 1)
-
- @elseif($new->service_type === 2)
-
- @elseif($new->service_type === 3)
-
- @elseif($new->service_type === 4)
-
- @elseif($new->service_type === 5)
-
- @elseif($new->service_type === 6)
-
- @endif
- |
-
- @endforeach
-
-
-
-
-
-
- @endif
- @endif
-
- @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
-
Page took {{$information['execution_time']}} seconds,
- Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}),
- Rates By Exchange Rate API
-
-
- @endif
+ @if(Session::has('timer_version_footer') && Session::get('timer_version_footer') === 1)
+
Page took {{$information['execution_time']}} seconds,
+ Built on Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }}),
+ Rates By Exchange Rate API
+
+
+ @endif
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php
index d0bcb600..2b0eb0a9 100644
--- a/resources/views/layouts/app.blade.php
+++ b/resources/views/layouts/app.blade.php
@@ -9,6 +9,7 @@
@endif
@yield('title') - @if (config()->has('app.name')) {{ config('app.name') }} @else My idlers @endif
+
@if(Session::get('dark_mode'))
diff --git a/resources/views/layouts/guest.blade.php b/resources/views/layouts/guest.blade.php
index 1f29a892..1ea55631 100644
--- a/resources/views/layouts/guest.blade.php
+++ b/resources/views/layouts/guest.blade.php
@@ -5,15 +5,26 @@
-
@yield('title') - My idlers
+
@yield('title') - @if (config()->has('app.name')) {{ config('app.name') }} @else My idlers @endif
+
-
+ @if(Session::get('dark_mode'))
+
+ @else
+
+ @endif
+
+
+
+ @yield('css_links')
+ @yield('style')
-
{{ $slot }}
+
+ @yield('scripts')