diff --git a/.gitignore b/.gitignore
index d87de73..90a87d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,17 @@
+/.phpunit.cache
+/node_modules
+/public/build
+/public/hot
+/public/storage
+/public/uploads/*.jpg
+/public/uploads/*.png
+/public/uploads/*.mp4
+/public/uploads/*.jpg
+/public/uploads/*.png
+/public/uploads/*.mp4
+/public/uploads
+!/resources/views/components/home_made_by_builder
+/storage/*.key
/vendor
.env
diff --git a/routes/admin.php b/routes/admin.php
index 0d7ed3d..f385e50 100644
--- a/routes/admin.php
+++ b/routes/admin.php
@@ -74,7 +74,7 @@ Route::name('admin.')->prefix('admin')->middleware('admin')->group(function () {
Route::post('course/approval/{id}', [CourseController::class, 'approval'])->name('course.approval');
//invoice
- Route::get('invoice/{id?}', [InvoiceController::class, 'invoice'])->name('invoice');
+ Route::get('invoice/{id?}', [InvoiceController::class, 'invoice'])->name('admin.invoice');
Route::controller(Updater::class)->middleware('auth', 'verified')->group(function () {
@@ -464,8 +464,8 @@ Route::name('admin.')->prefix('admin')->middleware('admin')->group(function () {
Route::get('knowledge-base','index')->name('knowledge.base');
Route::post('knowledge-base/store','store')->name('knowledge.base.store');
Route::get('knowledge-base/single-post/{id}','show')->name('knowledge.base.show');
- Route::get('knowledge-base/edit-post/{id}','edit')->name('knowledge.base.edit');
- Route::post('knowledge-base/update-post/{id}','update')->name('knowledge.base.update');
+ Route::get('knowledge-base/edit-post/{id}','edit')->name('knowledge.base.edit');
+ Route::post('knowledge-base/update-post/{id}','update')->name('knowledge.base.update');
Route::get('knowledge-base/delete/{id}','destroy')->name('knowledge.base.delete');
Route::get('knowledge-base/post/{id}','post')->name('knowledge.base.post');
diff --git a/routes/custom_route.php b/routes/custom_route.php
index 6ac1c6c..e8a9182 100644
--- a/routes/custom_route.php
+++ b/routes/custom_route.php
@@ -10,5 +10,5 @@ Route::controller(CourseController::class)->group(function () {
});
Route::controller(MycourseController::class)->middleware('auth')->group(function () {
- Route::get('Invoice/{id}', 'invoice')->name('invoice');
+ Route::get('Invoice/{id}', 'invoice')->name('custom.invoice');
});
diff --git a/routes/student.php b/routes/student.php
index 27de7ad..865d882 100644
--- a/routes/student.php
+++ b/routes/student.php
@@ -53,7 +53,7 @@ Route::middleware(['auth'])->group(function () {
Route::get('purchase/course/{course_id}', 'purchase_course')->name('purchase.course');
Route::post('payout', 'payout')->name('payout');
Route::get('purchase-history', 'purchase_history')->name('purchase.history');
- Route::get('invoice/{id}', 'invoice')->name('invoice');
+ Route::get('invoice/{id}', 'invoice')->name('student.invoice');
});
// cart routes
diff --git a/upload/update_1.6/sources/app/Helpers/Common_helper.php b/upload/update_1.6/sources/app/Helpers/Common_helper.php
deleted file mode 100644
index eacef4b..0000000
--- a/upload/update_1.6/sources/app/Helpers/Common_helper.php
+++ /dev/null
@@ -1,1630 +0,0 @@
-where('course_id', $course_id)->count();
- return $total_lesson;
- }
- }
-}
-if (!function_exists('section_count')) {
- function section_count($course_id = "")
- {
- if ($course_id != '') {
- $total_section = DB::table('sections')->where('course_id', $course_id)->count();
- return $total_section;
- }
- }
-}
-if (!function_exists('count_blogs_by_category')) {
- function count_blogs_by_category($category_id = "")
- {
- if ($category_id != '') {
- $total_blog = DB::table('blogs')->where('status', 1)->where('category_id', $category_id)->count();
- return $total_blog;
- }
- }
-}
-if (!function_exists('get_blog_category_name')) {
- function get_blog_category_name($id = "")
- {
- if ($id != '') {
- $category_title = DB::table('blog_categories')->where('id', $id)->value('title');
- return $category_title;
- }
- }
-}
-if (!function_exists('get_user_info')) {
- function get_user_info($user_id = "")
- {
- $user_info = App\Models\User::where('id', $user_id)->firstOrNew();
- return $user_info;
- }
-}
-if (!function_exists('get_image_by_id')) {
- function get_image_by_id($user_id = "")
- {
- $image_path = DB::table('users')->where('id', $user_id)->value('photo');
- return get_image($image_path);
- }
-}
-
-if (!function_exists('timeAgo')) {
- function timeAgo($time_ago)
- {
- $time_ago = strtotime($time_ago);
- $cur_time = time();
- $time_elapsed = $cur_time - $time_ago;
- $seconds = $time_elapsed;
- $minutes = round($time_elapsed / 60);
- $hours = round($time_elapsed / 3600);
- $days = round($time_elapsed / 86400);
- $weeks = round($time_elapsed / 604800);
- $months = round($time_elapsed / 2600640);
- $years = round($time_elapsed / 31207680);
- // Seconds
- if ($seconds <= 60) {
- return "just now";
- }
- //Minutes
- else if ($minutes <= 60) {
- if ($minutes == 1) {
- return "1 minute ago";
- } else {
- return "$minutes minutes ago";
- }
- }
- //Hours
- else if ($hours <= 24) {
- if ($hours == 1) {
- return "1 hour ago";
- } else {
- return "$hours hours ago";
- }
- }
- //Days
- else if ($days <= 7) {
- if ($days == 1) {
- return "Yesterday";
- } else {
- return "$days days ago";
- }
- }
- //Weeks
- else if ($weeks <= 4.3) {
- if ($weeks == 1) {
- return "1 week ago";
- } else {
- return "$weeks weeks ago";
- }
- }
- //Months
- else if ($months <= 12) {
- if ($months == 1) {
- return "1 month ago";
- } else {
- return "$months months ago";
- }
- }
- //Years
- else {
- if ($years == 1) {
- return "1 year ago";
- } else {
- return "$years years ago";
- }
- }
- }
-}
-
-if (!function_exists('course_enrolled')) {
- function course_enrolled($user_id = "")
- {
- if ($user_id != '') {
- $enrolled = DB::table('enrollments')->where('user_id', $user_id)->exists();
- return $enrolled;
- }
- }
-}
-if (!function_exists('course_enrollments')) {
- function course_enrollments($course_id = "")
- {
- if ($course_id != '') {
- $enrolled = DB::table('enrollments')->where('course_id', $course_id)->count();
- return $enrolled;
- }
- }
-}
-if (!function_exists('course_by_instructor')) {
- function course_by_instructor($course_id = "")
- {
- if ($course_id != '') {
- $user_id = App\Models\Course::where('id', $course_id)->firstOrNew();
- $byInstructor = App\Models\User::where('id', $user_id->user_id)->firstOrNew();
- return $byInstructor;
- }
- }
-}
-
-if (!function_exists('course_instructor_image')) {
- function course_instructor_image($course_id = "")
- {
- if ($course_id != '') {
- $user_id = DB::table('courses')->where('id', $course_id)->value('user_id');
- $user_image = DB::table('users')->where('id', $user_id)->value('photo');
- }
- $img_path = isset($user_image) ? $user_image : $course_id;
- return get_image($img_path);
- }
-}
-
-if (!function_exists('get_course_info')) {
- function get_course_info($course_id)
- {
- $course = App\Models\Course::where('id', $course_id)->firstOrNew();
- return $course;
- }
-}
-if (!function_exists('count_unread_message_of_thread')) {
-
- function count_unread_message_of_thread($message_thread_code = "")
- {
- $unread_message_counter = 0;
- $current_user = auth()->user()->id;
- $messages = DB::table('messages')->where('message_thread_code', $message_thread_code)->get();
- foreach ($messages as $row) {
- if ($row->sender != $current_user && $row->read_status == '0') {
- $unread_message_counter++;
- }
- }
- return $unread_message_counter;
- }
-}
-if (!function_exists('get_enroll_info')) {
- function get_enroll_info($course_id = "", $user_id = "")
- {
- if ($course_id != '' && $user_id != "") {
- $enrolled = App\Models\Enrollment::where('course_id', $course_id)->where('user_id', $user_id)->firstOrNew();
- return $enrolled;
- }
- }
-}
-if (!function_exists('total_enrolled')) {
- function total_enrolled()
- {
- $total_enrolled = DB::table('enrollments')->count();
- return $total_enrolled;
- }
-}
-if (!function_exists('total_enroll')) {
- function total_enroll($course_id = "")
- {
- if ($course_id != '') {
- $count = DB::table('enrollments')->where('course_id', $course_id)->count();
- return $count;
- }
- }
-}
-if (!function_exists('is_course_instructor')) {
- function is_course_instructor($course_id = "", $user_id = "")
- {
- if ($user_id == '') {
- $user_id = auth()->user()->id;
- }
- $course = App\Models\Course::where('id', $course_id)->firstOrNew();
- if ($course) {
- if ($course->instructors()->where('id', $user_id)->count() > 0 || $course->user_id == $user_id) {
- return true;
- }
- }
- return false;
- }
-}
-
-// Get Home page Settings Data
-if (!function_exists('get_homepage_settings')) {
- function get_homepage_settings($type = "", $return_type = false)
- {
- $value = DB::table('home_page_settings')->where('key', $type);
- if ($value->count() > 0) {
- if ($return_type === true) {
- return json_decode($value->value('value'), true);
- } elseif ($return_type === "object") {
- return json_decode($value->value('value'));
- } else {
- return $value->value('value');
- }
- } else {
- return false;
- }
- }
-}
-
-if (!function_exists('count_student_by_instructor')) {
- function count_student_by_instructor($user_id = "")
- {
- if ($user_id != '') {
- $course_ids = App\Models\Course::where('user_id', $user_id)->pluck('id')->toArray();
- $total_student = 0;
- $total_student = App\Models\Enrollment::whereIn('course_id', $course_ids)->distinct('user_id')->count();
- return ($total_student > 1) ? "{$total_student} " . get_phrase('Students') : "{$total_student} " . get_phrase('Student');
- }
- }
-}
-if (!function_exists('count_course_by_instructor')) {
- function count_course_by_instructor($user_id = "")
- {
- if ($user_id != '') {
- $count_course = DB::table('courses')->where('status', 'active')->where('user_id', $user_id)->count();
- return ($count_course > 1) ? "{$count_course} " . get_phrase('Courses') : "{$count_course} " . get_phrase('Course');
- }
- }
-}
-if (!function_exists('progress_bar')) {
- function progress_bar($course_id = "")
- {
- if ($course_id != '') {
- $lesson_history = App\Models\Watch_history::where('course_id', $course_id)
- ->where('student_id', auth()->user()->id)
- ->firstOrNew();
- $total_lesson = lesson_count($course_id);
-
- $progress_result = 0;
- if ($lesson_history && $lesson_history->completed_lesson != '') {
- $complete_lesson_ids = json_decode($lesson_history->completed_lesson, true) ?? [0];
- $count_incomplete_lesson = App\Models\Lesson::where('course_id', $course_id)->whereNotIn('id', $complete_lesson_ids)->count();
- $count_complete_lesson = $total_lesson - $count_incomplete_lesson;
-
- if (count($complete_lesson_ids) != $count_complete_lesson) {
- check_lesson_was_deleted($complete_lesson_ids, $lesson_history->id);
- }
-
- $progress_result = $total_lesson ? (count($complete_lesson_ids) * 100) / $total_lesson : 0;
- }
-
-
-
- if ($progress_result <= 100) {
- return number_format($progress_result, 2);
- } else {
- return 100;
- }
- }
- }
-}
-if (!function_exists('check_lesson_was_deleted')) {
- function check_lesson_was_deleted($complete_lesson_ids = [], $lesson_history_id = "")
- {
- $updated_completed_lesson_ids = [];
- foreach ($complete_lesson_ids as $complete_lesson_id) {
- if (App\Models\Lesson::where('id', $complete_lesson_id)->count() > 0) {
- $updated_completed_lesson_ids[] = $complete_lesson_id;
- }
- }
- App\Models\Watch_history::where('id', $lesson_history_id)->update(['completed_lesson' => json_encode($updated_completed_lesson_ids)]);
- }
-}
-if (!function_exists('course_creator')) {
- function course_creator($user_id = "")
- {
- if ($user_id != '') {
- $creator = DB::table('courses')->where('user_id', $user_id)->exists();
- return $creator;
- }
- }
-}
-if (!function_exists('get_course_creator_id')) {
- function get_course_creator_id($course_id = "")
- {
- if ($course_id != '') {
- $course = DB::table('courses')->where('id', $course_id)->get();
- foreach ($course as $value) {
- $creator = App\Models\User::where('id', $value->user_id)->firstOrNew();
- }
- return $creator;
- }
- }
-}
-
-if (!function_exists('user_count')) {
- function user_count($role = "")
- {
- if ($role != '') {
- $user_count = DB::table('users')->where('role', $role)->count();
- return $user_count;
- }
- }
-}
-if (!function_exists('blog_user')) {
- function blog_user($user_id = "")
- {
- if ($user_id != '') {
- $user = App\Models\User::where('id', $user_id)->firstOrNew();
- return $user;
- }
- }
-}
-if (!function_exists('category_course_count')) {
- function category_course_count($slug = "")
- {
- if ($slug != '') {
- $slug_category = App\Models\Category::where('slug', $slug)->firstOrNew();
- $all_category = DB::table('categories')->where('id', $slug_category->id)->get();
- foreach ($all_category as $row) {
- $sub_category = DB::table('categories')->where('parent_id', $row->id)->get();
- }
- foreach ($sub_category as $sub_categories) {
-
- $category_by_course = DB::table('courses')->where('category_id', $sub_categories->id)->count();
- }
- return $category_by_course;
- }
- }
-}
-
-if (!function_exists('category_by_course')) {
- function category_by_course($category_id = "")
- {
- $category_by_courses = App\Models\Category::where('id', $category_id)->firstOrNew();
- return $category_by_courses;
- }
-}
-
-if (!function_exists('check_course_admin')) {
- function check_course_admin($user_id = "")
- {
- if ($user_id != '') {
- $creator = DB::table('users')->where('id', $user_id)->value('role');
- return $creator;
- }
- }
-}
-
-if (!function_exists('duration_to_seconds')) {
- function duration_to_seconds($duration = "00:00:00:")
- {
- if($duration == '') {
- $duration = "00:00:00:";
- }
-
- $time_array = explode(':', $duration);
- $hour_to_seconds = $time_array[0] * 60 * 60;
- $minute_to_seconds = $time_array[1] * 60;
- $seconds = $time_array[2];
- $total_seconds = $hour_to_seconds + $minute_to_seconds + $seconds;
- return $total_seconds;
- }
-}
-
-if (!function_exists('total_durations')) {
- function total_durations($course_id = '')
- {
- $total_duration = 0;
- $lessons = DB::table('lessons')->where('course_id', $course_id)->get();
-
- foreach ($lessons as $lesson) {
- if ($lesson->duration != '') {
-
- $time_array = explode(':', $lesson->duration);
-
- $hour_to_seconds = $time_array[0] * 60 * 60;
- $minute_to_seconds = $time_array[1] * 60;
- $seconds = $time_array[2];
- $total_duration += $hour_to_seconds + $minute_to_seconds + $seconds;
- }
- }
-
- $hours = floor($total_duration / 3600);
- $minutes = floor(($total_duration - ($hours * 3600)) / 60);
- $seconds = floor($total_duration - ($hours * 3600) - ($minutes * 60));
- return sprintf("%02dh %02dm", $hours, $minutes);
- }
-}
-
-if (!function_exists('total_durations_by')) {
- function total_durations_by($course_id = '')
- {
- $total_duration = 0;
- $lessons = DB::table('lessons')->where('course_id', $course_id)->get();
-
- foreach ($lessons as $lesson) {
- if ($lesson->duration != '') {
-
- $time_array = explode(':', $lesson->duration);
-
- $hour_to_seconds = $time_array[0] * 60 * 60;
- $minute_to_seconds = $time_array[1] * 60;
- $seconds = $time_array[2];
- $total_duration += $hour_to_seconds + $minute_to_seconds + $seconds;
- }
- }
-
- $hours = floor($total_duration / 3600);
- $minutes = floor(($total_duration - ($hours * 3600)) / 60);
- $seconds = floor($total_duration - ($hours * 3600) - ($minutes * 60));
- return sprintf("%02d:%02d:%02d", $hours, $minutes, $seconds);
- }
-}
-if (!function_exists('lesson_durations')) {
- function lesson_durations($lesson_id = '')
- {
- $total_duration = 0;
- $lessons = App\Models\Lesson::where('id', $lesson_id)->firstOrNew();
-
- if ($lessons->duration != '') {
-
- $time_array = explode(':', $lessons->duration);
-
- $hour_to_seconds = $time_array[0] * 60 * 60;
- $minute_to_seconds = $time_array[1] * 60;
- $seconds = $time_array[2];
- $total_duration += $hour_to_seconds + $minute_to_seconds + $seconds;
- }
- $hours = floor($total_duration / 3600);
- $minutes = floor(($total_duration - ($hours * 3600)) / 60);
- $seconds = floor($total_duration - ($hours * 3600) - ($minutes * 60));
- return sprintf("%02d:%02d:%02d", $hours, $minutes, $seconds);
- }
-}
-
-if (!function_exists('is_root_admin')) {
- function is_root_admin($admin_id = '')
- {
-
- // GET THE LOGGEDIN IN ADMIN ID
- if (empty($admin_id)) {
- $admin_id = auth()->user()->id;
- }
-
- $root_admin_id = App\Models\User::limit(1)->orderBy('id', 'asc')->firstOrNew()->id;
- if ($root_admin_id == $admin_id) {
- return true;
- } else {
- return false;
- }
- }
-}
-
-if (!function_exists('removeScripts')) {
- function removeScripts($text)
- {
- if(!$text) return;
-
- // Remove
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/admin/articles/create.blade.php b/upload/update_1.6/sources/resources/views/admin/articles/create.blade.php
deleted file mode 100644
index 812a14b..0000000
--- a/upload/update_1.6/sources/resources/views/admin/articles/create.blade.php
+++ /dev/null
@@ -1,59 +0,0 @@
-
-@extends('layouts.admin')
-@push('title', get_phrase('Knowledge_base'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
-
-
{{$articleTitle->title}}
-
-
-
-
-
-
-@endsection
-@push('js')
-
-
-@endpush
\ No newline at end of file
diff --git a/upload/update_1.6/sources/resources/views/admin/articles/edit.blade.php b/upload/update_1.6/sources/resources/views/admin/articles/edit.blade.php
deleted file mode 100644
index c384e76..0000000
--- a/upload/update_1.6/sources/resources/views/admin/articles/edit.blade.php
+++ /dev/null
@@ -1,37 +0,0 @@
-@php
- $article = App\Models\Knowledge_base_topick::where('id', $id)->first();
-@endphp
- @csrf
-
- {{ get_phrase('topic_name') }}
-
-
-
-
- {{ get_phrase('Description') }}
- {{ $article->description }}
-
-
-
- {{ get_phrase('Submit') }}
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/admin/articles/index.blade.php b/upload/update_1.6/sources/resources/views/admin/articles/index.blade.php
deleted file mode 100644
index ba71fb4..0000000
--- a/upload/update_1.6/sources/resources/views/admin/articles/index.blade.php
+++ /dev/null
@@ -1,81 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('Knowledge_base'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-@endsection
-@push('js')
-
-
-@endpush
-
diff --git a/upload/update_1.6/sources/resources/views/admin/common_scripts.blade.php b/upload/update_1.6/sources/resources/views/admin/common_scripts.blade.php
deleted file mode 100644
index 5fa674a..0000000
--- a/upload/update_1.6/sources/resources/views/admin/common_scripts.blade.php
+++ /dev/null
@@ -1,257 +0,0 @@
-
diff --git a/upload/update_1.6/sources/resources/views/admin/course/index.blade.php b/upload/update_1.6/sources/resources/views/admin/course/index.blade.php
deleted file mode 100644
index 7845a02..0000000
--- a/upload/update_1.6/sources/resources/views/admin/course/index.blade.php
+++ /dev/null
@@ -1,372 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('Course Manager'))
-@section('content')
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ get_phrase('Category') }}
-
- {{ get_phrase('All') }}
-
- @foreach (App\Models\Category::where('parent_id', 0)->orderBy('title', 'desc')->get() as $category)
- slug) selected @endif>
- {{ $category->title }}
-
- @foreach ($category->childs as $sub_category)
- slug) selected @endif>
- --{{ $sub_category->title }}
- @endforeach
- @endforeach
-
-
-
- {{ get_phrase('Status') }}
-
- {{ get_phrase('All') }}
-
-
- {{ get_phrase('Active') }}
- {{ get_phrase('Inactive') }}
- {{ get_phrase('Pending') }}
- {{ get_phrase('Upcoming') }}
- {{ get_phrase('Private') }}
- {{ get_phrase('Draft') }}
-
-
-
-
- {{ get_phrase('Instructor') }}
-
- {{ get_phrase('All') }}
-
- @foreach (App\Models\Course::select('user_id')->distinct()->get() as $course)
- user_id) selected @endif>
- {{ ucfirst(get_user_info($course->user_id)->name) }}
-
- @endforeach
-
-
-
- {{ get_phrase('Price') }}
-
- {{ get_phrase('All') }}
-
-
-
- {{ get_phrase('Free') }}
-
- {{ get_phrase('Paid') }}
-
-
-
-
- {{ get_phrase('Apply') }}
-
-
-
-
-
-
- @if (isset($_GET) && count($_GET) > 0)
-
- @endif
-
-
-
-
-
-
- {{ get_phrase('Search') }}
-
-
-
-
-
-
-
-
- @if ($courses->count() > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($courses) . ' ' . get_phrase('of') . ' ' . $courses->total() . ' ' . get_phrase('data') }}
-
-
-
-
-
-
- #
- {{ get_phrase('Title') }}
- {{ get_phrase('Category') }}
- {{ get_phrase('Lesson & Section') }}
- {{ get_phrase('Enrolled Student') }}
- {{ get_phrase('Status') }}
- {{ get_phrase('Price') }}
- {{ get_phrase('Options') }}
-
-
-
- @foreach ($courses as $key => $row)
- @php
- $query = App\Models\Watch_history::where('course_id', $row->id)
- ->where('student_id', auth()->user()->id)
- ->first();
-
- $query1 = App\Models\Lesson::where('course_id', $row->id)
- ->orderBy('sort', 'asc')
- ->first();
-
- if (isset($query->watching_lesson_id) && $query->watching_lesson_id != '') {
- $watching_lesson_id = $query->watching_lesson_id;
- } elseif (isset($query1->id)) {
- $watching_lesson_id = $query1->id;
- }
- @endphp
-
-
- {{ ++$key }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ course_enrollments($row->id). ' ' .get_phrase('students') }}
-
-
-
-
- {{ get_phrase(ucfirst($row->status)) }}
-
-
-
- @if ($row->is_paid == 0)
-
- {{ get_phrase('Free') }}
-
- @elseif($row->discount_flag == 1)
-
{{ currency($row->discounted_price) }} {{ currency($row->price) }}
- @else
-
{{ currency($row->price) }}
- @endif
-
-
-
-
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
-
-
-
- {{ get_phrase('Showing') . ' ' . count($courses) . ' ' . get_phrase('of') . ' ' . $courses->total() . ' ' . get_phrase('data') }}
-
- {{ $courses->links() }}
-
- @else
- @include('admin.no_data')
- @endif
-
-
-
-
-
-
-
-@endsection
diff --git a/upload/update_1.6/sources/resources/views/admin/course/lesson_add.blade.php b/upload/update_1.6/sources/resources/views/admin/course/lesson_add.blade.php
deleted file mode 100644
index 706e784..0000000
--- a/upload/update_1.6/sources/resources/views/admin/course/lesson_add.blade.php
+++ /dev/null
@@ -1,138 +0,0 @@
-@php
- $sections = App\Models\Section::where('course_id', $id)->orderBy('sort')->get();
-@endphp
-
-
-
{{ get_phrase('Lesson type') }}:
- @if ($lesson_type == 'html5')
- {{ get_phrase('Video url') . ' [.mp4]' }}
- @elseif ($lesson_type == 'video')
- {{ get_phrase('Video file') }}
- @elseif ($lesson_type == 'youtube' || $lesson_type == 'academy cloud' || $lesson_type == 'vimeo')
- {{ ucfirst(get_phrase($lesson_type)) }} {{ get_phrase('Video') }}
- @elseif($lesson_type == 'google_drive_video')
- {{ get_phrase('Google drive video') }}
- @elseif($lesson_type == 'document')
- {{ get_phrase('Document file') }}
- @elseif ($lesson_type == 'scorm')
- {{ get_phrase('Scorm content') }}
- @else
- {{ ucfirst($lesson_type) }}
- @endif
- {{ get_phrase('Change') }}
-
-
-
-
-
- @csrf
-
-
-
-
- {{ get_phrase('Title') }}
-
-
-
-
- {{ get_phrase('Section') }}
-
- @foreach ($sections as $section)
- {{ $section->title }}
- @endforeach
-
-
-
- @if ($lesson_type == 'youtube')
- @include('admin.course.youtube_type_lesson_add')
- @elseif ($lesson_type == 'academy_cloud')
- @include('admin.course.academy_cloud_type_lesson_add')
- @elseif ($lesson_type == 'vimeo')
- @include('admin.course.vimeo_type_lesson_add')
- @elseif ($lesson_type == 'html5')
- @include('admin.course.html5_type_lesson_add')
- @elseif ($lesson_type == 'video')
- @include('admin.course.video_type_lesson_add')
- @elseif ($lesson_type == 'amazon-s3')
- @include('amazon_s3_type_lesson_add.php')
- @elseif ($lesson_type == 'google_drive_video')
- @include('admin.course.google_drive_type_lesson_add')
- @elseif ($lesson_type == 'document')
- @include('admin.course.document_type_lesson_add')
- @elseif ($lesson_type == 'text')
- @include('admin.course.text_type_lesson_add')
- @elseif ($lesson_type == 'image')
- @include('admin.course.image_file_type_lesson_add')
- @elseif ($lesson_type == 'iframe')
- @include('admin.course.iframe_type_lesson_add')
- @elseif ($lesson_type == 'scorm')
- @include('admin.course.scorm_type_lesson_add')
- @endif
-
-
- {{ get_phrase('Summary') }}
-
-
-
-
-
-
- {{ get_phrase('Do you want to keep it free as a preview lesson') }}
- ?
-
-
- {{ get_phrase('Mark as free lesson') }}
-
-
-
- {{ get_phrase('Add lesson') }}
-
-
-
-
-@include('admin.init')
diff --git a/upload/update_1.6/sources/resources/views/admin/course/lesson_edit.blade.php b/upload/update_1.6/sources/resources/views/admin/course/lesson_edit.blade.php
deleted file mode 100644
index 08e203a..0000000
--- a/upload/update_1.6/sources/resources/views/admin/course/lesson_edit.blade.php
+++ /dev/null
@@ -1,133 +0,0 @@
-@php
- $lessons = App\Models\Lesson::where('id', $id)->first();
- $sections = App\Models\Section::where('course_id', $lessons->course_id)
- ->orderBy('sort')
- ->get();
- $select_section = App\Models\Section::where('id', $lessons->section_id)->value('title');
-@endphp
-
-
- {{ get_phrase('Lesson type') }}:
- @if ($lessons->lesson_type == 'html5')
- {{ get_phrase('Video url') . ' [.mp4]' }}
- @elseif ($lessons->lesson_type == 'system-video')
- {{ get_phrase('Video file') }}
- @elseif ($lessons->lesson_type == 'scorm')
- {{ get_phrase('Scorm file') }}
- @elseif ($lessons->video_type == 'youtube' || $lessons->video_type == 'vimeo')
- {{ get_phrase($lessons->video_type) }} {{ get_phrase('Video') }}
- @elseif($lessons->lesson_type == 'google_drive_video')
- {{ get_phrase('Google drive video') }}
- @elseif($lessons->lesson_type == 'document_type')
- {{ get_phrase('Document file') }}
- @else
- {{ $lessons->lesson_type }}
- @endif
-
-
-
-
- @csrf
-
-
-
-
- {{ get_phrase('Title') }}
-
-
-
-
- {{ get_phrase('Section') }}
-
- @foreach ($sections as $section)
- section_id == $section->id) selected @endif>
- {{ $section->title }}
- @endforeach
-
-
-
- @if ($lessons->lesson_type == 'video-url')
- @include('admin.course.youtube_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'vimeo-url')
- @include('admin.course.vimeo_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'system-video')
- @include('admin.course.video_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'scorm')
- @include('admin.course.scorm_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'html5')
- @include('admin.course.html5_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'google_drive')
- @include('admin.course.google_drive_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'document_type')
- @include('admin.course.document_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'text')
- @include('admin.course.text_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'image')
- @include('admin.course.image_file_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'iframe')
- @include('admin.course.iframe_type_lesson_edit')
- @endif
-
-
- {{ get_phrase('summary') }}
- {{ $lessons->summary }}
-
-
-
- {{ get_phrase('Do you want to keep it free as a preview lesson') }} ?
-
-
- {{ get_phrase('Mark as free lesson') }}
-
-
-
- {{ get_phrase('Update lesson') }}
-
-
-
-
-
-@include('admin.init')
diff --git a/upload/update_1.6/sources/resources/views/admin/course/lesson_type.blade.php b/upload/update_1.6/sources/resources/views/admin/course/lesson_type.blade.php
deleted file mode 100644
index 38b6c8c..0000000
--- a/upload/update_1.6/sources/resources/views/admin/course/lesson_type.blade.php
+++ /dev/null
@@ -1,172 +0,0 @@
-@php
- $course = App\Models\Course::where('id', $id)->first();
-
- $selected_lesson = 'youtube';
- if (isset($param3) && !empty($param3)) {
- $selected_lesson = $param3;
- }
-@endphp
-
-
-
{{ get_phrase('Course') }}:
- {{ $course->title }}
-
-
-
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/admin/course/scorm_type_lesson_add.blade.php b/upload/update_1.6/sources/resources/views/admin/course/scorm_type_lesson_add.blade.php
deleted file mode 100644
index 4150c8e..0000000
--- a/upload/update_1.6/sources/resources/views/admin/course/scorm_type_lesson_add.blade.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- {{ get_phrase('Select scorm provider') }}
-
- {{ get_phrase('Select a provider') }}
- {{ get_phrase('iSpring') }}
- {{ get_phrase('Articulate') }}
- {{ get_phrase('Adobe Captivate') }}
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/admin/course/scorm_type_lesson_edit.blade.php b/upload/update_1.6/sources/resources/views/admin/course/scorm_type_lesson_edit.blade.php
deleted file mode 100644
index 2dd557b..0000000
--- a/upload/update_1.6/sources/resources/views/admin/course/scorm_type_lesson_edit.blade.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
- {{ get_phrase('Select scorm provider') }}
-
- {{ get_phrase('Select a provider') }}
- attachment_type == 'iSpring') selected @endif>{{ get_phrase('iSpring') }}
- attachment_type == 'articulate') selected @endif>{{ get_phrase('Articulate') }}
-
- attachment_type == 'adobeCaptivate') selected @endif>
- {{ get_phrase('Adobe Captivate') }}
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/admin/header.blade.php b/upload/update_1.6/sources/resources/views/admin/header.blade.php
deleted file mode 100644
index a538106..0000000
--- a/upload/update_1.6/sources/resources/views/admin/header.blade.php
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
diff --git a/upload/update_1.6/sources/resources/views/admin/init.blade.php b/upload/update_1.6/sources/resources/views/admin/init.blade.php
deleted file mode 100644
index 51e2bd1..0000000
--- a/upload/update_1.6/sources/resources/views/admin/init.blade.php
+++ /dev/null
@@ -1,97 +0,0 @@
-
diff --git a/upload/update_1.6/sources/resources/views/admin/instructor/create_login.blade.php b/upload/update_1.6/sources/resources/views/admin/instructor/create_login.blade.php
deleted file mode 100644
index f325441..0000000
--- a/upload/update_1.6/sources/resources/views/admin/instructor/create_login.blade.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
{{ get_phrase('Email') }}*
-
- email) value="{{ $instructor->email }}" @endisset required>
-
-
-
-
-
-
-
- {{ get_phrase('Mark email as verified') }}
-
-
-
-
-@if(!isset($instructor->email))
-
-
{{ get_phrase('Password') }}*
-
-
-
-
-@endisset
diff --git a/upload/update_1.6/sources/resources/views/admin/instructor/edit_instructor.blade.php b/upload/update_1.6/sources/resources/views/admin/instructor/edit_instructor.blade.php
deleted file mode 100644
index db5b013..0000000
--- a/upload/update_1.6/sources/resources/views/admin/instructor/edit_instructor.blade.php
+++ /dev/null
@@ -1,93 +0,0 @@
-@extends('layouts.admin')
-
-@push('title', get_phrase('Create Instructor'))
-
-@push('meta')
-@endpush
-
-@push('css')
-@endpush
-
-
-@section('content')
-
-
-
-
-
{{ get_phrase('Instructor Info') }}
-
-
- @csrf
-
-
-
-
-
- @include('admin.instructor.edit_instructor_basic')
-
-
-
-
- @include('admin.instructor.edit_login')
-
-
-
-
- @include('admin.instructor.edit_payment')
-
-
-
-
- @include('admin.instructor.edit_social')
-
-
-
-
- {{ get_phrase('Update Instructor') }}
-
-
-
-
-
-
-
-@endsection
diff --git a/upload/update_1.6/sources/resources/views/admin/instructor/index.blade.php b/upload/update_1.6/sources/resources/views/admin/instructor/index.blade.php
deleted file mode 100644
index 9f5cf47..0000000
--- a/upload/update_1.6/sources/resources/views/admin/instructor/index.blade.php
+++ /dev/null
@@ -1,158 +0,0 @@
-@extends('layouts.admin')
-
-@push('title', get_phrase('Instructor'))
-
-@push('meta')
-@endpush
-
-@push('css')
-@endpush
-
-@section('content')
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ get_phrase('Search') }}
-
-
-
-
-
-
-
-
-
- @if (count($instructors) > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($instructors) . ' ' . get_phrase('of') . ' ' . $instructors->total() . ' ' . get_phrase('data') }}
-
-
-
-
-
-
- #
- {{ get_phrase('Name') }}
- {{ get_phrase('Phone') }}
- {{ get_phrase('Number Of Course') }}
- {{ get_phrase('Options') }}
-
-
-
- @foreach ($instructors as $key => $row)
-
-
- {{ ++$key }}
-
-
-
-
-
-
-
-
{{ $row->name }}
-
{{ $row->email }}
-
-
-
-
-
-
-
- {{ App\Models\Course::where('user_id', $row->id)->count() }}
- {{ get_phrase('Courses') }}
-
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
-
- @else
- @include('admin.no_data')
- @endif
-
- @if (count($instructors) > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($instructors) . ' ' . get_phrase('of') . ' ' . $instructors->total() . ' ' . get_phrase('data') }}
-
- {{ $instructors->links() }}
-
- @endif
-
-
-
-
-
-@endsection
-
-
-@push('js')
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/admin/knowledge_base/create.blade.php b/upload/update_1.6/sources/resources/views/admin/knowledge_base/create.blade.php
deleted file mode 100644
index ffed161..0000000
--- a/upload/update_1.6/sources/resources/views/admin/knowledge_base/create.blade.php
+++ /dev/null
@@ -1,12 +0,0 @@
-
- @csrf
-
-
- {{ get_phrase('Title') }}
-
-
-
-
- {{ get_phrase('Submit') }}
-
-
diff --git a/upload/update_1.6/sources/resources/views/admin/knowledge_base/edit.blade.php b/upload/update_1.6/sources/resources/views/admin/knowledge_base/edit.blade.php
deleted file mode 100644
index dba6edd..0000000
--- a/upload/update_1.6/sources/resources/views/admin/knowledge_base/edit.blade.php
+++ /dev/null
@@ -1,38 +0,0 @@
-@php
- $data = App\Models\Knowledge_base::where('id', $id)->first();
-@endphp
-
-@csrf
-
- {{ get_phrase('title') }}
-
-
-
- {{--
- {{ get_phrase('Description') }}
- {{ $data->title }}
-
--}}
-
-
- {{ get_phrase('Submit') }}
-
-
-
-{{-- --}}
diff --git a/upload/update_1.6/sources/resources/views/admin/knowledge_base/index.blade.php b/upload/update_1.6/sources/resources/views/admin/knowledge_base/index.blade.php
deleted file mode 100644
index 307da1e..0000000
--- a/upload/update_1.6/sources/resources/views/admin/knowledge_base/index.blade.php
+++ /dev/null
@@ -1,119 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('Knowledge_base'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
-
-@endsection
-@push('js')
-
-
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/admin/navigation.blade.php b/upload/update_1.6/sources/resources/views/admin/navigation.blade.php
deleted file mode 100644
index ab19747..0000000
--- a/upload/update_1.6/sources/resources/views/admin/navigation.blade.php
+++ /dev/null
@@ -1,586 +0,0 @@
-@php $current_route = Route::currentRouteName(); @endphp
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/admin/offline_payments/index.blade.php b/upload/update_1.6/sources/resources/views/admin/offline_payments/index.blade.php
deleted file mode 100644
index 2d64ab5..0000000
--- a/upload/update_1.6/sources/resources/views/admin/offline_payments/index.blade.php
+++ /dev/null
@@ -1,236 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('Offline payments'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
-
- {{ get_phrase('Offline payments') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ get_phrase('Category') }}
-
- {{ get_phrase('All') }}
- {{ get_phrase('Pending') }}
- {{ get_phrase('Approved') }}
- {{ get_phrase('Suspended') }}
-
-
-
-
- {{ get_phrase('Apply') }}
-
-
-
-
-
-
- @if (isset($_GET) && count($_GET) > 0)
-
- @endif
-
-
-
-
-
-
-
-
- @if (count($payments) > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($payments) . ' ' . get_phrase('of') . ' ' . $payments->total() . ' ' . get_phrase('data') }}
-
-
-
-
-
-
- #
- {{ get_phrase('User') }}
- {{ get_phrase('Items') }}
- {{ get_phrase('Type') }}
- {{ get_phrase('Total') }}
- {{ get_phrase('Issue date') }}
- {{ get_phrase('Payment info') }}
- {{ get_phrase('Status') }}
- {{ get_phrase('Options') }}
-
-
-
- @foreach ($payments as $key => $payment)
-
-
- {{ $key + 1 }}
-
-
-
-
-
-
- {{ get_user_info($payment->user_id)->name }}
-
-
{{ get_user_info($payment->user_id)->email }}
-
{{get_phrase('Phone')}}: {{ get_user_info($payment->user_id)->phone }}
-
-
-
-
-
-
-
- @if ($payment->item_type == 'course')
- @foreach (App\Models\Course::whereIn('id', json_decode($payment->items, true))->get() as $course)
-
- {{ $course->title }}
-
- @endforeach
- @endif
-
- @if ($payment->item_type == 'bootcamp')
- @foreach (App\Models\Bootcamp::whereIn('id', json_decode($payment->items, true))->get() as $bootcamp)
-
- {{ $bootcamp->title }}
-
- @endforeach
- @endif
-
- @if ($payment->item_type == 'package')
- @foreach (App\Models\TeamTrainingPackage::whereIn('id', json_decode($payment->items, true))->get() as $package)
-
- {{ $package->title }}
-
- @endforeach
- @endif
-
- @if ($payment->item_type == 'tutor_booking')
- @foreach (App\Models\TutorSchedule::whereIn('id', json_decode($payment->items, true))->get() as $tutor_schedule)
-
- {{ $tutor_schedule->schedule_to_tutorSubjects->name }}
-
-
{{ $tutor_schedule->schedule_to_tutor->name }}
- @endforeach
- @endif
-
-
-
-
-
- {{ ucfirst($payment->item_type) }}
-
-
-
-
- {{ currency($payment->total_amount) }}
-
-
-
-
-
-
{{ date('d-M-y', strtotime($payment->created_at)) }}
-
-
-
-
- {{ get_phrase('Download') }}
-
-
-
- @if ($payment->status == 1)
- {{ get_phrase('Accepted') }}
- @elseif($payment->status == 2)
- {{ get_phrase('Suspended') }}
- @else
- {{ get_phrase('Pending') }}
- @endif
-
-
-
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
-
- @else
- @include('admin.no_data')
- @endif
-
- @if (count($payments) > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($payments) . ' ' . get_phrase('of') . ' ' . $payments->total() . ' ' . get_phrase('data') }}
-
- {{ $payments->links() }}
-
- @endif
-
-
-
-
-@endsection()
diff --git a/upload/update_1.6/sources/resources/views/admin/report/admin_revenue.blade.php b/upload/update_1.6/sources/resources/views/admin/report/admin_revenue.blade.php
deleted file mode 100644
index 97d99b8..0000000
--- a/upload/update_1.6/sources/resources/views/admin/report/admin_revenue.blade.php
+++ /dev/null
@@ -1,169 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('Admin Revenue'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
- {{ get_phrase('Admin Revenue') }}
-
-
-
-
-
-
-
-
-
- @if ($reports->count() > 0)
-
- @endif
-
-
-
-
-
-
-
- {{ get_phrase('Filter') }}
-
-
-
-
-
-
-
-
- @if ($reports->count() > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($reports) . ' ' . get_phrase('of') . ' ' . $reports->total() . ' ' . get_phrase('data') }}
-
-
-
-
-
-
- {{ get_phrase('#') }}
- {{ get_phrase('Enrolled course') }}
- {{ get_phrase('Total amount') }}
- {{ get_phrase('Admin revenue') }}
- {{ get_phrase('Enrolled') }}
- {{ get_phrase('Option') }}
-
-
-
- @foreach ($reports as $key => $report)
- @php
- if ($report->course_id > 0) {
- $item = App\Models\Course::where('id', $report->course_id)->firstOrNew();
- }
- @endphp
-
-
- {{ $key + 1 }}
-
-
-
-
-
{{ $item->title }}
-
{{ get_phrase('Enrolled: ') }}
- {{ date('d-M-Y', strtotime($report->created_at)) }}
- @isset($report->coupon)
-
{{ get_phrase('Coupon: ') }}{{ $report->coupon }}
- @endisset
-
-
-
-
-
-
-
{{ currency($report->amount) }}
-
-
-
-
-
-
{{ currency($report->admin_revenue) }}
-
-
-
-
-
-
{{ date('d-M-Y', strtotime($report->created_at)) }}
-
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
-
-
- {{ get_phrase('Total') }} :
- {{ currency($reports->sum('amount')) }}
-
- {{ get_phrase('Total') }} :
- {{ currency($reports->sum('admin_revenue')) }}
-
-
-
-
-
-
-
- @else
- @include('admin.no_data')
- @endif
-
- @if (count($reports) > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($reports) . ' ' . get_phrase('of') . ' ' . $reports->total() . ' ' . get_phrase('data') }}
-
- {{ $reports->links() }}
-
- @endif
-
-
-
-
-
-@endsection
-
-@push('js')
-
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/admin/setting/language_setting.blade.php b/upload/update_1.6/sources/resources/views/admin/setting/language_setting.blade.php
deleted file mode 100644
index f455707..0000000
--- a/upload/update_1.6/sources/resources/views/admin/setting/language_setting.blade.php
+++ /dev/null
@@ -1,187 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('Multi language setting'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
- {{ get_phrase('Manage Language') }}
-
-
-
-
-
-
-
{{ get_phrase('Manage Language') }}
-
-
-
-
- {{ get_phrase('Language list') }}
-
-
-
-
-
- {{ get_phrase('Add Language') }}
-
-
-
-
-
- {{ get_phrase('Import Language') }}
-
-
-
-
-
-
-
-
-
-
-
-
- @csrf
-
- {{ get_phrase('Add new language') }}
-
-
-
-
-
- {{ get_phrase('Save') }}
-
-
-
-
-
-
-
-
-
-
-
-
- @csrf
-
- {{ get_phrase('Import your language files from here. (Ex: english.json)') }}
-
-
-
-
-
- {{ get_phrase('Select Language to Replace') }}
-
- @foreach ($languages as $language)
- @if ($language->name !== 'English')
-
- {{ ucfirst($language->name) }}
- @endif
- @endforeach
-
-
-
- {{ get_phrase('Import') }}
-
-
-
-
-
-
-
-
-
-@endsection
-@push('js')
-
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/admin/setting/system_setting.blade.php b/upload/update_1.6/sources/resources/views/admin/setting/system_setting.blade.php
deleted file mode 100644
index d12bbe3..0000000
--- a/upload/update_1.6/sources/resources/views/admin/setting/system_setting.blade.php
+++ /dev/null
@@ -1,175 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('System settings'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
-
- {{ get_phrase('System Settings') }}
-
-
-
-
-
-
-
-
-
{{ get_phrase('System Settings') }}
-
-
-
-
-
-
{{ get_phrase('Update Product') }}
-
-
-
- @csrf
-
- {{ get_phrase('File') }}
-
-
-
-
- {{ get_phrase('Update') }}
-
-
-
-
-
-
-@endsection
-@push('js')@endpush
diff --git a/upload/update_1.6/sources/resources/views/admin/student/create_login.blade.php b/upload/update_1.6/sources/resources/views/admin/student/create_login.blade.php
deleted file mode 100644
index a44d4a8..0000000
--- a/upload/update_1.6/sources/resources/views/admin/student/create_login.blade.php
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
{{ get_phrase('Email') }}*
-
- email) value="{{ $instructor->email }}" @endisset required>
-
-
-
-
-
-
-
- {{ get_phrase('Mark email as verified') }}
-
-
-
-
-@if (!isset($student->email))
-
-
{{ get_phrase('Password') }}*
-
-
-
-
-@endisset
diff --git a/upload/update_1.6/sources/resources/views/admin/student/index.blade.php b/upload/update_1.6/sources/resources/views/admin/student/index.blade.php
deleted file mode 100644
index b8ef3a6..0000000
--- a/upload/update_1.6/sources/resources/views/admin/student/index.blade.php
+++ /dev/null
@@ -1,146 +0,0 @@
-@extends('layouts.admin')
-@push('title', get_phrase('Student'))
-@push('meta')
-@endpush
-@push('css')
-@endpush
-@section('content')
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ get_phrase('Search') }}
-
-
-
-
-
-
-
-
-
- @if (count($students) > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($students) . ' ' . get_phrase('of') . ' ' . $students->total() . ' ' . get_phrase('data') }}
-
-
-
-
-
-
- #
- {{ get_phrase('Name') }}
- {{ get_phrase('Phone') }}
- {{ get_phrase('Enrolled Course') }}
- {{ get_phrase('Options') }}
-
-
-
- @foreach ($students as $key => $row)
-
-
- {{ ++$key }}
-
-
-
-
-
-
-
-
{{ $row->name }}
-
{{ $row->email }}
-
-
-
-
-
-
-
- {{ App\Models\Enrollment::where('user_id', $row->id)->count() }}
- {{ get_phrase('Courses') }}
-
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
-
- @else
- @include('admin.no_data')
- @endif
-
-
- @if (count($students) > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($students) . ' ' . get_phrase('of') . ' ' . $students->total() . ' ' . get_phrase('data') }}
-
- {{ $students->links() }}
-
- @endif
-
-
-
-
-
-@endsection
-
-
-@push('js')
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/auth/register.blade.php b/upload/update_1.6/sources/resources/views/auth/register.blade.php
deleted file mode 100644
index 9c163fc..0000000
--- a/upload/update_1.6/sources/resources/views/auth/register.blade.php
+++ /dev/null
@@ -1,130 +0,0 @@
-@extends('layouts.' . get_frontend_settings('theme'))
-@push('title', get_phrase('Sign Up'))
-@push('meta')@endpush
-@push('css')
-
-@endpush
-@section('content')
-
-
-
-
-
-
-
-
-
-
-
-
-@endsection
-@push('js')
-
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/class_record/player.blade.php b/upload/update_1.6/sources/resources/views/class_record/player.blade.php
deleted file mode 100644
index a146d4a..0000000
--- a/upload/update_1.6/sources/resources/views/class_record/player.blade.php
+++ /dev/null
@@ -1,121 +0,0 @@
-@if ($class->enrolled_user && auth()->user()->id)
-
-
-
-
- {{ config(['app.name' => get_settings('system_title')]) }}
- {{ $class->title }} | {{ config('app.name') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-@endif
diff --git a/upload/update_1.6/sources/resources/views/components/home_made_by_builder/footer.blade.php b/upload/update_1.6/sources/resources/views/components/home_made_by_builder/footer.blade.php
deleted file mode 100644
index e4e4f4d..0000000
--- a/upload/update_1.6/sources/resources/views/components/home_made_by_builder/footer.blade.php
+++ /dev/null
@@ -1,129 +0,0 @@
-{{-- To make a editable image or text need to be add a "builder editable" class and builder identity attribute with a unique value --}}
-{{-- builder identity and builder editable --}}
-{{-- builder identity value have to be unique under a single file --}}
-
-@if (get_frontend_settings('recaptcha_status'))
- @push('js')
-
- @endpush
-@endif
-
-
-
-
-@push('js')
-
-
-@endpush
\ No newline at end of file
diff --git a/upload/update_1.6/sources/resources/views/components/home_made_by_developer/footer.blade.php b/upload/update_1.6/sources/resources/views/components/home_made_by_developer/footer.blade.php
deleted file mode 100644
index 70dfd64..0000000
--- a/upload/update_1.6/sources/resources/views/components/home_made_by_developer/footer.blade.php
+++ /dev/null
@@ -1,129 +0,0 @@
-{{-- To make a editable image or text need to be add a "builder editable" class and builder identity attribute with a unique value --}}
-{{-- builder identity and builder editable --}}
-{{-- builder identity value have to be unique under a single file --}}
-
-@if (get_frontend_settings('recaptcha_status'))
- @push('js')
-
- @endpush
-@endif
-
-
-
-
-@push('js')
-
-
-@endpush
\ No newline at end of file
diff --git a/upload/update_1.6/sources/resources/views/course_player/init.blade.php b/upload/update_1.6/sources/resources/views/course_player/init.blade.php
deleted file mode 100644
index f6b4e5c..0000000
--- a/upload/update_1.6/sources/resources/views/course_player/init.blade.php
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-@if (get_player_settings('watermark_type') == 'js')
-
-@endif
diff --git a/upload/update_1.6/sources/resources/views/course_player/player_config.blade.php b/upload/update_1.6/sources/resources/views/course_player/player_config.blade.php
deleted file mode 100644
index 222d8b9..0000000
--- a/upload/update_1.6/sources/resources/views/course_player/player_config.blade.php
+++ /dev/null
@@ -1,253 +0,0 @@
-@push('js')
-
-@endpush
-
-
-
-
-
-
-
-
-
-
-
-
-
Playing next video in 5 sec
-
✖
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/upload/update_1.6/sources/resources/views/course_player/player_page.blade.php b/upload/update_1.6/sources/resources/views/course_player/player_page.blade.php
deleted file mode 100644
index 74a0bc1..0000000
--- a/upload/update_1.6/sources/resources/views/course_player/player_page.blade.php
+++ /dev/null
@@ -1,146 +0,0 @@
-@if (isset($lesson_details->lesson_type))
- @if ($lesson_details->lesson_type == 'text')
-
-
- {!! removeScripts($lesson_details->attachment) !!}
-
-
- @elseif ($lesson_details->lesson_type == 'video-url')
-
-
-
-
-
-
- @include('course_player.player_config')
-
-
- @elseif ($lesson_details->lesson_type == 'scorm')
-
-
-
- @if ($lesson_details->attachment_type == 'iSpring')
-
- @elseif ($lesson_details->attachment_type == 'articulate')
-
- @elseif ($lesson_details->attachment_type == 'adobeCaptivate')
-
- @endif
-
-
-
-
- @elseif($lesson_details->lesson_type == 'system-video')
- @php
- $watermark_type = get_player_settings('watermark_type');
- $lesson_video = $lesson_details->lesson_src;
- if ($watermark_type == 'ffmpeg') {
- $origin = dirname($lesson_details->lesson_src);
- $dir = $origin . '/watermark';
- $file = str_replace($origin, '', $lesson_details->lesson_src);
- $lesson_video = "{$dir}{$file}";
- }
- @endphp
-
-
-
-
-
- {{-- --}}
-
-
- @include('course_player.player_config')
-
-
-
- @elseif($lesson_details->lesson_type == 'image')
- @php
- // $img = asset('uploads/lesson_file/attachment/' . $lesson_details->attachment);
- $img = route('course.get_file', ['course_id' => $lesson_details->course_id, 'lesson_id' => $lesson_details->id])
- @endphp
-
- @elseif($lesson_details->lesson_type == 'vimeo-url' && $lesson_details->video_type == 'vimeo')
- @php
- $video_url = $lesson_details->lesson_src;
- $video_id = explode('https://vimeo.com/', $video_url);
- $video_id = str_replace('https://vimeo.com/', '', $video_url);
- @endphp
-
-
-
-
-
-
- @include('course_player.player_config')
-
-
-
- @elseif($lesson_details->lesson_type == 'google_drive')
- @php
- $video_url = $lesson_details->lesson_src;
- $url_array_1 = explode('/', $video_url . '/');
- $url_array_2 = explode('=', $video_url);
- $video_id = null;
- if ($url_array_1[4] == 'd'):
- $video_id = $url_array_1[5];
- else:
- $video_id = $url_array_2[1];
- endif;
- @endphp
-
-
-
-
-
-
- @include('course_player.player_config')
-
-
- @elseif($lesson_details->lesson_type == 'html5')
-
-
-
-
-
-
- @include('course_player.player_config')
-
-
- @elseif($lesson_details->lesson_type == 'document_type')
- @php
- $src = route('course.get_file', ['course_id' => $lesson_details->course_id, 'lesson_id' => $lesson_details->id])
- @endphp
- @if ($lesson_details->attachment_type == 'pdf')
- {{-- --}}
-
-
-
-
-
-
- @elseif($lesson_details->attachment_type == 'doc' || $lesson_details->attachment_type == 'ppt')
-
- @elseif($lesson_details->attachment_type == 'txt')
-
- @endif
- @elseif($lesson_details->lesson_type == 'quiz')
-
- @include('course_player.quiz.index')
-
- @else
-
- @endif
-@endif
-
-
\ No newline at end of file
diff --git a/upload/update_1.6/sources/resources/views/course_player/quiz/questions.blade.php b/upload/update_1.6/sources/resources/views/course_player/quiz/questions.blade.php
deleted file mode 100644
index 1146b9e..0000000
--- a/upload/update_1.6/sources/resources/views/course_player/quiz/questions.blade.php
+++ /dev/null
@@ -1,166 +0,0 @@
-
-
-@php
- $lesson_history = App\Models\Watch_history::where('course_id', $course_details->id)
- ->where('student_id', auth()->user()->id)
- ->firstOrNew();
- $completed_lesson_arr = json_decode($lesson_history->completed_lesson, true);
- $completed_lesson_arr = is_array($completed_lesson_arr) ? $completed_lesson_arr : array();
-@endphp
-
-@csrf
-
- @foreach ($questions as $key => $question)
-
-
-
{{ ++$key }}
- @if($question->type == 'fill_blanks')
-
- @php
- $correct_answers = json_decode($question['answer'], true);
- $question_title = remove_js(htmlspecialchars_decode_($question['title']));
- foreach($correct_answers as $correct_answer):
- $question_title = str_replace($correct_answer, ' _____ ', $question_title);
- endforeach;
- @endphp
- {{ $question_title; }}
-
- @else
-
{!! $question->title !!}
- @endif
-
-
-
-
- @endforeach
-
-
-
-@if ($questions->count() > 0)
-
-
- {{ get_phrase('Prev') }}
- {{ get_phrase('Next') }}
- @if ($submits->count() < $quiz->retake)
- {{ get_phrase('Submit') }}
- @endif
-
-
-@endif
-
-@include('course_player.init')
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/course_player/side_bar.blade.php b/upload/update_1.6/sources/resources/views/course_player/side_bar.blade.php
deleted file mode 100644
index b2f4300..0000000
--- a/upload/update_1.6/sources/resources/views/course_player/side_bar.blade.php
+++ /dev/null
@@ -1,145 +0,0 @@
-@php
- $sections = App\Models\Section::where('course_id', $course_details->id)
- ->orderBy('sort')
- ->get();
-
- $completed_lesson = json_decode(
- App\Models\Watch_history::where('course_id', $course_details->id)
- ->where('student_id', Auth()->user()->id)
- ->value('completed_lesson'),
- true,
- ) ?? [];
- $active_section = App\Models\Lesson::where('id', $lesson_details->id ?? '')->value('section_id');
-
- $lesson_history = App\Models\Watch_history::where('course_id', $course_details->id)
- ->where('student_id', auth()->user()->id)
- ->firstOrNew();
- $completed_lesson_arr = json_decode($lesson_history->completed_lesson, true);
- $completed_lesson_arr = is_array($completed_lesson_arr) ? $completed_lesson_arr : array();
- $complated_lesson = is_array($completed_lesson_arr) ? count($completed_lesson_arr) : 0;
- $course_progress_out_of_100 = progress_bar($course_details->id);
-
- $user_id = Auth()->user()->id;
- $is_course_instructor = is_course_instructor($course_details->id, $user_id);
-
- $is_locked = 0;
- $locked_lesson_ids = array();
-@endphp
-
-
-
-
-
-
-
{{ get_phrase('Course curriculum') }}
-
{{ $course_progress_out_of_100 }}% {{ get_phrase('Completed') }}
- ({{ $complated_lesson }}/{{ lesson_count($course_details->id) }})
-
-
-
-
-
-
- @foreach ($sections as $section)
- @php
- $lessons = App\Models\Lesson::where('section_id', $section->id)
- ->orderBy('sort')
- ->get();
- @endphp
-
- @endforeach
-
-
-
\ No newline at end of file
diff --git a/upload/update_1.6/sources/resources/views/frontend/default/knowledge_base_topics/article_single.blade.php b/upload/update_1.6/sources/resources/views/frontend/default/knowledge_base_topics/article_single.blade.php
deleted file mode 100644
index e3d404d..0000000
--- a/upload/update_1.6/sources/resources/views/frontend/default/knowledge_base_topics/article_single.blade.php
+++ /dev/null
@@ -1,68 +0,0 @@
-@extends('layouts.default')
-@push('title', get_phrase('Bootcamps'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
-
-
{{$article->topic_name}}
-
{!! $article->description !!}
-
-
{{get_phrase(' Share On :')}}
- @if (get_frontend_settings('twitter') != '')
-
-
-
- @endif
- @if (get_frontend_settings('linkedin') != '')
-
-
-
- @endif
- @if (get_frontend_settings('facebook') != '')
-
-
-
- @endif
-
-
-
-
-
-
- @php
- $topicks = App\Models\Knowledge_base_topick::where('knowledge_base_id', $title->id)->orderBy('updated_at', 'desc')->get();
-
- @endphp
-
-
{{ ucwords($title->title) }}
- @foreach($topicks as $topic)
-
-
- @endforeach
-
-
-
-
-
>
-
-@endsection
-@push('js')@endpush
\ No newline at end of file
diff --git a/upload/update_1.6/sources/resources/views/frontend/default/knowledge_base_topics/index.blade.php b/upload/update_1.6/sources/resources/views/frontend/default/knowledge_base_topics/index.blade.php
deleted file mode 100644
index 76f7034..0000000
--- a/upload/update_1.6/sources/resources/views/frontend/default/knowledge_base_topics/index.blade.php
+++ /dev/null
@@ -1,129 +0,0 @@
-@extends('layouts.default')
-@push('title', get_phrase('Bootcamps'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
- @foreach($articles as $index => $article)
- @php
-
- $devided_val = (count($articles) / 2) - 1;
-
- if($index > $devided_val){
- continue;
- }
-
- @endphp
-
-
-
- @endforeach
-
-
- @foreach($articles as $index => $article)
- @php
-
- $devided_val = (count($articles) / 2) - 1;
-
- if($index <= $devided_val){
- continue;
- }
-
- @endphp
-
-
-
- @endforeach
-
- {{$articles->links()}}
-
- @if ($articles->count() == 0)
-
- @include('frontend.default.empty')
-
- @endif
-
-
-{{-- --}}
-
-
-@endsection
-@push('js')@endpush
diff --git a/upload/update_1.6/sources/resources/views/frontend/default/scripts.blade.php b/upload/update_1.6/sources/resources/views/frontend/default/scripts.blade.php
deleted file mode 100644
index 26b1868..0000000
--- a/upload/update_1.6/sources/resources/views/frontend/default/scripts.blade.php
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/frontend/default/student/my_courses/index.blade.php b/upload/update_1.6/sources/resources/views/frontend/default/student/my_courses/index.blade.php
deleted file mode 100644
index 44af43f..0000000
--- a/upload/update_1.6/sources/resources/views/frontend/default/student/my_courses/index.blade.php
+++ /dev/null
@@ -1,159 +0,0 @@
-@extends('layouts.default')
-@push('title', get_phrase('My courses'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
- @include('frontend.default.student.left_sidebar')
-
-
-
{{ get_phrase('My Courses') }}
-
- @foreach ($my_courses as $course)
- @php
- $course_progress = progress_bar($course->course_id);
- @endphp
-
-
-
-
-
-
-
-
-
-
{{ $course->user_name }}
-
-
-
-
-
-
{{ get_phrase('Progress') }}
-
{{ $course_progress }}%
-
-
-
-
-
-
- @if($course->expiry_date > 0 && $course->expiry_date < time())
-
-
- {{ get_phrase('Expired') }}:
-
-
-
-
- {{ date('d M Y, H:i A', $course->expiry_date) }}
-
-
- @else
- @if($course->expiry_date == 0)
-
-
- {{ get_phrase('Expiry period') }}:
-
-
-
-
- {{ get_phrase('Lifetime Access') }}
-
-
- @else
-
-
- {{ get_phrase('Expiration On') }}:
-
-
-
-
- {{ date('d M Y, H:i A', $course->expiry_date) }}
-
-
- @endif
- @endif
-
-
-
- @php
- $watch_history = App\Models\Watch_history::where('course_id', $course->course_id)
- ->where('student_id', auth()->user()->id)
- ->first();
-
- $lesson = App\Models\Lesson::where('course_id', $course->course_id)
- ->orderBy('sort', 'asc')
- ->first();
-
- if (!$watch_history && !$lesson) {
- $url = route('course.player', ['slug' => $course->slug]);
- } else {
- if ($watch_history) {
- $lesson_id = $watch_history->watching_lesson_id;
- } elseif ($lesson) {
- $lesson_id = $lesson->id;
- }
- $url = route('course.player', ['slug' => $course->slug, 'id' => $lesson_id]);
- }
-
- @endphp
-
- @if($course->expiry_date > 0 && $course->expiry_date < time())
-
- {{ get_phrase('Renew') }}
-
- @else
- @if ($course_progress > 0 && $course_progress < 100.00)
-
- {{ get_phrase('Continue') }}
-
- @elseif ($course_progress == 100.00)
-
- {{ get_phrase('Watch again') }}
-
- @else
-
- {{ get_phrase('Start Now') }}
-
- @endif
- @endif
-
-
-
-
- @endforeach
- @if ($my_courses->count() == 0)
-
-
- @include('frontend.default.empty')
-
-
- @endif
-
-
-
-
-
- @if (count($my_courses) > 0)
-
- @endif
-
-
-
-
-@endsection
-@push('js')
-
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/frontend/default/student/my_profile/index.blade.php b/upload/update_1.6/sources/resources/views/frontend/default/student/my_profile/index.blade.php
deleted file mode 100644
index 2b49fe6..0000000
--- a/upload/update_1.6/sources/resources/views/frontend/default/student/my_profile/index.blade.php
+++ /dev/null
@@ -1,112 +0,0 @@
-@extends('layouts.default')
-@push('title', get_phrase('My profile'))
-@push('meta')@endpush
-@push('css')@endpush
-@section('content')
-
-
-
-
-
- @include('frontend.default.student.left_sidebar')
-
-
-
-
{{ get_phrase('Personal Information') }}
-
@csrf
-
-
-
- {{ get_phrase('Full Name') }}
-
-
-
-
-
- {{ get_phrase('Email Address') }}
-
-
-
-
-
- {{ get_phrase('Phone Number') }}
-
-
-
-
-
- {{ get_phrase('Website') }}
-
-
-
-
-
- {{ get_phrase('Facebook') }}
-
-
-
-
-
- {{ get_phrase('Twitter') }}
-
-
-
-
-
- {{ get_phrase('Linkedin') }}
-
-
-
-
-
- {{ get_phrase('Skills') }}
-
-
-
-
-
- {{ get_phrase('Biography') }}
- {{ $user_details->biography }}
-
-
-
- {{ get_phrase('Save Changes') }}
-
-
-
-
-
{{ get_phrase('Change Password') }}
-
@csrf
-
-
-
- {{ get_phrase('Current password') }}
-
-
-
-
-
- {{ get_phrase('New password') }}
-
-
-
-
-
- {{ get_phrase('Confirm password') }}
-
-
-
-
- {{ get_phrase('Update password') }}
-
-
-
-
-
-
-
-
-@endsection
-@push('js')
-
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/instructor/bootcamp/edit_seo.blade.php b/upload/update_1.6/sources/resources/views/instructor/bootcamp/edit_seo.blade.php
deleted file mode 100644
index 30e724d..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/bootcamp/edit_seo.blade.php
+++ /dev/null
@@ -1,60 +0,0 @@
-
-@php
- $seo_meta_tag = App\Models\SeoField::where('bootcamp_id', $bootcamp_details->id)->firstOrNew();
-@endphp
-
- {{ get_phrase('Meta Title') }}
-
-
-
-
- {{ get_phrase('Meta Keywords') }}
-
- {{ get_phrase('Writing your keyword and hit the enter') }}
-
-
-
- {{ get_phrase('Meta Description') }}
- {{ $seo_meta_tag->meta_description }}
-
-
-
- {{ get_phrase('Meta Robot') }}
-
-
-
-
- {{ get_phrase(' Canonical Url') }}
-
-
-
-
- {{ get_phrase(' Custom Url') }}
-
-
-
-
- {{ get_phrase('Og Title') }}
-
-
-
-
- {{ get_phrase('Og Description') }}
- {{ $seo_meta_tag->og_description }}
-
-
-
-
{{ get_phrase('Og Image') }}
-
-
-
-
-
-
-
-
- {{ get_phrase('Json Id') }}
- {{ $seo_meta_tag->json_ld }}
-
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/create.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/create.blade.php
deleted file mode 100644
index 0fd4878..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/create.blade.php
+++ /dev/null
@@ -1,209 +0,0 @@
-@extends('layouts.instructor')
-@push('title', get_phrase('Create course'))
-
-@section('content')
-
-
-
-
-
-
-
- {{ get_phrase('Add new Course') }}
-
-
-
-
-
-
-
- @csrf
-
-
-
-
-
-
-
- {{ get_phrase('Thumbnail') }}
-
-
-
-
- {{ get_phrase('Submit') }}
-
-
-
-
-
-
-
-@endsection
-
-@push('js')
-
-@endpush
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/edit_basic.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/edit_basic.blade.php
deleted file mode 100644
index 105e3e9..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/edit_basic.blade.php
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
{{ get_phrase('Course title') }}*
-
-
-
-
-
-
-
{{ get_phrase('Short description') }}
-
- {{ $course_details->short_description }}
-
-
-
-
-
{{ get_phrase('Description') }}
-
- {!! removeScripts($course_details->description) !!}
-
-
-
-
-
{{ get_phrase('Category') }}*
-
-
- {{ get_phrase('Select a category') }}
- @foreach (App\Models\Category::where('parent_id', 0)->orderBy('title', 'desc')->get() as $category)
- category_id == $category->id) selected @endif>
- {{ $category->title }}
-
- @foreach ($category->childs as $sub_category)
- category_id == $sub_category->id) selected @endif> --
- {{ $sub_category->title }}
- @endforeach
- @endforeach
-
-
-
-
-
-
{{ get_phrase('Course level') }}*
-
-
- {{ get_phrase('Select your course level') }}
- level == 'beginner') selected @endif>{{ get_phrase('Beginner') }}
-
- level == 'intermediate') selected @endif>
- {{ get_phrase('Intermediate') }}
- level == 'advanced') selected @endif>{{ get_phrase('Advanced') }}
-
-
-
-
-
-
-
{{ get_phrase('Made in') }} *
-
-
- {{ get_phrase('Select your course language') }}
- @foreach (App\Models\Language::get() as $language)
- language == strtolower($language->name)) selected @endif class="text-capitalize">{{ $language->name }}
- @endforeach
-
-
-
-
-
-
-
{{ get_phrase('Create as') }} *
-
-
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/edit_pricing.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/edit_pricing.blade.php
deleted file mode 100644
index 80feef6..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/edit_pricing.blade.php
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
{{ get_phrase('Pricing type') }}*
-
-
-
-
-
-
{{ get_phrase('Price') }} ({{ currency() }}) *
-
-
-
-
-
-
-
{{ get_phrase('Discount type') }}
-
-
-
- discount_flag == 1) checked @endif>
- {{ get_phrase('Check if this course has discount') }}
-
-
-
-
-
-
-
{{ get_phrase('Discounted price') }}
-
-
-
-
-
-
-
-
{{ get_phrase('Expiry period') }}
-
-
-
-
-
-
{{ get_phrase('Number of month') }}
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/index.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/index.blade.php
deleted file mode 100644
index c795229..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/index.blade.php
+++ /dev/null
@@ -1,356 +0,0 @@
-@extends('layouts.instructor')
-@push('title', get_phrase('Course Manager'))
-@section('content')
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ get_phrase('Category') }}
-
- {{ get_phrase('All') }}
-
- @foreach (App\Models\Category::where('parent_id', 0)->orderBy('title', 'desc')->get() as $category)
- slug) selected @endif>
- {{ $category->title }}
-
- @foreach ($category->childs as $sub_category)
- slug) selected @endif>
- --{{ $sub_category->title }}
- @endforeach
- @endforeach
-
-
-
- {{ get_phrase('Status') }}
-
- {{ get_phrase('All') }}
-
-
- {{ get_phrase('Active') }}
- {{ get_phrase('Inactive') }}
- {{ get_phrase('Pending') }}
- {{ get_phrase('Upcoming') }}
- {{ get_phrase('Private') }}
- {{ get_phrase('Draft') }}
-
-
-
-
- {{ get_phrase('Instructor') }}
-
- {{ get_phrase('All') }}
-
- @foreach (App\Models\Course::select('user_id')->distinct()->get() as $course)
- user_id) selected @endif>
- {{ ucfirst(get_user_info($course->user_id)->name) }}
-
- @endforeach
-
-
-
- {{ get_phrase('Price') }}
-
- {{ get_phrase('All') }}
-
-
-
- {{ get_phrase('Free') }}
-
- {{ get_phrase('Paid') }}
-
-
-
-
- {{ get_phrase('Apply') }}
-
-
-
-
-
-
- @if (isset($_GET) && count($_GET) > 0)
-
- @endif
-
-
-
-
-
-
- {{ get_phrase('Search') }}
-
-
-
-
-
-
-
-
- @if ($courses->count() > 0)
-
-
- {{ get_phrase('Showing') . ' ' . count($courses) . ' ' . get_phrase('of') . ' ' . $courses->total() . ' ' . get_phrase('data') }}
-
-
-
-
-
-
- #
- {{ get_phrase('Title') }}
- {{ get_phrase('Category') }}
- {{ get_phrase('Lesson & Section') }}
- {{ get_phrase('Enrolled Student') }}
- {{ get_phrase('Status') }}
- {{ get_phrase('Price') }}
- {{ get_phrase('Options') }}
-
-
-
- @foreach ($courses as $key => $row)
- @php
- $query = App\Models\Watch_history::where('course_id', $row->id)
- ->where('student_id', auth()->user()->id)
- ->first();
-
- $query1 = App\Models\Lesson::where('course_id', $row->id)
- ->orderBy('sort', 'asc')
- ->first();
-
- if (isset($query->watching_lesson_id) && $query->watching_lesson_id != '') {
- $watching_lesson_id = $query->watching_lesson_id;
- } elseif (isset($query1->id)) {
- $watching_lesson_id = $query1->id;
- }
- @endphp
-
-
- {{ ++$key }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ course_enrollments($row->id). ' ' .get_phrase('students') }}
-
-
-
-
- {{ get_phrase(ucfirst($row->status)) }}
-
-
-
- @if ($row->is_paid == 0)
-
- {{ get_phrase('Free') }}
-
- @else
-
{{ currency($row->discounted_price) }}
- @endif
-
-
-
-
-
-
-
-
-
-
-
-
-
- @endforeach
-
-
-
-
-
- {{ get_phrase('Showing') . ' ' . count($courses) . ' ' . get_phrase('of') . ' ' . $courses->total() . ' ' . get_phrase('data') }}
-
- {{ $courses->links() }}
-
- @else
- @include('instructor.no_data')
- @endif
-
-
-
-
-
-
-
-@endsection
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/lesson_add.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/lesson_add.blade.php
deleted file mode 100644
index 85408d5..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/lesson_add.blade.php
+++ /dev/null
@@ -1,134 +0,0 @@
-@php
- $sections = App\Models\Section::where('course_id', $id)->orderBy('sort')->get();
-@endphp
-
-
-
{{ get_phrase('Lesson type') }}:
- @if ($lesson_type == 'html5')
- {{ get_phrase('Video url') . ' [.mp4]' }}
- @elseif ($lesson_type == 'video')
- {{ get_phrase('Video file') }}
- @elseif ($lesson_type == 'youtube' || $lesson_type == 'academy cloud' || $lesson_type == 'vimeo')
- {{ ucfirst(get_phrase($lesson_type)) }} {{ get_phrase('Video') }}
- @elseif($lesson_type == 'google_drive_video')
- {{ get_phrase('Google drive video') }}
- @elseif($lesson_type == 'document')
- {{ get_phrase('Document file') }}
- @elseif ($lesson_type == 'scorm')
- {{ get_phrase('Scorm content') }}
- @else
- {{ ucfirst($lesson_type) }}
- @endif
- {{ get_phrase('Change') }}
-
-
-
-
-
- @csrf
-
-
-
-
- {{ get_phrase('Title') }}
-
-
-
-
- {{ get_phrase('Section') }}
-
- @foreach ($sections as $section)
- {{ $section->title }}
- @endforeach
-
-
-
- @if ($lesson_type == 'youtube')
- @include('instructor.course.youtube_type_lesson_add')
- @elseif ($lesson_type == 'academy_cloud')
- @include('instructor.course.academy_cloud_type_lesson_add')
- @elseif ($lesson_type == 'vimeo')
- @include('instructor.course.vimeo_type_lesson_add')
- @elseif ($lesson_type == 'html5')
- @include('instructor.course.html5_type_lesson_add')
- @elseif ($lesson_type == 'video')
- @include('instructor.course.video_type_lesson_add')
- @elseif ($lesson_type == 'amazon-s3')
- @include('amazon_s3_type_lesson_add.php')
- @elseif ($lesson_type == 'google_drive_video')
- @include('instructor.course.google_drive_type_lesson_add')
- @elseif ($lesson_type == 'document')
- @include('instructor.course.document_type_lesson_add')
- @elseif ($lesson_type == 'text')
- @include('instructor.course.text_type_lesson_add')
- @elseif ($lesson_type == 'image')
- @include('instructor.course.image_file_type_lesson_add')
- @elseif ($lesson_type == 'iframe')
- @include('instructor.course.iframe_type_lesson_add')
- @elseif ($lesson_type == 'scorm')
- @include('instructor.course.scorm_type_lesson_add')
- @endif
-
-
- {{ get_phrase('Summary') }}
-
-
-
-
-
- {{ get_phrase('Do you want to keep it free as a preview lesson') }}
- ?
-
-
- {{ get_phrase('Mark as free lesson') }}
-
-
-
- {{ get_phrase('Add lesson') }}
-
-
-
-
-@include('instructor.init')
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/lesson_edit.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/lesson_edit.blade.php
deleted file mode 100644
index 111d090..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/lesson_edit.blade.php
+++ /dev/null
@@ -1,133 +0,0 @@
-@php
- $lessons = App\Models\Lesson::where('id', $id)->first();
- $sections = App\Models\Section::where('course_id', $lessons->course_id)
- ->orderBy('sort')
- ->get();
- $select_section = App\Models\Section::where('id', $lessons->section_id)->value('title');
-@endphp
-
-
- {{ get_phrase('Lesson type') }}:
- @if ($lessons->lesson_type == 'html5')
- {{ get_phrase('Video url') . ' [.mp4]' }}
- @elseif ($lessons->lesson_type == 'system-video')
- {{ get_phrase('Video file') }}
- @elseif ($lessons->lesson_type == 'scorm')
- {{ get_phrase('Scorm file') }}
- @elseif ($lessons->video_type == 'youtube' || $lessons->video_type == 'vimeo')
- {{ get_phrase($lessons->video_type) }} {{ get_phrase('Video') }}
- @elseif($lessons->lesson_type == 'google_drive_video')
- {{ get_phrase('Google drive video') }}
- @elseif($lessons->lesson_type == 'document_type')
- {{ get_phrase('Document file') }}
- @else
- {{ $lessons->lesson_type }}
- @endif
-
-
-
-
- @csrf
-
-
-
-
- {{ get_phrase('Title') }}
-
-
-
-
- {{ get_phrase('Section') }}
-
- @foreach ($sections as $section)
- section_id == $section->id) selected @endif>
- {{ $section->title }}
- @endforeach
-
-
-
- @if ($lessons->lesson_type == 'video-url')
- @include('instructor.course.youtube_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'vimeo-url')
- @include('instructor.course.vimeo_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'system-video')
- @include('instructor.course.video_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'scorm')
- @include('instructor.course.scorm_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'html5')
- @include('instructor.course.html5_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'google_drive')
- @include('instructor.course.google_drive_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'document_type')
- @include('instructor.course.document_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'text')
- @include('instructor.course.text_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'image')
- @include('instructor.course.image_file_type_lesson_edit')
- @elseif ($lessons->lesson_type == 'iframe')
- @include('instructor.course.iframe_type_lesson_edit')
- @endif
-
-
- {{ get_phrase('summary') }}
- {{ $lessons->summary }}
-
-
-
- {{ get_phrase('Do you want to keep it free as a preview lesson') }}
- ?
-
-
- {{ get_phrase('Mark as free lesson') }}
-
-
-
- {{ get_phrase('Update lesson') }}
-
-
-
-
-
-@include('instructor.init')
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/lesson_type.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/lesson_type.blade.php
deleted file mode 100644
index a062b85..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/lesson_type.blade.php
+++ /dev/null
@@ -1,148 +0,0 @@
-@php
- $course = App\Models\Course::where('id', $id)->first();
-
- $selected_lesson = 'youtube';
- if (isset($param3) && !empty($param3)) {
- $selected_lesson = $param3;
- }
-@endphp
-
-
-
{{ get_phrase('Course') }}:
- {{ $course->title }}
-
-
-
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/scorm_type_lesson_add.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/scorm_type_lesson_add.blade.php
deleted file mode 100644
index 4150c8e..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/scorm_type_lesson_add.blade.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- {{ get_phrase('Select scorm provider') }}
-
- {{ get_phrase('Select a provider') }}
- {{ get_phrase('iSpring') }}
- {{ get_phrase('Articulate') }}
- {{ get_phrase('Adobe Captivate') }}
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/instructor/course/scorm_type_lesson_edit.blade.php b/upload/update_1.6/sources/resources/views/instructor/course/scorm_type_lesson_edit.blade.php
deleted file mode 100644
index 2dd557b..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/course/scorm_type_lesson_edit.blade.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
- {{ get_phrase('Select scorm provider') }}
-
- {{ get_phrase('Select a provider') }}
- attachment_type == 'iSpring') selected @endif>{{ get_phrase('iSpring') }}
- attachment_type == 'articulate') selected @endif>{{ get_phrase('Articulate') }}
-
- attachment_type == 'adobeCaptivate') selected @endif>
- {{ get_phrase('Adobe Captivate') }}
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/instructor/init.blade.php b/upload/update_1.6/sources/resources/views/instructor/init.blade.php
deleted file mode 100644
index 3eb0add..0000000
--- a/upload/update_1.6/sources/resources/views/instructor/init.blade.php
+++ /dev/null
@@ -1,95 +0,0 @@
-
diff --git a/upload/update_1.6/sources/resources/views/layouts/instructor.blade.php b/upload/update_1.6/sources/resources/views/layouts/instructor.blade.php
deleted file mode 100644
index 24d8b4c..0000000
--- a/upload/update_1.6/sources/resources/views/layouts/instructor.blade.php
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
- {{ config(['app.name' => get_settings('system_title')]) }}
- @stack('title') | {{ config('app.name') }}
-
-
-
-
-
-
-
-
- @stack('meta')
-
-
-
-
- {{-- FlatIcons --}}
-
-
-
-
-
-
- {{-- Font awesome icons --}}
-
-
-
- {{-- Summernote --}}
-
-
- {{-- Yaireo Tagify --}}
-
-
- {{-- Select2 --}}
-
-
- {{-- Date range picker --}}
-
-
-
- {{-- Custom css --}}
-
-
-
-
- @stack('css')
-
-
-
-
-
-
-
-
-
-
-
-
-
- @include('instructor.modal')
-
-
- {{-- Summernote --}}
-
-
- {{-- Icon --}}
-
-
- {{-- Jquery form --}}
-
-
- {{-- Jquery UI --}}
-
-
- {{-- Yaireo Tagify --}}
-
-
- {{-- Select2 --}}
-
-
- {{-- Html to PDF --}}
-
-
- {{-- Date range picker --}}
-
-
-
- {{-- Html to PDF --}}
-
-
- {{-- Calender --}}
-
-
- {{-- Duration Picker --}}
-
-
-
-
-
- @include('instructor.toaster')
- @include('instructor.common_scripts')
- @include('instructor.init')
- @stack('js')
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/payment/aamarpay/index.blade.php b/upload/update_1.6/sources/resources/views/payment/aamarpay/index.blade.php
deleted file mode 100644
index 39d6a5b..0000000
--- a/upload/update_1.6/sources/resources/views/payment/aamarpay/index.blade.php
+++ /dev/null
@@ -1,76 +0,0 @@
-@php
- $model = $payment_details['success_method']['model_name'];
-
- if ($model == 'InstructorPayment') {
- $payment_keys = DB::table('users')
- ->where('id', $payment_details['items'][1]['id'])
- ->value('paymentkeys');
-
- $keys = isset($payment_keys) ? json_decode($payment_keys) : null;
-
- if ($payment_gateway->test_mode == 1) {
- $store_id = $store_live_id = '';
- if ($keys) {
- $key = $keys->aamarpay->store_id;
- $key = $keys->aamarpay->store_live_id;
- }
- } else {
- $signature_key = $signature_live_key = '';
- if ($keys) {
- $key = $keys->aamarpay->signature_live_key;
- $key = $keys->aamarpay->signature_key;
- }
- }
-
- if ($key == '') {
- $msg = get_phrase('This payment gateway is not configured.');
- }
- } else {
- $payment_keys = json_decode($payment_gateway->keys, true);
- $key = '';
-
- if ($payment_keys != '') {
- if ($payment_gateway->status == 1) {
- if ($payment_gateway->test_mode == 1) {
- $key = $payment_keys['signature_key'];
- } else {
- $key = $payment_keys['signature_live_key'];
- }
- if ($key == '') {
- $msg = get_phrase('This payment gateway is not configured.');
- }
- } else {
- $msg = get_phrase('Admin denied transaction through this gateway.');
- }
- } else {
- $msg = get_phrase('This payment gateway is not configured.');
- }
- }
-
- // user information
- $user = DB::table('users')
- ->where('id', auth()->user()->id)
- ->first();
-@endphp
-
-@if ($key != '')
- {{ get_phrase('Pay by Aamarpay') }}
-@else
-
-
-
-
-
-
-
-
-
-
-
- {{ get_phrase('Opps!') }} {{ $msg }}
- {{ get_phrase('Try another gateway.') }}
-
-
-@endif
diff --git a/upload/update_1.6/sources/resources/views/payment/doku/index.blade.php b/upload/update_1.6/sources/resources/views/payment/doku/index.blade.php
deleted file mode 100644
index 74b20ef..0000000
--- a/upload/update_1.6/sources/resources/views/payment/doku/index.blade.php
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-{{-- Payment Button --}}
-
- Pay by Doku
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/payment/maxicash/index.blade.php b/upload/update_1.6/sources/resources/views/payment/maxicash/index.blade.php
deleted file mode 100644
index a12d8be..0000000
--- a/upload/update_1.6/sources/resources/views/payment/maxicash/index.blade.php
+++ /dev/null
@@ -1,83 +0,0 @@
-@php
- $model = $payment_details['success_method']['model_name'];
-
- if ($model == 'InstructorPayment') {
- $settings = DB::table('users')
- ->where('id', $payment_details['items'][0]['id'])
- ->value('paymentkeys');
-
- $keys = isset($settings) ? json_decode($settings) : null;
-
- $merchant_id = $merchant_password = '';
- if ($payment_gateway->test_mode == 1) {
- if ($keys) {
- $key_type = 'merchant_id';
- $key = $keys->maxicash->merchant_id;
- }
- } else {
- if ($keys) {
- $key_type = 'merchant_password';
- $key = $keys->maxicash->merchant_password;
- }
- }
-
- if ($key == '') {
- $msg = "This payment gateway isn't configured.";
- }
- } else {
- $payment_keys = json_decode($payment_gateway->keys, true);
- $key = $key_type = '';
-
- if ($payment_keys != '') {
- if ($payment_gateway->status == 1) {
- if ($payment_gateway->test_mode == 1) {
- $key_type = 'merchant_id';
- $key = $payment_keys['merchant_id'];
- } else {
- $key_type = 'merchant_password';
- $key = $payment_keys['merchant_password'];
- }
- if ($key == '') {
- $msg = get_phrase("This payment gateway isn't configured.");
- }
- } else {
- $msg = get_phrase('Admin denied transaction through this gateway.');
- }
- } else {
- $msg = get_phrase("This payment gateway isn't configured.");
- }
- }
-
- $title = isset($payment_details['custom_field']['title']) ? $payment_details['custom_field']['title'] : '';
- $description = isset($payment_details['custom_field']['description'])
- ? $payment_details['custom_field']['description']
- : '';
-
-
- $user = DB::table('users')
- ->where('id', auth()->user()->id)
- ->first();
-@endphp
-
-
-@if ($key != '')
- {{ get_phrase('Pay by Maxicash') }}
-@else
-
-
-
-
-
-
-
-
-
-
-
- {{ get_phrase('Opps!') }} {{ $msg }}
- {{ get_phrase('Try another gateway.') }}
-
-
-@endif
diff --git a/upload/update_1.6/sources/resources/views/payment/offline/index.blade.php b/upload/update_1.6/sources/resources/views/payment/offline/index.blade.php
deleted file mode 100644
index 0537f82..0000000
--- a/upload/update_1.6/sources/resources/views/payment/offline/index.blade.php
+++ /dev/null
@@ -1,56 +0,0 @@
-@php $amount = $payment_details['payable_amount']; @endphp
-
-
-@php
- $model = $payment_details['success_method']['model_name'];
- if ($model == 'InstructorPayment') {
- $settings = DB::table('users')
- ->where('id', $payment_details['items'][0]['id'])
- ->value('paymentkeys');
-
- $keys = isset($settings) ? json_decode($settings) : null;
-
- if ($keys) {
- $bank_information = $keys->offline->bank_information;
- }
-
- if ($bank_information == '') {
- $msg = "This payment gateway isn't configured.";
- }
- } else {
- $payment_keys = json_decode($payment_gateway->keys, true);
- $bank_information = '';
-
- if ($payment_keys != '') {
- if ($payment_gateway->status == 1) {
- $bank_information = $payment_keys['bank_information'];
-
- if ($bank_information == '') {
- $msg = get_phrase("This payment gateway isn't configured.");
- }
- } else {
- $msg = get_phrase('Admin denied transaction through this gateway.');
- }
- } else {
- $msg = get_phrase("This payment gateway isn't configured.");
- }
- }
-@endphp
-
-
-
- {!! removeScripts($bank_information) !!}
-
-
-@csrf
-
-
- {{ get_phrase('Payment Document') }}
- {{ get_phrase('(jpg, pdf, txt, png, docx)') }}
-
-
-
-
-
-
-
diff --git a/upload/update_1.6/sources/resources/views/payment/sslcommerz/index.blade.php b/upload/update_1.6/sources/resources/views/payment/sslcommerz/index.blade.php
deleted file mode 100644
index 0d1c4b3..0000000
--- a/upload/update_1.6/sources/resources/views/payment/sslcommerz/index.blade.php
+++ /dev/null
@@ -1,66 +0,0 @@
-@php
- $model = $payment_details['success_method']['model_name'];
-
- if ($model == 'InstructorPayment') {
- $payment_keys = DB::table('users')
- ->where('id', $payment_details['items'][1]['id'])
- ->value('paymentkeys');
-
- $keys = isset($payment_keys) ? json_decode($payment_keys) : null;
-
- if ($payment_gateway->test_mode == 1) {
- $store_key = $store_live_key = '';
- if ($keys) {
- $key = $keys->sslcommerz->store_key;
- $key = $keys->sslcommerz->store_live_key;
- }
- } else {
- $store_password = $store_live_password = '';
- if ($keys) {
- $key = $keys->sslcommerz->store_live_password;
- $key = $keys->sslcommerz->store_password;
- }
- }
-
- if ($key == '') {
- $msg = get_phrase('This payment gateway is not configured.');
- }
- } else {
- $payment_keys = json_decode($payment_gateway->keys, true);
- $key = '';
-
- if ($payment_keys != '') {
- if ($payment_gateway->status == 1) {
- if ($payment_gateway->test_mode == 1) {
- $key = $payment_keys['store_password'];
- } else {
- $key = $payment_keys['store_live_password'];
- }
- if ($key == '') {
- $msg = get_phrase('This payment gateway is not configured.');
- }
- } else {
- $msg = get_phrase('Admin denied transaction through this gateway.');
- }
- } else {
- $msg = get_phrase('This payment gateway is not configured.');
- }
- }
-
- // user information
- $user = DB::table('users')
- ->where('id', auth()->user()->id)
- ->first();
-@endphp
-
-
- @csrf
-
-
-
-
-
-
-
- Pay by SSLcommerz
-
diff --git a/upload/update_1.6/sources/routes/admin.php b/upload/update_1.6/sources/routes/admin.php
deleted file mode 100644
index 3dba59b..0000000
--- a/upload/update_1.6/sources/routes/admin.php
+++ /dev/null
@@ -1,483 +0,0 @@
-prefix('admin')->middleware('admin')->group(function () {
-
- //dashboard
- Route::get('dashboard', [DashboardController::class, 'index'])->name('dashboard');
- Route::get('phpinfo', function(){
- phpinfo();
- });
-
- //Category
- Route::get('categories', [CategoryController::class, 'index'])->name('categories');
- Route::get('category/create', [CategoryController::class, 'create'])->name('category.create');
- Route::post('category/store', [CategoryController::class, 'store'])->name('category.store');
- Route::get('category/edit', [CategoryController::class, 'edit'])->name('category.edit');
- Route::post('category/update/{id}', [CategoryController::class, 'update'])->name('category.update');
- Route::get('category/delete/{id}', [CategoryController::class, 'delete'])->name('category.delete');
-
- //Courses
- Route::get('courses', [CourseController::class, 'index'])->name('courses');
- Route::get('course/create', [CourseController::class, 'create'])->name('course.create');
- Route::post('course/store', [CourseController::class, 'store'])->name('course.store');
- Route::any('course/edit/{id}', [CourseController::class, 'edit'])->name('course.edit');
- Route::post('course/update/{id}', [CourseController::class, 'update'])->name('course.update');
- Route::get('course/duplicate/{id}', [CourseController::class, 'duplicate'])->name('course.duplicate');
- Route::get('course/status/{type}/{id}', [CourseController::class, 'status'])->name('course.status');
- Route::get('course/delete/{id}', [CourseController::class, 'delete'])->name('course.delete');
- Route::get('course/draft/{id}', [CourseController::class, 'draft'])->name('course.draft');
- Route::post('course/approval/{id}', [CourseController::class, 'approval'])->name('course.approval');
-
- //invoice
- Route::get('invoice/{id?}', [InvoiceController::class, 'invoice'])->name('invoice');
-
- Route::controller(Updater::class)->middleware('auth', 'verified')->group(function () {
-
- Route::post('admin/addon/create', 'update')->name('addon.create');
- Route::post('admin/addon/update', 'update')->name('addon.update');
- Route::post('admin/product/update', 'update')->name('product.update');
- });
-
- //curriculum
- Route::controller(CurriculumController::class)->group(function () {
-
- //Section route
- Route::post('section', 'store')->name('section.store');
- Route::post('section/update', 'update')->name('section.update');
- Route::get('section/delete/{id}', 'delete')->name('section.delete');
- Route::post('section/sort', 'section_sort')->name('section.sort');
-
- // lesson route
- Route::post('lesson', 'lesson_store')->name('lesson.store');
- Route::post('lesson/edit', 'lesson_edit')->name('lesson.edit');
- Route::get('lesson/delete/{id}', 'lesson_delete')->name('lesson.delete');
- Route::post('lesson/sort', 'lesson_sort')->name('lesson.sort');
- });
-
- Route::controller(UsersController::class)->group(function () {
-
- //admins route
- Route::get('admins', 'admin_index')->name('admins.index');
- Route::get('admin/create', 'admin_create')->name('admins.create');
- Route::post('admin/store', 'admin_store')->name('admins.store');
- Route::get('admin/edit/{id}', 'admin_edit')->name('admins.edit');
- Route::post('admin/update/{id}', 'admin_update')->name('admins.update');
- Route::get('admin/delete/{id}', 'admin_delete')->name('admins.delete');
-
- Route::get('admin/permissions/{user_id}', 'admin_permission')->name('admins.permission');
- Route::any('admin/permissions/store/{user_id?}', 'admin_permission_store')->name('admins.permission.store');
-
- //manage profile
- Route::get('manage_profile', 'manage_profile')->name('manage.profile');
- Route::post('manage_profile/update', 'manage_profile_update')->name('manage.profile.update');
-
- // Instructors route
- Route::get('instructor', 'instructor_index')->name('instructor.index');
- Route::get('instructor_create/{id?}', 'instructor_create')->name('instructor.create');
- Route::post('instructor/store/{id?}', 'instructor_store')->name('instructor.store');
- Route::get('instructor_edit/{id?}', 'instructor_edit')->name('instructor.edit');
- Route::post('instructor/update/{id}', 'instructor_update')->name('instructor.update');
- Route::get('instructor/delete/{id}', 'instructor_delete')->name('instructor.delete');
- Route::get('instructor/view_course', 'instructor_view_course')->name('instructor.course');
- Route::get('instructor_payout', 'instructor_payout')->name('instructor.payout');
- Route::get('instructor_payout/filter', 'instructor_payout_filter')->name('instructor.payout.filter');
- Route::get('instructor_payout/invoice/{id?}', 'instructor_payout_invoice')->name('instructor.payout.invoice');
- Route::post('instructor_payment', 'instructor_payment')->name('instructor.payment');
- Route::get('instructor_setting', 'instructor_setting')->name('instructor.setting');
- Route::post('instructor/setting/store', 'instructor_setting_store')->name('instructor.setting.store');
- Route::get('instructor_application', 'instructor_application')->name('instructor.application');
- Route::get('instructor_application/approve/{id}', 'instructor_application_approve')->name('instructor.application.approve');
- Route::get('instructor_application/delete/{id}', 'instructor_application_delete')->name('instructor.application.delete');
- Route::get('instructor_application/document/download/{id}', 'instructor_application_download')->name('instructor.application.download');
- Route::get('instructor/{id}/revoke-access', 'revokeAccess')->name('instructor.revoke_access');
-
- // Student route
- Route::get('student', 'student_index')->name('student.index');
- Route::get('student/create', 'student_create')->name('student.create');
- Route::post('student/store/{id?}', 'student_store')->name('student.store');
- Route::get('student/edit/{id}', 'student_edit')->name('student.edit');
- Route::post('student/update/{id}', 'student_update')->name('student.update');
- Route::get('student/delete/{id}', 'student_delete')->name('student.delete');
-
- Route::get('admin/create', 'admin_create')->name('admins.create');
- Route::post('admin/store', 'admin_store')->name('admins.store');
-
- // course enrolment route
- Route::get('enroll_history', 'enroll_history')->name('enroll.history');
- Route::get('enroll_history/delete/{id}', 'enroll_history_delete')->name('enroll.history.delete');
- Route::get('enroll_student', 'student_enrol')->name('student.enroll');
- Route::get('get/students', 'student_get')->name('student.get');
- Route::post('post/students', 'student_post')->name('student.post');
- });
-
- Route::controller(ReportController::class)->group(function () {
-
- // admin revenue
- Route::get('admin_revenue', 'admin_revenue')->name('revenue');
- Route::get('admin_revenue/delete/{id}', 'admin_revenue_delete')->name('revenue.delete');
-
- //instructor revenue
- Route::get('instructor_revenue', 'instructor_revenue')->name('instructor.revenue');
- Route::get('instructor_revenue/delete/{id}', 'instructor_revenue_delete')->name('instructor_revenue.delete');
-
- // purchase history
- Route::get('purchase_history', 'purchase_history')->name('purchase.history');
- Route::get('purchase_history/invoice/{id?}', 'purchase_history_invoice')->name('purchase.history.invoice');
- });
-
- // newsletter
- Route::controller(NewsletterController::class)->group(function () {
- Route::get('newsletters', 'index')->name('newsletter');
- Route::post('newsletter-statistics', 'newsletter_statistics')->name('newsletter_statistics');
- Route::post('newsletter/store', 'store')->name('newsletter.store');
- Route::get('newsletters/delete/{id}', 'delete')->name('newsletter.delete');
- Route::post('newsletter/update/{id}', 'update')->name('newsletter.update');
-
- Route::get('newsletter/subscribers', 'subscribers')->name('subscribed_user');
- Route::get('subscribed_user/delete/{id}', 'subscribed_user_delete')->name('subscribed_user.delete');
- Route::get('newsletters_form', 'newsletters_form')->name('newsletters.form');
- Route::get('get_user', 'get_user')->name('get.user');
-
- Route::post('send/newsletters', 'send_newsletters')->name('send.newsletters');
- });
-
- // blogs route
- Route::controller(BlogController::class)->group(function () {
- Route::get('blogs', 'index')->name('blogs');
- Route::get('blog/create', 'create')->name('blog.create');
- Route::post('blog/store', 'store')->name('blog.store');
- Route::get('blog/edit/{id}', 'edit')->name('blog.edit');
- Route::get('blog/delete/{id}', 'delete')->name('blog.delete');
- Route::post('blog/update/{id}', 'update')->name('blog.update');
- Route::get('blog/status/{id}', 'status')->name('blog.status');
-
- Route::get('blog/pending', 'pending')->name('blog.pending');
- Route::get('blog/settings', 'settings')->name('blog.settings');
- Route::post('blog/settings/update', 'update_settings')->name('blog.settings.update');
- });
-
- // blog categories route
- Route::controller(BlogCategoryController::class)->group(function () {
- Route::get('blog/category', 'index')->name('blog.category');
- Route::post('blog/category/create', 'create')->name('blog.category.create');
- Route::post('blog/category/store', 'store')->name('blog.category.store');
- Route::get('blog/category/delete/{id}', 'delete')->name('blog.category.delete');
- Route::post('blog/category/update/{id}', 'update')->name('blog.category.update');
- });
-
- Route::controller(SettingController::class)->group(function () {
-
- // system settings
- Route::get('system_settings', 'system_settings')->name('system.settings');
- Route::post('system_settings/update', 'system_settings_update')->name('system.settings.update');
-
- //website settings
- Route::get('website_settings', 'website_settings')->name('website.settings');
- Route::post('website_settings/update', 'website_settings_update')->name('website.settings.update');
-
- //Drip content settings
- Route::get('drip_content_settings', 'drip_content_settings')->name('drip.settings');
- Route::post('drip_content_settings/update', 'drip_content_settings_update')->name('drip.settings.update');
-
- //payment settings
- Route::get('payment_settings', 'payment_settings')->name('payment.settings');
- Route::post('payment_settings/update', 'payment_settings_update')->name('payment.settings.update');
-
- // language settings
- Route::get('manage_language', 'manage_language')->name('manage.language');
- Route::post('language/store', 'language_store')->name('language.store');
- Route::post('language/direction/update', 'language_direction_update')->name('language.direction.update');
- Route::post('language/import', 'language_import')->name('language.import');
- Route::get('language/delete/{id}', 'language_delete')->name('language.delete');
- Route::get('language/export/{id}', 'language_export')->name('language.export');
-
- Route::get('language/phrase/edit/{lan_id}', 'edit_phrase')->name('language.phrase.edit');
- Route::post('language/phrase/update/{phrase_id?}', 'update_phrase')->name('language.phrase.update');
- Route::get('language/phrase/import/{lan_id}', 'phrase_import')->name('language.phrase.import');
-
- // Notification settings
- Route::get('notification_settings', 'notification_settings')->name('notification.settings');
- Route::any('notification_settings/store/{param1}/{id?}', 'notification_settings_store')->name('notification.settings.store');
-
- // player settings
- Route::get('player-settings', 'player_settings')->name('player.settings');
- Route::post('player-settings/update', 'player_settings_update')->name('player.settings.update');
-
- // About settings
- Route::get('about', 'about')->name('about');
- Route::any('admin/save_valid_purchase_code/{action_type?}', 'save_valid_purchase_code')->name('save_valid_purchase_code');
-
- // Certificate settings
- Route::get('certificate_settings', 'certificate')->name('certificate.settings');
- Route::post('certificate/update/template', 'certificate_update_template')->name('certificate.update.template');
- Route::get('certificate/builder', 'certificate_builder')->name('certificate.builder');
- Route::post('certificate/builder/update', 'certificate_builder_update')->name('certificate.certificate.builder.update');
-
- // Admin User Review Add
- Route::get('user/review', 'user_review_add')->name('review.create');
- Route::post('user/review/stor', 'user_review_stor')->name('review.store');
- Route::get('user/review/edit/{id}', 'review_edit')->name('review.edit');
- Route::post('user/review/update/{id}', 'review_update')->name('review.update');
- Route::get('user/review/delete/{id}', 'review_delete')->name('review.delete');
-
- // Home Page Dynamic Field
- Route::post('update/home/{id}', 'update_home')->name('update.home');
- });
-
- Route::controller(LiveClassController::class)->group(function () {
- Route::post('live-class/store/{course_id}', 'live_class_store')->name('live.class.store');
- Route::post('live-class/update/{id}', 'live_class_update')->name('live.class.update');
- Route::get('live-class/delete/{id}', 'live_class_delete')->name('live.class.delete');
-
- Route::get('live-class/start/{id}', 'live_class_start')->name('live.class.start');
-
- Route::get('live-class/settings', 'live_class_settings')->name('live.class.settings');
- Route::post('live-class/settings/update', 'update_live_class_settings')->name('live.class.settings.update');
- });
-
- Route::controller(OpenAiController::class)->group(function () {
- Route::get('open-ai/settings', 'settings')->name('open.ai.settings');
- Route::post('open-ai/settings/update', 'settings_update')->name('open.ai.settings.update');
- Route::post('open-ai/generate', 'generate')->name('open.ai.generate');
- });
-
- Route::controller(PageBuilderController::class)->group(function () {
- Route::get('pages', 'page_list')->name('pages');
- Route::get('page/create', 'page_create')->name('page.create');
- Route::post('page/store', 'page_store')->name('page.store');
- Route::get('page/edit/{id}', 'page_edit')->name('page.edit');
- Route::post('page/update/{id}', 'page_update')->name('page.update');
- Route::get('page/delete/{id}', 'page_delete')->name('page.delete');
- Route::get('page/status/{id}', 'page_status')->name('page.status');
-
- //return developer file content
- Route::any('page/all-builder-developer-file', 'developer_file_content')->name('page.all.builder.developer.file');
-
- Route::get('page/layout/edit/{id}', 'page_layout_edit')->name('page.layout.edit');
- Route::any('page/layout/update/{id}', 'page_layout_update')->name('page.layout.update');
- Route::post('page/layout/image/update', 'page_layout_image_update')->name('page.layout.image.update');
- Route::get('page/preview/{page_id}', 'preview')->name('page.preview');
- });
-
- Route::controller(ContactController::class)->group(function () {
- Route::any('contacts', 'index')->name('contacts');
- Route::post('reply', 'reply')->name('reply');
- Route::get('contact/delete/{id}', 'contact_delete')->name('contact.delete');
- });
-
- Route::controller(MessageController::class)->group(function () {
- Route::post('message/store', 'store')->name('message.store');
- Route::post('message/thread/store', 'thread_store')->name('message.thread.store');
- Route::get('message/{message_thread?}', 'message')->name('message');
- });
-
- Route::controller(SeoController::class)->group(function () {
- //seo settings
- Route::get('seo_settings/{route?}', 'seo_settings')->name('seo.settings');
- Route::post('seo_settings/update/{route}', 'seo_settings_update')->name('seo.settings.update');
- });
-
- //API Configurations
- Route::get('api/configurations', [SettingController::class, 'api_configurations'])->name('api.configurations');
- Route::post('api/configuration/update/{type}', [SettingController::class, 'api_configuration_update'])->name('api.configuration.update');
-
- // offline payment
- Route::controller(OfflinePaymentController::class)->group(function () {
- Route::get('offline-payments', 'index')->name('offline.payments');
- Route::get('offline-payment/doc/{id}', 'download_doc')->name('offline.payment.doc');
- Route::get('offline-payment/accept/{id}', 'accept_payment')->name('offline.payment.accept');
- Route::get('offline-payment/decline/{id}', 'decline_payment')->name('offline.payment.decline');
- Route::get('offline-payment/delete/{id}', 'delete_payment')->name('offline.payment.delete');
- });
-
- // coupon
- Route::controller(CouponController::class)->group(function () {
- Route::get('coupons', 'index')->name('coupons');
- Route::get('coupon/create', 'create')->name('coupon.create');
- Route::post('coupon/store', 'store')->name('coupon.store');
- Route::get('coupon/delete/{id}', 'delete')->name('coupon.delete');
- Route::get('coupon/edit/{id}', 'edit')->name('coupon.edit');
- Route::post('coupon/update/{id}', 'update')->name('coupon.update');
- Route::get('coupon/status/{id}', 'status')->name('coupon.status');
- });
-
- // course quiz
- Route::controller(QuizController::class)->group(function () {
- Route::post('course/quiz/store', 'store')->name('course.quiz.store');
- Route::get('course/quiz/delete/{id}', 'delete')->name('course.quiz.delete');
- Route::post('course/quiz/update/{id}', 'update')->name('course.quiz.update');
- Route::get('quiz/participant/result', 'result')->name('quiz.participant.result');
- Route::get('quiz/result/preview', 'result_preview')->name('quiz.result.preview');
- });
-
- // question route
- Route::controller(QuestionController::class)->group(function () {
- Route::post('course/question/store', 'store')->name('course.question.store');
- Route::get('course/question/delete/{id}', 'delete')->name('course.question.delete');
- Route::post('course/question/update/{id}', 'update')->name('course.question.update');
- Route::get('course/question/sort/', 'sort')->name('course.question.sort');
-
- Route::get('load/question/type/', 'load_type')->name('load.question.type');
- });
-
- // bootcamp category
- Route::controller(BootcampCategoryController::class)->group(function () {
- Route::get('bootcamp/categories', 'index')->name('bootcamp.categories');
- Route::post('bootcamp/category/store', 'store')->name('bootcamp.category.store');
- Route::get('bootcamp/category/delete/{id}', 'delete')->name('bootcamp.category.delete');
- Route::post('bootcamp/category/update/{id}', 'update')->name('bootcamp.category.update');
- });
-
- // bootcamp
- Route::controller(BootcampController::class)->group(function () {
- Route::get('bootcamps/{type?}', 'index')->name('bootcamps');
- Route::get('bootcamp/create', 'create')->name('bootcamp.create');
- Route::get('bootcamp/edit/{id}', 'edit')->name('bootcamp.edit');
- Route::post('bootcamp/store', 'store')->name('bootcamp.store');
- Route::get('bootcamp/delete/{id}', 'delete')->name('bootcamp.delete');
- Route::post('bootcamp/update/{id}', 'update')->name('bootcamp.update');
- Route::get('bootcamp/status/{id}', 'status')->name('bootcamp.status');
- Route::get('bootcamp/duplicate/{id}', 'duplicate')->name('bootcamp.duplicate');
- Route::get('bootcamp/purchase/history', 'purchase_history')->name('bootcamp.purchase.history');
- Route::get('bootcamp/purchase/invoice/{id}', 'invoice')->name('bootcamp.purchase.invoice');
- });
-
- // bootcamp module
- Route::controller(BootcampModuleController::class)->group(function () {
- Route::post('bootcamp/module/store', 'store')->name('bootcamp.module.store');
- Route::get('bootcamp/module/delete/{id}', 'delete')->name('bootcamp.module.delete');
- Route::post('bootcamp/module/update/{id}', 'update')->name('bootcamp.module.update');
- Route::get('bootcamp/module/sort', 'sort')->name('bootcamp.module.sort');
- });
-
- // bootcamp live class
- Route::controller(BootcampLiveClassController::class)->group(function () {
- Route::post('bootcamp/live-class/store', 'store')->name('bootcamp.live.class.store');
- Route::get('bootcamp/live-class/delete/{id}', 'delete')->name('bootcamp.live.class.delete');
- Route::post('bootcamp/live-class/update/{id}', 'update')->name('bootcamp.live.class.update');
- Route::get('bootcamp/live-class/sort', 'sort')->name('bootcamp.live.class.sort');
-
- Route::get('bootcamp/live/class/join/{topic}', 'join_class')->name('bootcamp.live.class.join');
- Route::get('bootcamp/live/class/end/{id}', 'stop_class')->name('bootcamp.class.end');
- Route::get('update/on/class/end/', 'update_on_end_class')->name('update.on.end.class');
- });
-
- // bootcamp resource
- Route::controller(BootcampResourceController::class)->group(function () {
- Route::post('bootcamp/resource/store', 'store')->name('bootcamp.resource.store');
- Route::get('bootcamp/resource/delete/{id}', 'delete')->name('bootcamp.resource.delete');
- Route::get('bootcamp/resource/download/{id}', 'download')->name('bootcamp.resource.download');
- });
-
- // team training
- Route::controller(TeamTrainingController::class)->group(function () {
- Route::get('team-packages', 'index')->name('team.packages');
- Route::view('team-packages/create', 'admin.team_training.create')->name('team.packages.create');
- Route::post('team-packages/store', 'store')->name('team.packages.store');
- Route::get('team-packages/purchase/history', 'purchase_history')->name('team.packages.purchase.history');
-
- Route::middleware(['record.exists:team_training_packages,id,user_id'])->group(function () {
- Route::get('team-packages/edit/{id}', 'edit')->name('team.packages.edit');
- Route::post('team-packages/update/{id}', 'update')->name('team.packages.update');
- Route::get('team-packages/delete/{id}', 'delete')->name('team.packages.delete');
- Route::get('team-packages/duplicate/{id}', 'duplicate')->name('team.packages.duplicate');
- Route::get('team-packages/toggle-status/{id}', 'toggle_status')->name('team.toggle.status');
- Route::get('team-packages/purchase/invoice/{id}', 'invoice')->name('team.packages.purchase.invoice');
- });
-
- Route::get('get-courses-by-privacy/', 'get_courses')->name('get.courses.by.privacy');
- Route::get('get-courses-price/', 'get_course_price')->name('get.course.price');
- });
-
- // tutor booking
- Route::controller(TutorBookingController::class)->group(function () {
-
- // subjects route
- Route::get('tutor-booking/subjects', 'subjects')->name('tutor_subjects');
- Route::get('tutor-booking/subject/create', 'tutor_subject_create')->name('tutor_subject_create');
- Route::post('tutor-booking/subject/store', 'tutor_subject_store')->name('tutor_subject_store');
- Route::get('tutor-booking/subject/edit', 'tutor_subject_edit')->name('tutor_subject_edit');
- Route::post('tutor-booking/subject/update/{id}', 'tutor_subject_update')->name('tutor_subject_update');
- Route::get('tutor-booking/subject/subject-status-update/{id}/{status}', 'tutor_subject_status')->name('tutor_subject_status');
- Route::get('tutor-booking/subject/delete/{id}', 'tutor_subject_delete')->name('tutor_subject_delete');
-
- //category route
- Route::get('tutor-booking/tutor-categories', 'tutor_categories')->name('tutor_categories');
- Route::get('tutor-booking/category/create', 'tutor_category_create')->name('tutor_category_create');
- Route::post('tutor-booking/category/store', 'tutor_category_store')->name('tutor_category_store');
- Route::get('tutor-booking/category/edit', 'tutor_category_edit')->name('tutor_category_edit');
- Route::post('tutor-booking/category/update/{id}', 'tutor_category_update')->name('tutor_category_update');
- Route::get('tutor-booking/category/category-status-update/{id}/{status}', 'tutor_category_status')->name('tutor_category_status');
- Route::get('tutor-booking/category/delete/{id}', 'tutor_category_delete')->name('tutor_category_delete');
-
- });
-
- //new route for knowledge
-
- Route::controller(KnowledgeBaseController::class)->group(function () {
-
- Route::get('knowledge-base','index')->name('knowledge.base');
- Route::post('knowledge-base/store','store')->name('knowledge.base.store');
- Route::get('knowledge-base/single-post/{id}','show')->name('knowledge.base.show');
- Route::get('knowledge-base/edit-post/{id}','edit')->name('knowledge.base.edit');
- Route::post('knowledge-base/update-post/{id}','update')->name('knowledge.base.update');
- Route::get('knowledge-base/delete/{id}','destroy')->name('knowledge.base.delete');
- Route::get('knowledge-base/post/{id}','post')->name('knowledge.base.post');
-
- });
-
- Route::controller(ArticleController::class)->group(function () {
- Route::get('articles/{id}','show')->name('articles');
- Route::post('article/create','store')->name('articles.store');
- Route::get('article/create/{id}', 'edit')->name('articles.create');
- Route::get('article/delete/{id}', 'destroy')->name('articles.delete');
- Route::post('article/update/{id}', 'update')->name('articles.update');
- });
-
- Route::get('select-language/{language}', [LanguageController::class, 'select_lng'])->name('select.language');
-});
diff --git a/upload/update_1.6/sources/routes/guest.php b/upload/update_1.6/sources/routes/guest.php
deleted file mode 100644
index 0d02c1e..0000000
--- a/upload/update_1.6/sources/routes/guest.php
+++ /dev/null
@@ -1,116 +0,0 @@
-group(function () {
- Route::get('/', 'index')->name('home');
- Route::post('/update_watch_history', 'update_watch_history_with_duration')->name('update_watch_history');
- Route::any('/send_email_to_assigned_addresses', 'sendEmailToAssignedAddresses')->name('sendEmailToAssignedAddresses');
-});
-
-// course page
-Route::controller(CourseController::class)->group(function () {
- Route::get('courses/{category?}', 'index')->name('courses');
- Route::get('change/layout', 'change_layout')->name('change.layout');
- Route::get('course/{slug}', 'course_details')->name('course.details');
-});
-
-// blogs page
-Route::controller(BlogController::class)->middleware('blog.visibility')->group(function () {
- Route::get('blogs/{category?}', 'index')->name('blogs');
- Route::get('blog/{slug?}', 'blog_details')->name('blog.details');
- Route::get('blogs-list/{id}', 'blog_by_category')->name('blog.by.category');
-});
-
-// newsletter
-Route::controller(NewsletterController::class)->group(function () {
- Route::post('newsletter/store', 'store')->name('newsletter.store');
-});
-
-// contact us
-Route::controller(ContactController::class)->group(function () {
- Route::get('contact-us/', 'index')->name('contact.us');
- Route::post('contact/', 'store')->name('contact.store');
-});
-
-// about us
-Route::controller(AboutController::class)->group(function () {
- Route::get('about-us/', 'index')->name('about.us');
-});
-
-// instructor details
-Route::controller(InstructorController::class)->group(function () {
- Route::get('instructors', 'index')->name('instructors');
- Route::get('instructor-details/{name}/{id}', 'show')->name('instructor.details');
-});
-
-// privacy and policy
-Route::get('/privacy-policy', function () {
- $view_path = 'frontend.' . get_frontend_settings('theme') . '.privacy_policy.index';
- return view($view_path);
-})->name('privacy.policy');
-
-// refund policy
-Route::get('/refund-policy', function () {
- $view_path = 'frontend.' . get_frontend_settings('theme') . '.refund_policy.index';
- return view($view_path);
-})->name('refund.policy');
-
-//FAQ
-Route::get('/faq', function () {
- $view_path = 'frontend.' . get_frontend_settings('theme') . '.faq.index';
- return view($view_path);
-})->name('faq');
-
-// terms and condition
-Route::get('/terms-and-condition', function () {
- $view_path = 'frontend.' . get_frontend_settings('theme') . '.terms_and_condition.index';
- return view($view_path);
-})->name('terms.condition');
-
-Route::get('/cookie-policy', function () {
- $view_path = 'frontend.' . get_frontend_settings('theme') . '.cookie_policy.index';
- return view($view_path);
-})->name('cookie.policy');
-
-//Bootcamp
-Route::controller(BootcampController::class)->group(function () {
- Route::get('bootcamp', 'index')->name('bootcamps');
- Route::get('bootcamp/{slug}', 'show')->name('bootcamp.details');
-});
-
-// team training
-Route::controller(TeamTrainingController::class)->group(function () {
- Route::get('team-packages/{course_category?}', 'index')->name('team.packages');
- Route::get('team-package/{slug}', 'show')->name('team.package.details');
-});
-
-// tutor booking
-Route::controller(TutorBookingController::class)->group(function () {
- Route::get('tutors', 'index')->name('tutor_list');
- Route::get('tutor-schedule/{id}/{user}', 'tutor_schedule')->name('tutor_schedule');
- Route::get('tutor-schedule-by-date/{date}/{tutorId}', 'getSchedulesForDate')->name('tutor.getSchedulesForDate');
- Route::get('tutor-schedule-by-calender-date/{date}/{tutorId}', 'getSchedulesByCalenderDate')->name('tutor.getSchedulesByCalenderDate');
-});
-
-//knowledge base
-Route::controller(KnowledgeBaseTopicController::class)->group(function () {
- Route::get('knowledge-base-topicks','index')->name('knowledge.base.topicks');
- Route::get('article-single/{id}','show')->name('knowledge.base.article');
-});
-
-// select language
-Route::get('select/language/', [LanguageController::class, 'select_lng'])->name('select.lng');
\ No newline at end of file
diff --git a/upload/update_1.6/sources/routes/payment.php b/upload/update_1.6/sources/routes/payment.php
deleted file mode 100644
index 4bde105..0000000
--- a/upload/update_1.6/sources/routes/payment.php
+++ /dev/null
@@ -1,26 +0,0 @@
-middleware('auth')->group(function () {
- Route::get('payment', 'index')->name('payment');
- Route::get('payment/show_payment_gateway_by_ajax/{identifier}', 'show_payment_gateway_by_ajax')->name('payment.show_payment_gateway_by_ajax');
- Route::any('payment/success/{identifier?}', 'payment_success')->name('payment.success');
- Route::get('payment/create/{identifier}', 'payment_create')->name('payment.create');
-
- // razor pay
- Route::post('payment/{identifier}/order', 'payment_razorpay')->name('razorpay.order');
-
- // paytm pay
- Route::get('payment/make/paytm/order', 'make_paytm_order')->name('make.paytm.order');
- Route::get('payment/make/{identifier}/status', 'paytm_paymentCallback')->name('payment.status');
-
- // doku pay
- Route::post('payment/doku_checkout/{identifier}', 'doku_checkout')->name('payment.doku_checkout');
-
-
-});
-
-Route::any('payment-notification/{identifier?}', [PaymentController::class, 'payment_notification'])->name('payment.notification');
\ No newline at end of file
diff --git a/upload/update_1.6/sources/routes/student.php b/upload/update_1.6/sources/routes/student.php
deleted file mode 100644
index 27de7ad..0000000
--- a/upload/update_1.6/sources/routes/student.php
+++ /dev/null
@@ -1,153 +0,0 @@
-group(function () {
- // my profile routes
- Route::controller(MyProfileController::class)->group(function () {
- Route::get('my-profile', 'index')->name('my.profile');
- Route::post('my-profile/update/{user_id}', 'update')->name('update.profile');
- Route::post('update-profile-picture', 'update_profile_picture')->name('update.profile.picture');
- Route::post('change-password', 'changePassword')->name('password.change');
- });
-
- // my wishlist routes
- Route::controller(WishListController::class)->group(function () {
- Route::get('wishlist', 'index')->name('wishlist');
- Route::get('toggleWishItem/{course_id?}', 'toggleWishItem')->name('toggleWishItem');
- });
-
- // my course routes
- Route::controller(MyCoursesController::class)->group(function () {
- Route::get('my-courses', 'index')->name('my.courses');
- });
-
- // quiz routes
- Route::controller(QuizController::class)->group(function () {
- Route::post('quiz/submit/{id}', 'quiz_submit')->name('quiz.submit');
- Route::get('load/quiz/result/', 'load_result')->name('load.quiz.result');
- Route::get('load/quiz/questions/', 'load_questions')->name('load.quiz.questions');
- });
-
- // purchase routes
- Route::controller(PurchaseController::class)->group(function () {
- Route::get('purchase/course/{course_id}', 'purchase_course')->name('purchase.course');
- Route::post('payout', 'payout')->name('payout');
- Route::get('purchase-history', 'purchase_history')->name('purchase.history');
- Route::get('invoice/{id}', 'invoice')->name('invoice');
- });
-
- // cart routes
- Route::controller(CartController::class)->group(function () {
- Route::any('cart', 'index')->name('cart');
- Route::get('cart/store/{id}', 'store')->name('cart.store');
- Route::get('cart/delete/{id}', 'delete')->name('cart.delete');
- });
-
- // review routes
- Route::controller(ReviewController::class)->group(function () {
- Route::post('review/store', 'store')->name('review.store');
- Route::get('review/edit/', 'edit')->name('review.edit');
- Route::get('review/delete/{id}', 'delete')->name('review.delete');
- Route::post('review/update/{id}', 'update')->name('review.update');
- Route::get('review/like/{id}', 'like')->name('review.like');
- Route::get('review/dislike/{id}', 'dislike')->name('review.dislike');
- });
-
- // blog
- Route::controller(BlogController::class)->middleware('blog.visibility')->group(function () {
- Route::get('/blog-like', 'blog_like')->name('blog.like');
- });
-
- // blog comment
- Route::controller(BlogCommentController::class)->middleware('blog.visibility')->group(function () {
- Route::post('/blog/comment/store', 'store')->name('blog.comment.store');
- Route::get('/blog/comment/delete/{id}', 'delete')->name('blog.comment.delete');
- Route::post('/blog/comment/update/{id}', 'update')->name('blog.comment.update');
- });
-
- // message
- Route::controller(MessageController::class)->group(function () {
- Route::get('/message', 'index')->name('message');
- Route::post('/message/store', 'store')->name('message.store');
- Route::get('/message/fetch', 'fetch_message')->name('message.fetch');
- Route::post('/message/search/student', 'search_student')->name('search.student');
- Route::get('/message/inbox/{user_id}', 'inbox')->name('message.inbox');
- });
-
- // become instructor
- Route::controller(BecomeInstructorController::class)->group(function () {
- Route::get('/become-an-instructor', 'index')->name('become.instructor');
- Route::post('/become-an-instructor/store', 'store')->name('become.instructor.store');
- });
-
- // live class
- Route::controller(LiveClassController::class)->group(function () {
- Route::get('live-class/join/{id}', 'live_class_join')->name('live.class.join');
- });
-
- // my bootcamp routes
- Route::controller(MyBootcampsController::class)->group(function () {
- Route::get('my-bootcamps/', 'index')->name('my.bootcamps');
- Route::get('my-bootcamps/details/{slug?}', 'show')->name('my.bootcamp.details');
- Route::get('my-bootcamps/invoice/{id}', 'invoice')->name('my.bootcamp.invoice');
- Route::get('bootcamp/live/class/join/{topic}', 'join_class')->name('bootcamp.live.class.join');
- Route::get('bootcamp/resource/download/{id}', 'download')->name('bootcamp.resource.download');
- Route::get('bootcamp/resource/play/{file}', 'play')->name('bootcamp.resource.play');
- });
-
- // purchase bootcamp routes
- Route::controller(BootcampPurchaseController::class)->group(function () {
- Route::get('purchase/bootcamp/{id}', 'purchase')->name('purchase.bootcamp');
- Route::get('bootcamp/purchase/history', 'purchase_history')->name('bootcamp.purchase.history');
- Route::get('bootcamp/invoice/{id}', 'invoice')->name('bootcamp.invoice');
- });
-
- // my team packages
- Route::controller(MyTeamPackageController::class)->group(function () {
- Route::get('my-team-packages/', 'index')->name('my.team.packages');
- Route::get('my-team-packages/details/{slug}', 'show')->name('my.team.packages.details')
- ->middleware('record.exists:team_training_packages,slug');
- Route::get('my-team-packages/search/members/{package_id?}', 'search_members')->name('search.package.members');
- Route::get('my-team-packages/{action}/members', 'member_action')->name('my.team.packages.members.action');
- Route::get('purchase/team-package/{id}', 'purchase')->name('purchase.team.package');
- Route::get('my-team-packages/invoice/{id}', 'invoice')->name('team.package.invoice')
- ->middleware('record.exists:team_package_purchases,id');
- });
-
- // tutor booking
- Route::controller(TutorBookingController::class)->group(function () {
- Route::get('my-bookings', 'my_bookings')->name('my_bookings');
- Route::get('booking-invoice/{id}', 'booking_invoice')->name('booking_invoice');
- Route::get('purchase/schedule/{id}', 'purchase')->name('purchase_schedule');
- Route::get('my-bookings/tution-class/join/{booking_id}', 'join_class')->name('tution_class.join');
-
- Route::post('tutor-review', 'tutor_review')->name('tutor_review');
- });
-
-});
-
-//Certificate download
-Route::get('certificate/{identifier}', [HomeController::class, 'download_certificate'])->name('certificate');
-
-// offline payment
-Route::post('payment/offline/store', [OfflinePaymentController::class, 'store'])->name('payment.offline.store');
diff --git a/upload/update_1.6/step1_pre_checker.php b/upload/update_1.6/step1_pre_checker.php
deleted file mode 100644
index e69de29..0000000
diff --git a/upload/update_1.6/step2_config.json b/upload/update_1.6/step2_config.json
deleted file mode 100644
index 3bb9d71..0000000
--- a/upload/update_1.6/step2_config.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "is_addon": "0",
- "product_version": {
- "minimum_required_version": "1.5.1",
- "update_version": "1.6"
- }
-}
\ No newline at end of file
diff --git a/upload/update_1.6/step3_database.sql b/upload/update_1.6/step3_database.sql
deleted file mode 100644
index f66a2ae..0000000
--- a/upload/update_1.6/step3_database.sql
+++ /dev/null
@@ -1,89 +0,0 @@
--- phpMyAdmin SQL Dump
--- version 5.2.0
--- https://www.phpmyadmin.net/
---
--- Host: 127.0.0.1
--- Generation Time: Mar 22, 2025 at 09:49 AM
--- Server version: 10.4.27-MariaDB
--- PHP Version: 8.2.12
-
-SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
-START TRANSACTION;
-SET time_zone = "+00:00";
-
-
-/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
-/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
-/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
-/*!40101 SET NAMES utf8mb4 */;
-
---
--- Database: `academy_laravel`
---
-
--- --------------------------------------------------------
-
---
--- Table structure for table `knowledge_bases`
---
-
-DROP TABLE IF EXISTS `knowledge_bases`;
-CREATE TABLE `knowledge_bases` (
- `id` int(11) NOT NULL,
- `title` varchar(255) DEFAULT NULL,
- `created_at` timestamp NULL DEFAULT current_timestamp(),
- `updated_at` timestamp NULL DEFAULT current_timestamp()
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `knowledge_base_topicks`
---
-
-DROP TABLE IF EXISTS `knowledge_base_topicks`;
-CREATE TABLE `knowledge_base_topicks` (
- `id` int(11) NOT NULL,
- `knowledge_base_id` bigint(20) DEFAULT NULL,
- `topic_name` varchar(255) DEFAULT NULL,
- `description` text DEFAULT NULL,
- `created_at` timestamp NULL DEFAULT current_timestamp(),
- `updated_at` timestamp NULL DEFAULT current_timestamp()
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-
---
--- Indexes for dumped tables
---
-
---
--- Indexes for table `knowledge_bases`
---
-ALTER TABLE `knowledge_bases`
- ADD PRIMARY KEY (`id`);
-
---
--- Indexes for table `knowledge_base_topicks`
---
-ALTER TABLE `knowledge_base_topicks`
- ADD PRIMARY KEY (`id`);
-
---
--- AUTO_INCREMENT for dumped tables
---
-
---
--- AUTO_INCREMENT for table `knowledge_bases`
---
-ALTER TABLE `knowledge_bases`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
-
---
--- AUTO_INCREMENT for table `knowledge_base_topicks`
---
-ALTER TABLE `knowledge_base_topicks`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
-COMMIT;
-
-/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
-/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
-/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
diff --git a/upload/update_1.6/step4_update_data.php b/upload/update_1.6/step4_update_data.php
deleted file mode 100644
index 4262838..0000000
--- a/upload/update_1.6/step4_update_data.php
+++ /dev/null
@@ -1,109 +0,0 @@
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Support\Facades\DB;
-
-// Check if 'sslcommerz' identifier already exists in the payment_gateways table
-$sslcommerz = DB::table('payment_gateways')->where('identifier', 'sslcommerz')->first();
-if (!$sslcommerz) {
- DB::table('payment_gateways')->insert([
- 'identifier' => 'sslcommerz',
- 'currency' => 'BDT',
- 'title' => 'SSLCommerz',
- 'model_name' => 'Sslcommerz',
- 'description' => null,
- 'keys' => json_encode([
- 'store_key' => 'creatxxxxxxxxxxx',
- 'store_password' => 'creatxxxxxxxx@ssl',
- 'store_live_key' => 'st_live_xxxxxxxxxxxxxxxxxxxxxxxx',
- 'store_live_password' => 'sp_live_xxxxxxxxxxxxxxxxxxxxxxxx',
- 'sslcz_testmode' => 'true',
- 'is_localhost' => 'true',
- 'sslcz_live_testmode' => 'false',
- 'is_live_localhost' => 'false',
- ]),
- 'status' => 1,
- 'test_mode' => 1,
- 'is_addon' => 0,
- 'created_at' => now(),
- 'updated_at' => now(),
- ]);
-}
-
-// Repeat the same logic for the other payment gateways
-
-// Aamarpay
-$aamarpay = DB::table('payment_gateways')->where('identifier', 'aamarpay')->first();
-if (!$aamarpay) {
- DB::table('payment_gateways')->insert([
- 'identifier' => 'aamarpay',
- 'currency' => 'BDT',
- 'title' => 'Aamarpay',
- 'model_name' => 'Aamarpay',
- 'description' => null,
- 'keys' => json_encode([
- 'store_id' => 'xxxxxxxxxxxxx',
- 'signature_key' => 'xxxxxxxxxxxxxxxxxxx',
- 'store_live_id' => 'st_live_xxxxxxxxxxxxxxxxxxxxxxxx',
- 'signature_live_key' => 'si_live_xxxxxxxxxxxxxxxxxxxxxxxx',
- ]),
- 'status' => 1,
- 'test_mode' => 1,
- 'is_addon' => 0,
- 'created_at' => now(),
- 'updated_at' => now(),
- ]);
-}
-
-// Doku
-$doku = DB::table('payment_gateways')->where('identifier', 'doku')->first();
-if (!$doku) {
- DB::table('payment_gateways')->insert([
- 'identifier' => 'doku',
- 'currency' => 'IDR',
- 'title' => 'Doku',
- 'model_name' => 'Doku',
- 'description' => null,
- 'keys' => json_encode([
- 'client_id' => 'BRN-xxxx-xxxxxxxxxxxxx',
- 'secret_test_key' => 'SK-xxxxxxxxxxxxxxxxxxxx',
- 'public_test_key' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
- ]),
- 'status' => 1,
- 'test_mode' => 1,
- 'is_addon' => 0,
- 'created_at' => now(),
- 'updated_at' => now(),
- ]);
-}
-
-// Maxicash
-$maxicash = DB::table('payment_gateways')->where('identifier', 'maxicash')->first();
-if (!$maxicash) {
- DB::table('payment_gateways')->insert([
- 'identifier' => 'maxicash',
- 'currency' => 'USD',
- 'title' => 'Maxicash',
- 'model_name' => 'Maxicash',
- 'description' => null,
- 'keys' => json_encode([
- 'merchant_id' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
- 'merchant_password' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
- 'merchant_live_id' => 'mr_live_xxxxxxxxxxxxxxxxxxxxxxxx',
- 'merchant_live_password' => 'mp_live_xxxxxxxxxxxxxxxxxxxxxxxx',
- ]),
- 'status' => 1,
- 'test_mode' => 1,
- 'is_addon' => 0,
- 'created_at' => now(),
- 'updated_at' => now(),
- ]);
-}
-
-
-// Update blogs -> description collation to utf8mb4_unicode_ci
-if (Schema::hasColumn('blogs', 'description')) {
- DB::statement("ALTER TABLE `blogs`
- CHANGE `description` `description` TEXT
- CHARACTER SET utf8mb4
- COLLATE utf8mb4_unicode_ci");
-}
\ No newline at end of file