-
-
{{$permission->table}} |
@if($sub_permissions->where('name',$permission->table.'-create')->first())
-
hasPermissionTo($permission->table.'-create')) checked @endif name="permissions[]">
diff --git a/resources/views/admin/tags/create.blade.php b/resources/views/admin/tags/create.blade.php
index a0084b00..65bf1d99 100755
--- a/resources/views/admin/tags/create.blade.php
+++ b/resources/views/admin/tags/create.blade.php
@@ -14,13 +14,13 @@
-
diff --git a/resources/views/admin/tags/edit.blade.php b/resources/views/admin/tags/edit.blade.php
index 1de0ed38..d1feb6da 100755
--- a/resources/views/admin/tags/edit.blade.php
+++ b/resources/views/admin/tags/edit.blade.php
@@ -17,13 +17,13 @@
-
diff --git a/resources/views/admin/tags/index.blade.php b/resources/views/admin/tags/index.blade.php
index 93824870..2814b7d4 100755
--- a/resources/views/admin/tags/index.blade.php
+++ b/resources/views/admin/tags/index.blade.php
@@ -37,7 +37,6 @@
# |
الاسم |
- الرمز |
تحكم |
@@ -46,7 +45,6 @@
{{$tag->id}} |
{{$tag->tag_name}} |
- {{$tag->slug}} |
@can('tags-update')
diff --git a/resources/views/front/app.blade.php b/resources/views/front/app.blade.php
new file mode 100644
index 00000000..52cd91c2
--- /dev/null
+++ b/resources/views/front/app.blade.php
@@ -0,0 +1,329 @@
+
+
+
+
+
+
+
+ @include('seo.index')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @yield('header-section')
+
+
+
+ @yield('breadcrumb')
+
+
+
+ @yield('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }})
+
+
+
+
+
+
+ @include('front.partials.home.social-icons')
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/front/article.blade.php b/resources/views/front/article.blade.php
new file mode 100644
index 00000000..0f0784a8
--- /dev/null
+++ b/resources/views/front/article.blade.php
@@ -0,0 +1,67 @@
+
+@extends('front.app',['page_title'=>$article->title,'page_description'=>$article->meta_description,'page_image'=>$article->main_image()])
+
+@section('breadcrumb')
+
+@endsection
+
+@section('content')
+
+
+
+
+
+
+
+ }})
+
+
+
+ {!! $article->description!!}
+
+
+
+
+
+
+
+
+
+
+
+ }})
+
+
+
+ {{$article->editor->meta_description}}
+
+
+
+
+@endsection
diff --git a/resources/views/front/auth/login.blade.php b/resources/views/front/auth/login.blade.php
new file mode 100644
index 00000000..5d8e939a
--- /dev/null
+++ b/resources/views/front/auth/login.blade.php
@@ -0,0 +1,171 @@
+@extends('front.app',['page_title'=>'تسجيل الدخول'])
+
+@section('content')
+
+
+@endsection
diff --git a/resources/views/front/auth/passwords/confirm.blade.php b/resources/views/front/auth/passwords/confirm.blade.php
new file mode 100644
index 00000000..ca78fc1d
--- /dev/null
+++ b/resources/views/front/auth/passwords/confirm.blade.php
@@ -0,0 +1,49 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+ {{ __('Please confirm your password before continuing.') }}
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/front/auth/passwords/email.blade.php b/resources/views/front/auth/passwords/email.blade.php
new file mode 100644
index 00000000..1fea9845
--- /dev/null
+++ b/resources/views/front/auth/passwords/email.blade.php
@@ -0,0 +1,47 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+ @if (session('status'))
+
+ {{ session('status') }}
+
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/front/auth/passwords/reset.blade.php b/resources/views/front/auth/passwords/reset.blade.php
new file mode 100644
index 00000000..989931d3
--- /dev/null
+++ b/resources/views/front/auth/passwords/reset.blade.php
@@ -0,0 +1,65 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/front/auth/register.blade.php b/resources/views/front/auth/register.blade.php
new file mode 100644
index 00000000..d236a48e
--- /dev/null
+++ b/resources/views/front/auth/register.blade.php
@@ -0,0 +1,77 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/front/auth/verify.blade.php b/resources/views/front/auth/verify.blade.php
new file mode 100644
index 00000000..9f8c1bc0
--- /dev/null
+++ b/resources/views/front/auth/verify.blade.php
@@ -0,0 +1,28 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+
+
+
+ @if (session('resent'))
+
+ {{ __('A fresh verification link has been sent to your email address.') }}
+
+ @endif
+
+ {{ __('Before proceeding, please check your email for a verification link.') }}
+ {{ __('If you did not receive the email') }},
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/front/author.blade.php b/resources/views/front/author.blade.php
new file mode 100644
index 00000000..32169984
--- /dev/null
+++ b/resources/views/front/author.blade.php
@@ -0,0 +1,53 @@
+@extends('front.app',['page_title'=>$author->name,'page_description'=>$author->meta_description,'page_image'=>$author->avatar()])
+
+@section('content')
+
+
+
+
+ }})
+
+
+
+ {{$author->meta_description}}
+
+
+
+
+ @foreach($posts as $post)
+
+
+
+
+
+
+
+ {{$post->meta_description}}
+
+
+
+
+ @endforeach
+
+
+ {{ $posts->links('front.custom-pagination') }}
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/front/authors.blade.php b/resources/views/front/authors.blade.php
new file mode 100644
index 00000000..fd709b52
--- /dev/null
+++ b/resources/views/front/authors.blade.php
@@ -0,0 +1,40 @@
+@extends('front.app',['page_title'=>'الكتاب'])
+
+
+@section('header-section')
+
+@endsection
+
+@section('content')
+
+
+
+ @foreach($authors as $author)
+
+
+ }})
+
+
+
+ {{$author->meta_description}}
+
+
+ @endforeach
+
+
+ {{ $authors->links('front.custom-pagination') }}
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/front/category.blade.php b/resources/views/front/category.blade.php
new file mode 100644
index 00000000..00d00876
--- /dev/null
+++ b/resources/views/front/category.blade.php
@@ -0,0 +1,68 @@
+@extends('front.app',['page_title'=>$category->title,'page_description'=>$category->meta_description,'page_image'=>$category->image()])
+
+@isset($search_word)
+
+@endisset
+
+
+@section('header-section')
+
+@endsection
+
+@section('content')
+
+
+
+ @foreach($posts as $post)
+
+
+
+
+
+
+
+ {{$post->meta_description}}
+
+
+
+
+ @endforeach
+
+
+ {{ $posts->links('front.custom-pagination') }}
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/front/contact-us.blade.php b/resources/views/front/contact-us.blade.php
new file mode 100644
index 00000000..411ce811
--- /dev/null
+++ b/resources/views/front/contact-us.blade.php
@@ -0,0 +1,97 @@
+@extends('front.app',['page_title'=>'اتصل بنا'])
+
+@section('content')
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/front/custom-pagination.blade.php b/resources/views/front/custom-pagination.blade.php
new file mode 100644
index 00000000..2306f2ea
--- /dev/null
+++ b/resources/views/front/custom-pagination.blade.php
@@ -0,0 +1,46 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/views/front/dashboard.blade.php b/resources/views/front/dashboard.blade.php
deleted file mode 100644
index 499d6f7c..00000000
--- a/resources/views/front/dashboard.blade.php
+++ /dev/null
@@ -1,149 +0,0 @@
-@extends('layouts.app')
-@section('content')
-
-
-
-
-
-
-
-
-
-
-
- أنفقت معنا
-
- 0.00
-
-
-
-
- رصيدك الآن
-
- 0.00
-
-
-
- شحن رصيد الآن
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @if(0)
-
-
-
-
- لا توجد طلبات بعد في حسابك
-
-
-
-
-
- @else
-
- @for($i=0;$i<12;$i++)
-
-
-
- 
-
-
-
-
- زيادة متابعين صفحة فيسبوك عدد 12.000 متابع
-
-
- الحالة : مكتمل جزئياً
-
-
-
-
-
-
-
-
-
-
-
- 70012
-
-
- التكلفة 6.00$
-
-
-
- العدد قبل البدء 610
-
-
- العدد المتبقي 2100
-
-
- منذ 3 دقائق
-
-
-
-
-
-
-
-
-
-
- @endfor
-
-
- @endif
-
-
-
-
-
-
-
-{{--
-
-
-
-
- --}}
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/index.blade.php b/resources/views/front/index.blade.php
index 63bfdd5f..942a6e54 100644
--- a/resources/views/front/index.blade.php
+++ b/resources/views/front/index.blade.php
@@ -1,9 +1,45 @@
-@extends('layouts.app')
+@extends('front.app')
+
+@section('header-section')
+ @include('front.partials.hero-slide',['posts'=>$featured_posts])
+ @include('front.partials.home.research',compact('research','most_viewed_research'))
+@endsection
+
@section('content')
-
-
-
-
-
-
+
+
+ @include('front.partials.home.latestposts',$latestposts)
+
+
+
+
+
+ - إعلان -
+
+
+
+
+
+
+
+
+
+
+
+ @include('front.partials.home.widget-post-two-list',['posts'=>$workshops_latest,'title'=>'الأحدث'])
+ @include('front.partials.home.widget-post-two-list',['posts'=>$workshops_most,'title'=>'الأكثر قراءة'])
+
+
+
+
+ @include('front.partials.home.widget-post-two-carousel',['posts'=>$books])
+
+
+
+ @include('front.partials.home.widget-post-list',['posts' => $booksReviews])
+
+
@endsection
\ No newline at end of file
diff --git a/resources/views/front/index2.blade.php b/resources/views/front/index2.blade.php
deleted file mode 100644
index 0289eec7..00000000
--- a/resources/views/front/index2.blade.php
+++ /dev/null
@@ -1,122 +0,0 @@
-@extends('layouts.app')
-@section('styles')
-
-@endsection
-@section('content')
-
-
-
-
-
- من خلال مدونة عالم المعرفة يمكنك الاستمتاع بقراءة مواضيع رائعة
-
-
-
-
-
-
-
-
-
-
- الأقسام
-
- @php
- $categories = \App\Models\Category::orderBy('id','ASC')->get();
- @endphp
- @foreach($categories as $category)
-
- @endforeach
-
-
-
-
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/layouts/app.blade.php b/resources/views/front/layouts/app.blade.php
new file mode 100644
index 00000000..3e01a110
--- /dev/null
+++ b/resources/views/front/layouts/app.blade.php
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+ {{ config('app.name', 'Laravel') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @yield('content')
+
+
+
+
diff --git a/resources/views/front/page.blade.php b/resources/views/front/page.blade.php
new file mode 100644
index 00000000..00ca7d70
--- /dev/null
+++ b/resources/views/front/page.blade.php
@@ -0,0 +1,44 @@
+
+@extends('front.app',['page_title'=>$page->title,'page_description'=>$page->meta_description,'page_image'=>$page->image()])
+
+@section('header-section')
+
+@endsection
+
+@section('content')
+
+
+
+
+
+
+ {!! $page->description!!}
+
+
+
+
+
+
+
+ @include('front.partials.home.social-icons')
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/front/pages/about.blade.php b/resources/views/front/pages/about.blade.php
deleted file mode 100644
index a47c2a02..00000000
--- a/resources/views/front/pages/about.blade.php
+++ /dev/null
@@ -1,20 +0,0 @@
-@extends('layouts.app',['page_title'=>"من نحن"])
-@section('content')
-
-
-
-
-
- من نحن
-
- {{--
- معلومات عنا
- --}}
-
-
- {!!$settings['about_page']!!}
-
-
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/pages/article.blade.php b/resources/views/front/pages/article.blade.php
deleted file mode 100644
index 81bee43b..00000000
--- a/resources/views/front/pages/article.blade.php
+++ /dev/null
@@ -1,227 +0,0 @@
-@extends('layouts.app',['page_title'=>$article->title,'page_description'=>$article->meta_description,'page_image'=>$article->main_image()])
-@section('content')
-
-
-
-
-
-
- }})
-
-
- @foreach($article->categories as $article_category)
- @if($loop->index<5) {{$article_category->title}}
- @endif
- @endforeach
-
- {{$article->title}}
-
- - {{\Carbon::parse($article->created_at)->diffForHumans()}}
- - {{$article->user->name}}
- @if($article->comments_count!=0)
-
- @endif
- @if($article->views!=0)
-
- @endif
-
-
-
- {!!$article->description!!}
-
-
- @if(count($article->tags))
-
- @foreach($article->tags as $article_tag)
- @if($loop->index<5) #{{$article_tag->tag_name}}
- @endif
- @endforeach
-
- @endif
- {{--
-
-
- }})
-
-
-
- --}}
-
- @if($article->comments_count)
-
-
- @endif
-
- شاركنا رأيك
- بريدك الالكتروني لن يتم نشره.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }})
-
-
-
-
-
-
-
-
-
-
- @php
- $random_articles = \App\Models\Article::orderBy('id','DESC')->with(['categories'=>function($q){$q->first();}])->paginate(5);
- @endphp
-
- @foreach($random_articles as $single_article)
-
-
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
-
-
-
-
-
-
-
-
-
-
-@endsection
-@section('scripts')
-
-@endsection
diff --git a/resources/views/front/pages/blog.blade.php b/resources/views/front/pages/blog.blade.php
deleted file mode 100644
index d828e195..00000000
--- a/resources/views/front/pages/blog.blade.php
+++ /dev/null
@@ -1,75 +0,0 @@
-@extends('layouts.app',['page_title'=>"المدونة"])
-@section('content')
-
-
-
-
-
-
-
- المدونة
- إليك أحدث مقالاتنا.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- @foreach($articles as $article)
-
-
-
-
-
-
-
- عرض المزيد
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
- {{$articles->links()}}
-
-
-
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/pages/contact.blade.php b/resources/views/front/pages/contact.blade.php
deleted file mode 100644
index 8feb06dd..00000000
--- a/resources/views/front/pages/contact.blade.php
+++ /dev/null
@@ -1,150 +0,0 @@
-@extends('layouts.app',['page_title'=>"تواصل معنا"])
-@section('content')
-
-
-
-
-
-
-
-
-
- تواصل معنا
- نتشرف بتواصلكم معنا وسيتم الرد على استفساراتكم في أقرب وقت ممكن.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{--
- {!!$settings['contact_page']!!}
- --}}
-
-
-
-
-
-
-
-
-
- @if($settings['address']!=null)
-
-
-
- العنوان
- {{$settings['address']}}
-
-
- @endif
- @if($settings['phone']!=null)
-
-
-
- الهاتف
- {{$settings['phone']}} {{$settings['phone2']}}
-
-
- @endif
- @if($settings['contact_email']!=null)
-
- @endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-@endsection
-@section('scripts')
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/pages/page.blade.php b/resources/views/front/pages/page.blade.php
deleted file mode 100644
index f5587e84..00000000
--- a/resources/views/front/pages/page.blade.php
+++ /dev/null
@@ -1,32 +0,0 @@
-@extends('layouts.app',['page_title'=>$page->title,'page_description'=>$page->meta_description])
-@section('content')
-
-
-
-
-
-
-
-
- {{$page->title}}
- {{$page->meta_description}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {!!$page->description!!}
-
-
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/partials/hero-slide.blade.php b/resources/views/front/partials/hero-slide.blade.php
new file mode 100644
index 00000000..be3c60c0
--- /dev/null
+++ b/resources/views/front/partials/hero-slide.blade.php
@@ -0,0 +1,22 @@
+
+
+ @foreach ($posts as $post)
+
+
+ @endforeach
+
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/latestposts.blade.php b/resources/views/front/partials/home/latestposts.blade.php
new file mode 100644
index 00000000..b44de237
--- /dev/null
+++ b/resources/views/front/partials/home/latestposts.blade.php
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+ {{$latestposts[0]->meta_description}}
+
+
+
+ @foreach ($latestposts as $item)
+ @if ($loop->first)
+ @continue
+ @endif
+
+
+ @endforeach
+
+
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/news.blade.php b/resources/views/front/partials/home/news.blade.php
new file mode 100644
index 00000000..f09f6de2
--- /dev/null
+++ b/resources/views/front/partials/home/news.blade.php
@@ -0,0 +1,27 @@
+
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/research.blade.php b/resources/views/front/partials/home/research.blade.php
new file mode 100644
index 00000000..216773d1
--- /dev/null
+++ b/resources/views/front/partials/home/research.blade.php
@@ -0,0 +1,106 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @foreach ($research as $item)
+ @if ($loop->first)
+ @continue
+ @endif
+
+
+ @endforeach
+
+
+
+
+
+ @foreach ($most_viewed_research as $item)
+
+
+ @endforeach
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/social-icons.blade.php b/resources/views/front/partials/home/social-icons.blade.php
new file mode 100644
index 00000000..c6b68da4
--- /dev/null
+++ b/resources/views/front/partials/home/social-icons.blade.php
@@ -0,0 +1,10 @@
+
+
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/widget-post-carousel.blade.php b/resources/views/front/partials/home/widget-post-carousel.blade.php
new file mode 100644
index 00000000..df37908a
--- /dev/null
+++ b/resources/views/front/partials/home/widget-post-carousel.blade.php
@@ -0,0 +1,34 @@
+
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/widget-post-list.blade.php b/resources/views/front/partials/home/widget-post-list.blade.php
new file mode 100644
index 00000000..6616b4d5
--- /dev/null
+++ b/resources/views/front/partials/home/widget-post-list.blade.php
@@ -0,0 +1,36 @@
+
+
+
+
+
+ @foreach ($posts as $item)
+
+
+
+
+
+
+
+ {{$item->meta_description}}
+
+
+
+ @endforeach
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/widget-post-two-carousel.blade.php b/resources/views/front/partials/home/widget-post-two-carousel.blade.php
new file mode 100644
index 00000000..f98efc38
--- /dev/null
+++ b/resources/views/front/partials/home/widget-post-two-carousel.blade.php
@@ -0,0 +1,31 @@
+
+
+
+ @foreach ($posts as $item)
+
+
+ @endforeach
+
\ No newline at end of file
diff --git a/resources/views/front/partials/home/widget-post-two-list.blade.php b/resources/views/front/partials/home/widget-post-two-list.blade.php
new file mode 100644
index 00000000..3ff06d48
--- /dev/null
+++ b/resources/views/front/partials/home/widget-post-two-list.blade.php
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+ {{ $posts[0]->meta_description }}
+
+
+ @foreach ($posts as $post)
+ @if ($loop->first)
+ @continue
+ @endif
+
+ @endforeach
+
+
diff --git a/resources/views/front/user/balances.blade.php b/resources/views/front/user/balances.blade.php
deleted file mode 100644
index c9cf9039..00000000
--- a/resources/views/front/user/balances.blade.php
+++ /dev/null
@@ -1,58 +0,0 @@
-@extends('layouts.user')
-@section('user-content')
-@php
-$balances = \App\Models\Balance::where('status','DONE')->where('user_id',auth()->user()->id)->orderBy('id','DESC')->paginate(12);
-@endphp
-@if(is_countable($balances) && count($balances)==0)
-
-
-
-
- لا توجد معاملات مالية على حسابك
-
-
-
-
-
-@else
-
-
-
-
-@foreach($balances as $balance)
-
-
- @if($balance->source=="GIFT")
- هدية
- @endif
-
-
- كود {{date('y')}}{{$balance->id}}
-
-
- المبلغ {{sprintf('%0.2f', $balance->amount)}}$
-
-
- {{$balance->type=="RECHARGE"?"شحن":"استهلاك"}}
-
-
- المصدر {{$balance->source}}
-
-
-
-
-
-
-@endforeach
-
-
- {{$balances->links()}}
-
-
-
-@endif
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/user/create-ticket.blade.php b/resources/views/front/user/create-ticket.blade.php
deleted file mode 100644
index af7b97d4..00000000
--- a/resources/views/front/user/create-ticket.blade.php
+++ /dev/null
@@ -1,45 +0,0 @@
-@extends('layouts.user')
-@section('user-content')
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-@endsection
diff --git a/resources/views/front/user/index.blade.php b/resources/views/front/user/index.blade.php
deleted file mode 100644
index f047528c..00000000
--- a/resources/views/front/user/index.blade.php
+++ /dev/null
@@ -1,15 +0,0 @@
-@extends('layouts.user')
-@section('user-content')
-
-
-
-
- لا توجد معلومات في حسابك
-
-
-
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/user/notifications.blade.php b/resources/views/front/user/notifications.blade.php
deleted file mode 100644
index 6bf51f2a..00000000
--- a/resources/views/front/user/notifications.blade.php
+++ /dev/null
@@ -1,41 +0,0 @@
-@extends('layouts.user')
-@section('user-content')
-
-@if(auth()->check())
- @php
- if(session('seen_notifications')==null)
- session(['seen_notifications'=>0]);
- $notifications=auth()->user()->notifications()->orderBy('created_at','DESC')->paginate();
- $unreadNotifications=auth()->user()->unreadNotifications()->count();
- @endphp
-@endif
-
-
-
-@if(is_countable($notifications) && count($notifications)==0)
-
-
-
-
- لا توجد اشعارات على حسابك حتى الآن
-
-
-
-@else
-
-
-
-
-
-
-
-
- {{$notifications->links()}}
-
-
-@endif
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/user/settings.blade.php b/resources/views/front/user/settings.blade.php
deleted file mode 100644
index 90740ec2..00000000
--- a/resources/views/front/user/settings.blade.php
+++ /dev/null
@@ -1,294 +0,0 @@
-@extends('layouts.user')
-@section('user-content')
-
-
-
-
-
-
-
-
-
-
- ![]()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-@endsection
-@section('scripts')
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/front/user/support.blade.php b/resources/views/front/user/support.blade.php
deleted file mode 100644
index b642ed84..00000000
--- a/resources/views/front/user/support.blade.php
+++ /dev/null
@@ -1,69 +0,0 @@
-@extends('layouts.user')
-@section('user-content')
-
-
-
-@php
-$tickets =\App\Models\Contact::where('user_id',auth()->user()->id)->orderBy('id','DESC')->paginate(12);
-@endphp
-
-@if(is_countable($tickets) && count($tickets)==0)
-
-
-
-
- تواصل معنا في أي وقت اذا احتجت أي مساعدة
-
-
-
-
-
-@else
-
-
-
-
-@foreach($tickets as $ticket)
-
-
-
-
- {{$ticket->id}}
-
-
-
- {{\Carbon::parse($ticket->created_at)->diffForHumans()}}
-
-
-
-
-
-
-
-
-
-
-
-
-@endforeach
-
-
- {{$tickets->links()}}
-
-
-
-
-
-
-
-
-@endif
-
-
-@endsection
diff --git a/resources/views/front/user/ticket.blade.php b/resources/views/front/user/ticket.blade.php
deleted file mode 100644
index 98fb6e45..00000000
--- a/resources/views/front/user/ticket.blade.php
+++ /dev/null
@@ -1,72 +0,0 @@
-@extends('layouts.user')
-@section('user-content')
-
-@endsection
diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php
index e59ed551..b12a863e 100644
--- a/resources/views/layouts/admin.blade.php
+++ b/resources/views/layouts/admin.blade.php
@@ -224,6 +224,7 @@
@endcan
+
@can('users-read')
@@ -237,7 +238,18 @@
@endcan
-
+ @can('editors-read')
+
+
+
+ @endcan
@foreach($plugins as $plugin)
diff --git a/resources/views/layouts/scripts.blade.php b/resources/views/layouts/scripts.blade.php
index b5373c98..ef2eaf0a 100644
--- a/resources/views/layouts/scripts.blade.php
+++ b/resources/views/layouts/scripts.blade.php
@@ -1,7 +1,16 @@
@auth
+
@endauth
+
+
+
+
+
+
+
+
| |