Файловый менеджер - Редактировать - /home/sibcards/public_html/Modules/LandingPage/Routes/401133/Controllers.tar
Назад
LandingPageController.php 0000644 00000003747 15033136215 0011504 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class LandingPageController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { return view('landingpage::landingpage.topbar'); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { $data = [ "topbar_status" => $request->topbar_status ? $request->topbar_status : "off", "topbar_notification_msg" => $request->topbar_notification_msg, ]; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Topbar setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } } .gitkeep 0000644 00000000000 15033136215 0006162 0 ustar 00 ScreenshotsController.php 0000644 00000012147 15033136215 0011625 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class ScreenshotsController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $screenshots = json_decode($settings['screenshots'], true) ?? []; return view('landingpage::landingpage.screenshots.index',compact('settings','screenshots')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::landingpage.screenshots.create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->screenshots_status){ $screenshots_status = 'on'; }else{ $screenshots_status = 'off'; } $data['screenshots_status']= $screenshots_status; $data['screenshots_heading']= $request->screenshots_heading; $data['screenshots_description']= $request->screenshots_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::landingpage.screenshots.show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::landingpage.screenshots.edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } public function screenshots_create(){ $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.screenshots.create'); } public function screenshots_store(Request $request){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['screenshots'], true); if( $request->screenshots){ $screenshots = time()."-screenshots." . $request->screenshots->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'screenshots',$screenshots,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $datas['screenshots'] = $screenshots; } $datas['screenshots_heading']= $request->screenshots_heading; $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'screenshots'],['value' => $data]); return redirect()->back()->with(['success'=> 'screenshots add successfully']); } public function screenshots_edit($key){ $settings = LandingPageSetting::settings(); $screenshots = json_decode($settings['screenshots'], true); $screenshot = $screenshots[$key]; return view('landingpage::landingpage.screenshots.edit', compact('screenshot','key')); } public function screenshots_update(Request $request, $key){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['screenshots'], true); if( $request->screenshots){ $screenshots = time()."-screenshots." . $request->screenshots->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'screenshots',$screenshots,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data[$key]['screenshots'] = $screenshots; } $data[$key]['screenshots_heading'] = $request->screenshots_heading; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'screenshots'],['value' => $data]); return redirect()->back()->with(['success'=> 'Screenshots update successfully']); } public function screenshots_delete($key){ $settings = LandingPageSetting::settings(); $pages = json_decode($settings['screenshots'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'screenshots'],['value' => $pages]); return redirect()->back()->with(['success'=> 'Screenshots delete successfully']); } } DiscoverController.php 0000644 00000012665 15033136215 0011110 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class DiscoverController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $discover_of_features = json_decode($settings['discover_of_features'], true) ?? []; return view('landingpage::landingpage.discover.index',compact('settings','discover_of_features')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::landingpage.discover.create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->discover_status){ $discover_status = 'on'; }else{ $discover_status = 'off'; } $data['discover_status']= $discover_status; $data['discover_heading']= $request->discover_heading; $data['discover_description']= $request->discover_description; $data['discover_live_demo_link']= $request->discover_live_demo_link; $data['discover_buy_now_link']= $request->discover_buy_now_link; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::landingpage.discover.show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::landingpage.discover.edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } public function discover_create(){ $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.discover.create'); } public function discover_store(Request $request){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['discover_of_features'], true); if( $request->discover_logo){ $discover_logo = time()."-discover_logo." . $request->discover_logo->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'discover_logo',$discover_logo,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $datas['discover_logo'] = $discover_logo; } $datas['discover_heading']= $request->discover_heading; $datas['discover_description']= $request->discover_description; $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'discover_of_features'],['value' => $data]); return redirect()->back()->with(['success'=> 'Discover add successfully']); } public function discover_edit($key){ $settings = LandingPageSetting::settings(); $discovers = json_decode($settings['discover_of_features'], true); $discover = $discovers[$key]; return view('landingpage::landingpage.discover.edit', compact('discover','key')); } public function discover_update(Request $request, $key){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['discover_of_features'], true); if( $request->discover_logo){ $discover_logo = time()."-discover_logo." . $request->discover_logo->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'discover_logo',$discover_logo,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data[$key]['discover_logo'] = $discover_logo; } $data[$key]['discover_heading'] = $request->discover_heading; $data[$key]['discover_description'] = $request->discover_description; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'discover_of_features'],['value' => $data]); return redirect()->back()->with(['success'=> 'Discover update successfully']); } public function discover_delete($key) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['discover_of_features'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'discover_of_features'],['value' => $pages]); return redirect()->back()->with(['success'=> 'Discover delete successfully']); } } error_log 0000644 00000007722 15033136215 0006470 0 ustar 00 [07-Jul-2025 12:50:21 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/HomeController.php:11 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/HomeController.php on line 11 [07-Jul-2025 12:50:21 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/FeaturesController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/FeaturesController.php on line 10 [07-Jul-2025 12:51:09 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/ScreenshotsController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/ScreenshotsController.php on line 10 [07-Jul-2025 12:51:09 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/CustomPageController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/CustomPageController.php on line 10 [07-Jul-2025 12:52:05 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/JoinUsController.php:13 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/JoinUsController.php on line 13 [07-Jul-2025 12:52:15 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/DiscoverController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/DiscoverController.php on line 10 [07-Jul-2025 12:52:51 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/FaqController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/FaqController.php on line 10 [07-Jul-2025 12:53:01 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/TestimonialsController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/TestimonialsController.php on line 10 [07-Jul-2025 12:53:37 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/LandingPageController.php:11 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/LandingPageController.php on line 11 [07-Jul-2025 12:53:42 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/BusinessCampaignController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/BusinessCampaignController.php on line 10 [07-Jul-2025 12:54:27 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/MarketplaceController.php:33 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/MarketplaceController.php on line 33 [07-Jul-2025 12:54:42 UTC] PHP Fatal error: Uncaught Error: Class "Illuminate\Routing\Controller" not found in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/PricingPlanController.php:10 Stack trace: #0 {main} thrown in /home/sibcards/public_html/Modules/LandingPage/Http/Controllers/PricingPlanController.php on line 10 FeaturesController.php 0000644 00000023244 15033136215 0011103 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class FeaturesController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $feature_of_features = json_decode($settings['feature_of_features'], true) ?? []; $other_features = json_decode($settings['other_features'], true) ?? []; return view('landingpage::landingpage.features.index', compact('settings','feature_of_features','other_features')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->feature_status){ $feature_status = 'on'; }else{ $feature_status = 'off'; } $data['feature_status']= $feature_status; $data['feature_title']= $request->feature_title; $data['feature_heading']= $request->feature_heading; $data['feature_description']= $request->feature_description; $data['feature_buy_now_link']= $request->feature_buy_now_link; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } public function feature_create(){ $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.features.create'); } public function feature_store(Request $request){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['feature_of_features'], true); if( $request->feature_logo){ $feature_logo = time()."-feature_logo." . $request->feature_logo->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'feature_logo',$feature_logo,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $datas['feature_logo'] = $feature_logo; } $datas['feature_heading']= $request->feature_heading; $datas['feature_description']= $request->feature_description; $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'feature_of_features'],['value' => $data]); return redirect()->back()->with(['success'=> 'Feature add successfully']); } public function feature_edit($key){ $settings = LandingPageSetting::settings(); $features = json_decode($settings['feature_of_features'], true); $feature = $features[$key]; return view('landingpage::landingpage.features.edit', compact('feature','key')); } public function feature_update(Request $request, $key){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['feature_of_features'], true); if( $request->feature_logo){ $feature_logo = time()."-feature_logo." . $request->feature_logo->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'feature_logo',$feature_logo,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data[$key]['feature_logo'] = $feature_logo; } $data[$key]['feature_heading'] = $request->feature_heading; $data[$key]['feature_description'] = $request->feature_description; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'feature_of_features'],['value' => $data]); return redirect()->back()->with(['success'=> 'Feature update successfully']); } public function feature_delete($key){ $settings = LandingPageSetting::settings(); $pages = json_decode($settings['feature_of_features'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'feature_of_features'],['value' => $pages]); return redirect()->back()->with(['success'=> 'Feature delete successfully']); } public function feature_highlight_create(Request $request){ if( $request->highlight_feature_image){ $highlight_feature_image = "highlight_feature_image." . $request->highlight_feature_image->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'highlight_feature_image',$highlight_feature_image,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data['highlight_feature_image'] = $highlight_feature_image; } $data['highlight_feature_heading']= $request->highlight_feature_heading; $data['highlight_feature_description']= $request->highlight_feature_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } public function features_create(){ $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.features.features_create'); } public function features_store(Request $request){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['other_features'], true); if( $request->other_features_image){ $other_features_image = time()."-other_features_image." . $request->other_features_image->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'other_features_image',$other_features_image,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $datas['other_features_image'] = $other_features_image; }else{ } $datas['other_features_heading']= $request->other_features_heading; $datas['other_featured_description']= $request->other_featured_description; $datas['other_feature_buy_now_link']= $request->other_feature_buy_now_link; $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'other_features'],['value' => $data]); return redirect()->back()->with(['success'=> 'Feature add successfully']); } public function features_edit($key){ $settings = LandingPageSetting::settings(); $other_features = json_decode($settings['other_features'], true); $other_features = $other_features[$key]; return view('landingpage::landingpage.features.features_edit', compact('other_features','key')); } public function features_update(Request $request, $key){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['other_features'], true); if( $request->other_features_image){ $other_features_image = time()."-other_features_image." . $request->other_features_image->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'other_features_image',$other_features_image,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data[$key]['other_features_image'] = $other_features_image; } $data[$key]['other_features_heading']= $request->other_features_heading; $data[$key]['other_featured_description']= $request->other_featured_description; $data[$key]['other_feature_buy_now_link']= $request->other_feature_buy_now_link; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'other_features'],['value' => $data]); return redirect()->back()->with(['success'=> 'Feature update successfully']); } public function features_delete($key){ $settings = LandingPageSetting::settings(); $pages = json_decode($settings['other_features'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'other_features'],['value' => $pages]); return redirect()->back()->with(['success'=> 'Features delete successfully']); } } FaqController.php 0000644 00000007702 15033136215 0010035 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class FaqController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $faqs = json_decode($settings['faqs'], true) ?? []; return view('landingpage::landingpage.faq.index', compact('settings','faqs')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->faq_status){ $faq_status = 'on'; }else{ $faq_status = 'off'; } $data['faq_status']= $faq_status; $data['faq_title']= $request->faq_title; $data['faq_heading']= $request->faq_heading; $data['faq_description']= $request->faq_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } public function faq_create(){ $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.faq.create'); } public function faq_store(Request $request){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['faqs'], true); $datas['faq_questions']= $request->faq_questions; $datas['faq_answer']= $request->faq_answer; $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'faqs'],['value' => $data]); return redirect()->back()->with(['success'=> 'Faq add successfully']); } public function faq_edit($key){ $settings = LandingPageSetting::settings(); $faqs = json_decode($settings['faqs'], true); $faq = $faqs[$key]; return view('landingpage::landingpage.faq.edit', compact('faq','key')); } public function faq_update(Request $request, $key){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['faqs'], true); $data[$key]['faq_questions'] = $request->faq_questions; $data[$key]['faq_answer'] = $request->faq_answer; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'faqs'],['value' => $data]); return redirect()->back()->with(['success'=> 'FAQ update successfully']); } public function faq_delete($key) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['faqs'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'faqs'],['value' => $pages]); return redirect()->back()->with(['success'=> 'Discover delete successfully']); } } PricingPlanController.php 0000644 00000004270 15033136215 0011531 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class PricingPlanController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.pricing_plan', compact('settings')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->plan_status){ $plan_status = 'on'; }else{ $plan_status = 'off'; } $data['plan_status']=$plan_status; $data['plan_title']= $request->plan_title; $data['plan_heading']= $request->plan_heading; $data['plan_description']= $request->plan_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Plan update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } } MarketplaceController.php 0000644 00000021156 15033136215 0011555 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use App\Models\Business; use App\Models\BusinessCategory; use App\Models\LandingPageSection; use App\Models\Plan; use App\Models\Utility; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use DB; use App\Models\CardAppinfo; use App\Models\CardPayment; use App\Models\Product; use App\Models\business_hours; use App\Models\appoinment; use App\Models\service; use App\Models\social; use App\Models\User; use App\Models\ContactInfo; use App\Models\testimonial; use Illuminate\Support\Facades\Auth; use App\Models\Gallery; use App\Models\PixelFields; use App\Models\Businessqr; use Carbon\Carbon; use App\Models\Campaigns; class MarketplaceController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index(Request $request) { // Initialize query for businesses $businessQuery = Business::query(); if ($request->orderby == 'popularity') { // Join the 'visitor' table to count visits using the slug $businessQuery->leftJoin('visitor', 'businesses.slug', '=', 'visitor.slug') ->select('businesses.*', DB::raw('COUNT(visitor.id) as visit_count')) ->groupBy('businesses.id') ->orderBy('visit_count', 'desc'); } elseif ($request->orderby == 'latest') { $businessQuery->orderBy('created_at', 'desc'); } else { $businessQuery->orderBy('created_at', 'asc'); } $businessDetail = $businessQuery->get(); $businessCounts = Business::select('business_category', DB::raw('COUNT(*) as count')) ->groupBy('business_category') ->get(); $categoryData = BusinessCategory::get(); $categoryData = $categoryData->map(function ($category) use ($businessCounts) { $category->count = $businessCounts->where('business_category', $category->id)->first()->count ?? 0; return $category; }); $categoryList = BusinessCategory::get()->pluck('name', 'id'); return view('landingpage::marketplace.index', compact('categoryData', 'businessDetail', 'categoryList')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { // } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } public function search(Request $request) { $query = $request->input('search-business'); $selectedCategory = $request->input('category'); // Create a query builder instance $businessQuery = Business::query(); // Apply filters based on the search-business and category if ($query) { $businessQuery->where('title', 'like', "%$query%"); } if ($selectedCategory) { $businessQuery->where('business_category', $selectedCategory); } $businessDetail = $businessQuery->get(); // Count businesses in each category for displaying in the view $businessCounts = Business::select('business_category', DB::raw('COUNT(*) as count')) ->groupBy('business_category') ->get(); // Fetch and map category data with counts $categoryData = BusinessCategory::get(); $categoryData = $categoryData->map(function ($category) use ($businessCounts) { $category->count = $businessCounts->where('business_category', $category->id)->first()->count ?? 0; return $category; }); $categoryList = BusinessCategory::get()->pluck('name', 'id'); return view('landingpage::marketplace.index', compact('businessDetail', 'categoryData', 'selectedCategory', 'categoryList')); } public function landingHome(Request $request) { if (!file_exists(storage_path() . "/installed")) { header('location:install'); die; } else { if (\Auth::check()) { return redirect('/home'); } else { $settings = Utility::settings(); if ($settings['display_landing_page'] == 'on' && \Schema::hasTable('landing_page_settings')) { $plans = Plan::get(); $get_section = LandingPageSection::orderBy('section_order', 'ASC')->get(); $campaignsData = Campaigns::with('category', 'users')->get(); $currentDate = now(); $businessesForName=''; // Initialize an array to store business IDs $allBusinessIds = []; foreach ($campaignsData as $campaign) { if ($currentDate->greaterThanOrEqualTo($campaign->end_date)) { $campaign->status = 2; $campaign->save(); } if (!empty($campaign->business)) { $businessIds = explode(',', $campaign->business); $allBusinessIds = array_merge($allBusinessIds, $businessIds); } } $uniqueBusinessIds = array_unique(array_filter($allBusinessIds)); $businessTitlesQuery = Business::whereIn('businesses.id', $uniqueBusinessIds)->select('businesses.id', 'businesses.title', 'businesses.slug'); $orderby = $request->get('orderby', 'latest'); if ($orderby == 'popularity') { $businessTitlesQuery->leftJoin('visitor', 'businesses.slug', '=', 'visitor.slug') ->selectRaw('businesses.*, COUNT(visitor.id) as visit_count') ->groupBy('businesses.id', 'businesses.title', 'businesses.slug') ->orderBy('visit_count', 'desc'); } // Execute the query and get the results $businessTitles = $businessTitlesQuery->get()->keyBy('id'); // Group campaigns by name and map businesses $campaignsByName = $campaignsData->groupBy('name'); $businessesForName = []; foreach ($campaignsByName as $name => $campaigns) { $businessIds = $campaigns->flatMap(function ($campaign) { return explode(',', $campaign->business); })->unique()->toArray(); $businessesForName[$name] = $businessTitles->only($businessIds); } return view('landingpage::layouts.landingpage', compact('plans', 'get_section', 'businessesForName', 'campaignsByName')); } else { return redirect()->route('login'); } } } } public function share($slug) { $businessDetail = Business::where('slug', $slug)->first(); return view('landingpage::marketplace.share_business', compact('businessDetail')); } public function cardView($slug) { $business = Business::where('slug', $slug)->first(); return view('landingpage::marketplace.view_business', compact('business')); } public function contactData($id) { $contactDetail = ContactInfo::where('business_id', $id)->first(); $contactinfo_content = []; if (!empty($contactDetail->content)) { $contactinfo_content = json_decode($contactDetail->content); } return view('landingpage::marketplace.contact_view', compact('contactDetail', 'contactinfo_content')); } } BusinessCampaignController.php 0000644 00000005635 15033136215 0012564 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class BusinessCampaignController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $business_campaign = json_decode($settings['business_campaign'], true) ?? []; return view('landingpage::landingpage.business_campaign.index',compact('settings','business_campaign')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->business_campaign){ $business_campaign = 'on'; $validator = \Validator::make( $request->all(), [ 'business_campaign_type' => 'required|in:latest,most_popular', ] ); if ($validator->fails()) { $messages = $validator->getMessageBag(); return redirect()->back()->with('error', $messages->first()); } }else{ $business_campaign = 'off'; } $data['business_campaign']=$business_campaign; $data['business_campaign_title']= $request->business_campaign_title; $data['business_campaign_heading']= $request->business_campaign_heading; $data['business_campaign_description']= $request->business_campaign_description; $data['business_campaign_type']= $request->business_campaign_type; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Business Campaign update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } } JoinUsController.php 0000644 00000006573 15033136215 0010542 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; use Modules\LandingPage\Entities\JoinUs; use Illuminate\Support\Facades\Mail; class JoinUsController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $join_us = JoinUs::get(); return view('landingpage::landingpage.joinus', compact('join_us')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->joinus_status){ $joinus_status = 'on'; }else{ $joinus_status = 'off'; } $data['joinus_status']= $joinus_status; $data['joinus_heading']= $request->joinus_heading; $data['joinus_description']= $request->joinus_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::landingpage.joinus'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::landingpage.joinus'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { $join = JoinUs::find($id); $join->delete(); return redirect()->back()->with(['success'=> 'Join Us delete successfully']); } public function joinUsUserStore(Request $request){ $validator = \Validator::make( $request->all(), [ 'email' => 'required|email|unique:join_us', ] ); if ($validator->fails()) { $messages = $validator->getMessageBag(); return redirect()->back()->with('error', $messages->first()); } $join = new JoinUs; $join->email = $request->email; if($join->save()) { Mail::send([], [], function($message) use ($request) { $message->from('subscriptions@sibcards.com', 'SIBCards'); $message->to($request->email); $message->subject('Subscriptions'); $message->html('Thank you for subscribing to SIBCards!'); // Set the body content here $message->text('Plain Text'); }); return redirect()->back()->with(['success'=> 'You are joined with our community']); } } } HomeController.php 0000644 00000007436 15033136215 0010222 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use App\Models\Utility; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class HomeController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.homesection', compact('settings')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { $uploadedFiles = $request->all(); if( $request->home_banner){ $home_banner = "home_banner." . $request->home_banner->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'home_banner',$home_banner,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data['home_banner'] = $home_banner; } $temp_logo=explode(",",$request->savedlogo); $stored_home_logo = LandingPageSetting::settings()['home_logo']; $home_logo = array_intersect($temp_logo, explode(",",$stored_home_logo)); if($request->home_logo){ $files = $request->home_logo; foreach($files as $key =>$file){ $file_data = $file['home_logo']; $file_name = md5(time()) . "_" . $file_data->getClientOriginalName(); $dir = 'uploads/landing_page_image/'; $path = LandingPageSetting::keyWiseUpload_file($request,'home_logo',$file_name,$dir,$key,[]); if($path['flag'] == 1){ $url = $path['url']; $home_logo[]=$url; }else{ return redirect()->back()->with('error', __($path['msg'])); } } } $data['home_logo'] =implode(",",array_filter($home_logo)); $data['home_status']= 'on'; $data['home_offer_text']= $request->home_offer_text; $data['home_title']= $request->home_title; $data['home_heading']= $request->home_heading; $data['home_description']= $request->home_description; $data['home_trusted_by']= $request->home_trusted_by; $data['home_live_demo_link']= $request->home_live_demo_link; $data['home_buy_now_link']= $request->home_buy_now_link; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } } CustomPageController.php 0000644 00000013731 15033136215 0011374 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class CustomPageController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); return view('landingpage::landingpage.menubar.index', compact('pages', 'settings')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::landingpage.menubar.create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { $settings = LandingPageSetting::settings(); $data = json_decode($settings['menubar_page'], true); $page_slug = str_replace(' ', '_', strtolower($request->menubar_page_name)); $datas['template_name'] = $request->template_name; $datas['menubar_page_name'] = $request->menubar_page_name; $datas['page_slug'] = $page_slug; if($request->header){ $datas['header'] = 'on'; }else{ $datas['header'] = 'off'; } if($request->footer){ $datas['footer'] = 'on'; }else{ $datas['footer'] = 'off'; } if (isset($request->template_name) && $request->template_name == 'page_url') { $datas['page_url'] = $request->page_url; $datas['menubar_page_contant'] = ''; } else { $datas['page_url'] = ''; $datas['menubar_page_contant'] = $request->menubar_page_contant; } if($request->login){ $datas['login'] = 'on'; }else{ $datas['login'] = 'off'; } $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'menubar_page'],['value' => $data]); return redirect()->back()->with(['success'=> 'Setting updated successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($key) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); $page = $pages[$key]; return view('landingpage::landingpage.menubar.edit', compact('page', 'key')); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $key) { $settings = LandingPageSetting::settings(); $data = json_decode($settings['menubar_page'], true); $page_slug = str_replace(' ', '_', strtolower($request->menubar_page_name)); $datas['menubar_page_name'] = $request->menubar_page_name; $datas['template_name'] = $request->template_name; $datas['page_slug'] = $page_slug; if($request->header){ $datas['header'] = 'on'; }else{ $datas['header'] = 'off'; } if($request->footer){ $datas['footer'] = 'on'; }else{ $datas['footer'] = 'off'; } if (isset($request->template_name) && $request->template_name == 'page_url') { $datas['page_url'] = $request->page_url; $datas['menubar_page_contant'] = ''; } else { $datas['page_url'] = ''; $datas['menubar_page_contant'] = $request->menubar_page_contant; } if ($request->login) { $datas['login'] = 'on'; } else { $datas['login'] = 'off'; } $data[$key] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'menubar_page'],['value' => $data]); return redirect()->back()->with(['success'=> 'Menu Bar Update successfully']); } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($key) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'menubar_page'],['value' => $pages]); return redirect()->back()->with(['success'=> 'Page deleted successfully']); } public function customStore(Request $request) { if( $request->site_logo){ $site_logo = "site_logo." . $request->site_logo->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'site_logo',$site_logo,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data['site_logo'] = $site_logo; } $data['site_description'] = $request->site_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting updated successfully']); } public function customPage($slug) { $settings = LandingPageSetting::settings(); $pages = json_decode($settings['menubar_page'], true); foreach ($pages as $key => $page) { if($page['page_slug'] == $slug){ return view('landingpage::layouts.custompage', compact('page', 'settings')); } } } } TestimonialsController.php 0000644 00000013704 15033136215 0012000 0 ustar 00 <?php namespace Modules\LandingPage\Http\Controllers; use Illuminate\Contracts\Support\Renderable; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use Modules\LandingPage\Entities\LandingPageSetting; class TestimonialsController extends Controller { /** * Display a listing of the resource. * @return Renderable */ public function index() { $settings = LandingPageSetting::settings(); $testimonials = json_decode($settings['testimonials'], true) ?? []; return view('landingpage::landingpage.testimonials.index',compact('settings','testimonials')); } /** * Show the form for creating a new resource. * @return Renderable */ public function create() { return view('landingpage::landingpage.testimonials.create'); } /** * Store a newly created resource in storage. * @param Request $request * @return Renderable */ public function store(Request $request) { if($request->testimonials_status){ $testimonials_status = 'on'; }else{ $testimonials_status = 'off'; } $data['testimonials_status']= $testimonials_status; $data['testimonials_heading']= $request->testimonials_heading; $data['testimonials_description']= $request->testimonials_description; $data['testimonials_long_description']= $request->testimonials_long_description; foreach($data as $key => $value){ LandingPageSetting::updateOrCreate(['name' => $key],['value' => $value]); } return redirect()->back()->with(['success'=> 'Setting update successfully']); } /** * Show the specified resource. * @param int $id * @return Renderable */ public function show($id) { return view('landingpage::show'); } /** * Show the form for editing the specified resource. * @param int $id * @return Renderable */ public function edit($id) { return view('landingpage::edit'); } /** * Update the specified resource in storage. * @param Request $request * @param int $id * @return Renderable */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * @param int $id * @return Renderable */ public function destroy($id) { // } public function testimonials_create(){ $settings = LandingPageSetting::settings(); return view('landingpage::landingpage.testimonials.create'); } public function testimonials_store(Request $request){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['testimonials'], true); if( $request->testimonials_user_avtar){ $testimonials_user_avtar = time()."-testimonials_user_avtar." . $request->testimonials_user_avtar->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'testimonials_user_avtar',$testimonials_user_avtar,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $datas['testimonials_user_avtar'] = $testimonials_user_avtar; } $datas['testimonials_title']= $request->testimonials_title; $datas['testimonials_description']= $request->testimonials_description; $datas['testimonials_user']= $request->testimonials_user; $datas['testimonials_designation']= $request->testimonials_designation; $datas['testimonials_star']= $request->testimonials_star; $data[] = $datas; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'testimonials'],['value' => $data]); return redirect()->back()->with(['success'=> 'Discover add successfully']); } public function testimonials_edit($key){ $settings = LandingPageSetting::settings(); $testimonials = json_decode($settings['testimonials'], true); $testimonial = $testimonials[$key]; return view('landingpage::landingpage.testimonials.edit', compact('testimonial','key')); } public function testimonials_update(Request $request, $key){ $settings = LandingPageSetting::settings(); $data = json_decode($settings['testimonials'], true); if( $request->testimonials_user_avtar){ $testimonials_user_avtar = time()."-testimonials_user_avtar." . $request->testimonials_user_avtar->getClientOriginalExtension(); $dir = 'uploads/landing_page_image'; $path = LandingPageSetting::upload_file($request,'testimonials_user_avtar',$testimonials_user_avtar,$dir,[]); if($path['flag']==0){ return redirect()->back()->with('error', __($path['msg'])); } $data[$key]['testimonials_user_avtar'] = $testimonials_user_avtar; } $data[$key]['testimonials_title'] = $request->testimonials_title; $data[$key]['testimonials_description'] = $request->testimonials_description; $data[$key]['testimonials_user'] = $request->testimonials_user; $data[$key]['testimonials_designation'] = $request->testimonials_designation; $data[$key]['testimonials_star'] = $request->testimonials_star; $data = json_encode($data); LandingPageSetting::updateOrCreate(['name' => 'testimonials'],['value' => $data]); return redirect()->back()->with(['success'=> 'Testimonial update successfully']); } public function testimonials_delete($key){ $settings = LandingPageSetting::settings(); $pages = json_decode($settings['testimonials'], true); unset($pages[$key]); LandingPageSetting::updateOrCreate(['name' => 'testimonials'],['value' => $pages]); return redirect()->back()->with(['success'=> 'Testimonials delete successfully']); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка