diff --git a/app/Http/Controllers/Admin/ServiceController.php b/app/Http/Controllers/Admin/ServiceController.php index d1f47fb..cd5c08b 100644 --- a/app/Http/Controllers/Admin/ServiceController.php +++ b/app/Http/Controllers/Admin/ServiceController.php @@ -76,7 +76,7 @@ class ServiceController extends Controller $service->keywords = \request('keywords'); // $service->icon = \request('icon'); $service->meta_keywords = strip_tags(\request('meta_keywords')); - $service->short_description = strip_tags(\request('short_description')); + $service->short_description = (\request('short_description')); // $service->point_title = \request('point_title'); // $service->description_title = \request('description_title'); $service->status = \request('status'); diff --git a/app/Http/Controllers/Admin/ServiceSectionController.php b/app/Http/Controllers/Admin/ServiceSectionController.php index 9faf8cb..1bfbddf 100644 --- a/app/Http/Controllers/Admin/ServiceSectionController.php +++ b/app/Http/Controllers/Admin/ServiceSectionController.php @@ -73,8 +73,8 @@ class ServiceSectionController extends Controller $service_section->title = \request('title'); $service_section->sub_title = \request('sub_title'); - $service_section->description = strip_tags(\request('description')); - $service_section->sub_description = strip_tags(\request('sub_description')); + $service_section->description = (\request('description')); + $service_section->sub_description = (\request('sub_description')); $service_section->service_id = $id; $service_section->status = \request('status'); $service_section->order_by = \request('order_by'); @@ -186,8 +186,8 @@ class ServiceSectionController extends Controller $service_section = ServiceSection::findOrFail($secId); $service_section->title = \request('title'); $service_section->sub_title = \request('sub_title'); - $service_section->description = strip_tags(\request('description')); - $service_section->sub_description = strip_tags(\request('sub_description')); + $service_section->description = (\request('description')); + $service_section->sub_description = (\request('sub_description')); $service_section->service_id = $id; $service_section->status = \request('status'); $service_section->order_by = \request('order_by'); diff --git a/app/Http/Controllers/StudyAbroadController.php b/app/Http/Controllers/StudyAbroadController.php new file mode 100644 index 0000000..4202210 --- /dev/null +++ b/app/Http/Controllers/StudyAbroadController.php @@ -0,0 +1,14 @@ +get(); + return view('study-abroad',compact('services')); + } +} diff --git a/public/images/service/2023/01/23/19f19c14a67dee0143c69de217a486bb.png b/public/images/service/2023/01/23/19f19c14a67dee0143c69de217a486bb.png new file mode 100644 index 0000000..bc5e54b Binary files /dev/null and b/public/images/service/2023/01/23/19f19c14a67dee0143c69de217a486bb.png differ diff --git a/public/images/service/2023/01/23/3f48d57f2b867596704071e96e5852ac.png b/public/images/service/2023/01/23/3f48d57f2b867596704071e96e5852ac.png new file mode 100644 index 0000000..ddb0505 Binary files /dev/null and b/public/images/service/2023/01/23/3f48d57f2b867596704071e96e5852ac.png differ diff --git a/public/images/service/2023/01/23/6f2034ed3d72cd4c1557e41027672448.png b/public/images/service/2023/01/23/6f2034ed3d72cd4c1557e41027672448.png new file mode 100644 index 0000000..ddb0505 Binary files /dev/null and b/public/images/service/2023/01/23/6f2034ed3d72cd4c1557e41027672448.png differ diff --git a/public/images/service/2023/01/23/bf3a8fcd05d8721ac31c4c80e0996308.png b/public/images/service/2023/01/23/bf3a8fcd05d8721ac31c4c80e0996308.png new file mode 100644 index 0000000..b473b05 Binary files /dev/null and b/public/images/service/2023/01/23/bf3a8fcd05d8721ac31c4c80e0996308.png differ diff --git a/public/images/service/2023/01/23/dcc159dbc890c57052856338f6c6d8ea.png b/public/images/service/2023/01/23/dcc159dbc890c57052856338f6c6d8ea.png new file mode 100644 index 0000000..ddb0505 Binary files /dev/null and b/public/images/service/2023/01/23/dcc159dbc890c57052856338f6c6d8ea.png differ diff --git a/public/images/visa_service/2023/01/23/63638b52aa4d9cad02ccef19d4601e8d.png b/public/images/visa_service/2023/01/23/63638b52aa4d9cad02ccef19d4601e8d.png new file mode 100644 index 0000000..b65bcea Binary files /dev/null and b/public/images/visa_service/2023/01/23/63638b52aa4d9cad02ccef19d4601e8d.png differ diff --git a/public/images/visa_service/2023/01/23/75e38195942c186526fecdcb46bce904.jpeg b/public/images/visa_service/2023/01/23/75e38195942c186526fecdcb46bce904.jpeg new file mode 100644 index 0000000..c34f1fd Binary files /dev/null and b/public/images/visa_service/2023/01/23/75e38195942c186526fecdcb46bce904.jpeg differ diff --git a/resources/views/admin/service_section/index.blade.php b/resources/views/admin/service_section/index.blade.php index 5c011c7..9647c92 100644 --- a/resources/views/admin/service_section/index.blade.php +++ b/resources/views/admin/service_section/index.blade.php @@ -74,7 +74,7 @@ Image not available @endif - {{$section->description}} + {!!$section->description!!} {{$section->order_by}} {{config('custom.status')[$section->status]}} diff --git a/resources/views/admin/setting/index.blade.php b/resources/views/admin/setting/index.blade.php index 81bb9cc..e67b868 100644 --- a/resources/views/admin/setting/index.blade.php +++ b/resources/views/admin/setting/index.blade.php @@ -71,7 +71,7 @@ @if($setting->type == array_search('Image',config('custom.setting_types'))) - + @else diff --git a/routes/web.php b/routes/web.php index a6a2c4a..ba66139 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,6 +13,7 @@ use App\Http\Controllers\Admin\ContactUsController; use App\Http\Controllers\Admin\EnrollmentController; use App\Http\Controllers\Admin\GalleryController; use App\Http\Controllers\HomeController; +use App\Http\Controllers\StudyAbroadController; use App\Http\Controllers\Admin\HomeController as HomeAdminController; use App\Http\Controllers\Admin\SliderController; use App\Http\Controllers\Admin\PartnerController; @@ -48,6 +49,12 @@ Route::get('/', [HomeController::class,'index'])->name('home.index'); Route::get('login', [HomeAdminController::class,'getLogin'])->name('login'); Route::post('login', [HomeAdminController::class,'postLogin']); + +Route::get('study-abroad', [StudyAbroadController::class,'study_abroad']); +Route::get('/study-abroad-detail', function () { + return view('study-abroad-detail'); +}); + Route::group(['middleware'=>['auth']],function (){ //routes for admin Route::group(['prefix'=>'admin'],function (){ @@ -255,11 +262,6 @@ Route::group(['middleware'=>['auth']],function (){ }); }); -Route::get('/study-abroad', function () { - return view('study-abroad'); -}); -Route::get('/study-abroad-detail', function () { - return view('study-abroad-detail'); -}); +