Server IP : 108.163.255.210 / Your IP : 18.222.98.91 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/alpai/routes/ |
Upload File : |
<?php header("Cache-Control: no-cache, must-revalidate"); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE'); header('Access-Control-Allow-Headers: Content-Type, X-Auth-Token, Origin, Authorization'); Route::get('/clear-cache', function () { $exitCode = Artisan::call('cache:clear'); }); Route::get('/key-genrate', function () { $exitCode = Artisan::call('key:generate'); }); Route::group(['prefix' => 'admin'], function () { Route::group(['namespace' => 'Admin'], function () { Route::group(['middleware' => 'admin'], function () { Route::get('/dashboard/{reportBase}', 'AdminController@dashboard'); Route::get('/post', 'AdminController@myPost'); //show admin personal info record Route::get('/adminInfo', 'AdminController@adminInfo'); /* |-------------------------------------------------------------------------- | categories/Product Controller Routes |-------------------------------------------------------------------------- | | This section contains categories/Product Controller Routes | | */ //main listingManufacturer Route::get('/manufacturers', 'AdminManufacturerController@manufacturers'); Route::get('/addmanufacturer', 'AdminManufacturerController@addmanufacturer'); Route::post('/addnewmanufacturer', 'AdminManufacturerController@addnewmanufacturer'); Route::get('/editmanufacturer/{id}', 'AdminManufacturerController@editmanufacturer'); Route::post('/updatemanufacturer', 'AdminManufacturerController@updatemanufacturer'); Route::post('/deletemanufacturer', 'AdminManufacturerController@deletemanufacturer'); //main categories Route::get('/categories', 'AdminCategoriesController@categories'); Route::get('/addcategory', 'AdminCategoriesController@addcategory'); Route::post('/addnewcategory', 'AdminCategoriesController@addnewcategory'); Route::get('/editcategory/{id}', 'AdminCategoriesController@editcategory'); Route::post('/updatecategory', 'AdminCategoriesController@updatecategory'); Route::get('/deletecategory/{id}', 'AdminCategoriesController@deletecategory'); //sub categories Route::get('/subcategories', 'AdminCategoriesController@subcategories'); Route::get('/addsubcategory', 'AdminCategoriesController@addsubcategory'); Route::post('/addnewsubcategory', 'AdminCategoriesController@addnewsubcategory'); Route::get('/editsubcategory/{id}', 'AdminCategoriesController@editsubcategory'); Route::post('/updatesubcategory', 'AdminCategoriesController@updatesubcategory'); Route::get('/deletesubcategory/{id}', 'AdminCategoriesController@deletesubcategory'); Route::post('/getajaxcategories', 'AdminCategoriesController@getajaxcategories'); //main categories Route::get('/maincategories', 'AdminCategoriesController@maincategories'); Route::get('/addmaincategory', 'AdminCategoriesController@addmaincategory'); Route::post('/addnewmaincategory', 'AdminCategoriesController@addnewmaincategory'); Route::get('/editmaincategory/{id}', 'AdminCategoriesController@editmaincategory'); Route::post('/updatemaincategory', 'AdminCategoriesController@updatemaincategory'); Route::get('/deletemaincategory/{id}', 'AdminCategoriesController@deletemaincategory'); //products Route::get('/products', 'AdminProductsController@products'); Route::get('/addproduct', 'AdminProductsController@addproduct'); Route::post('/addnewproduct', 'AdminProductsController@addnewproduct'); //add attribute against newly added product Route::get('/addproductattribute/{id}/', 'AdminProductsController@addproductattribute'); Route::get('/addinventory/{id}/', 'AdminProductsController@addinventory'); Route::post('/currentstock', 'AdminProductsController@currentstock'); Route::post('/addnewstock', 'AdminProductsController@addnewstock'); Route::post('/addminmax', 'AdminProductsController@addminmax'); Route::get('/addproductimages/{id}/', 'AdminProductsController@addproductimages'); Route::post('/addnewdefaultattribute', 'AdminProductsController@addnewdefaultattribute'); Route::post('/addnewproductattribute', 'AdminProductsController@addnewproductattribute'); Route::post('/updateproductattribute', 'AdminProductsController@updateproductattribute'); Route::post('/updatedefaultattribute', 'AdminProductsController@updatedefaultattribute'); Route::post('/deleteproduct', 'AdminProductsController@deleteproduct'); Route::post('/deleteproductattribute', 'AdminProductsController@deleteproductattribute'); Route::post('/addnewproductimage', 'AdminProductsController@addnewproductimage'); Route::post('/deletedefaultattribute', 'AdminProductsController@deletedefaultattribute'); Route::post('editproductattribute', 'AdminProductsController@editproductattribute'); Route::post('editdefaultattribute', 'AdminProductsController@editdefaultattribute'); Route::post('addnewproductimagemodal', 'AdminProductsController@addnewproductimagemodal'); Route::post('deleteproductattributemodal', 'AdminProductsController@deleteproductattributemodal'); Route::post('deletedefaultattributemodal', 'AdminProductsController@deletedefaultattributemodal'); //product attribute Route::post('/addnewproductimage', 'AdminProductsController@addnewproductimage'); Route::post('editproductimage', 'AdminProductsController@editproductimage'); Route::post('/updateproductimage', 'AdminProductsController@updateproductimage'); Route::post('/deleteproductimagemodal', 'AdminProductsController@deleteproductimagemodal'); Route::post('/deleteproductimage', 'AdminProductsController@deleteproductimage'); Route::get('/editproduct/{id}', 'AdminProductsController@editproduct'); Route::post('/updateproduct', 'AdminProductsController@updateproduct'); Route::post('/getOptions', 'AdminProductsController@getOptions'); Route::post('/getOptionsValue', 'AdminProductsController@getOptionsValue'); //Attribute Route::get('/attributes', 'AdminProductsController@attributes'); Route::get('/addoptions', 'AdminProductsController@addoptions'); Route::post('/addnewoptions', 'AdminProductsController@addnewoptions'); // Route::post('/addnewattributes', 'AdminProductsController@addnewattributes'); //Route::get('/editattributes/{id}/{language_id}', 'AdminProductsController@editattributes'); Route::get('/manage-options/{id}', 'AdminProductsController@manageoptions'); Route::get('/edit-values/{id}', 'AdminProductsController@editvalues'); Route::post('/updatevalue', 'AdminProductsController@updatevalue'); Route::post('/addnewvalues', 'AdminProductsController@addnewvalues'); Route::get('/manage-options-values/{id}', 'AdminProductsController@manageoptionsvalues'); Route::post('/updateoptions/', 'AdminProductsController@updateoptions'); Route::post('/deleteattribute', 'AdminProductsController@deleteattribute'); Route::post('/addattributevalue', 'AdminProductsController@addattributevalue'); Route::post('/updateattributevalue', 'AdminProductsController@updateattributevalue'); Route::post('/checkattributeassociate', 'AdminProductsController@checkattributeassociate'); Route::post('/checkvalueassociate', 'AdminProductsController@checkvalueassociate'); Route::post('/deletevalue', 'AdminProductsController@deletevalue'); //manageAppLabel Route::get('/listingAppLabels', 'AdminAppLabelsController@listingAppLabels'); Route::get('/addappkey', 'AdminAppLabelsController@addappkey'); Route::post('/addNewAppLabel', 'AdminAppLabelsController@addNewAppLabel'); Route::get('/editAppLabel/{id}', 'AdminAppLabelsController@editAppLabel'); Route::post('/updateAppLabel/', 'AdminAppLabelsController@updateAppLabel'); Route::get('/applabel', 'AdminAppLabelsController@manageAppLabel'); //customers Route::get('/customers', 'AdminCustomersController@customers'); Route::get('/addcustomers', 'AdminCustomersController@addcustomers'); Route::post('/addnewcustomers', 'AdminCustomersController@addnewcustomers'); //add adddresses against customers Route::get('/addaddress/{id}/', 'AdminCustomersController@addaddress'); Route::post('/addNewCustomerAddress', 'AdminCustomersController@addNewCustomerAddress'); Route::post('/editAddress', 'AdminCustomersController@editAddress'); Route::post('/updateAddress', 'AdminCustomersController@updateAddress'); Route::post('/deleteAddress', 'AdminCustomersController@deleteAddress'); Route::post('/getZones', 'AddressController@getZones'); //edit customer Route::get('/editcustomers/{id}', 'AdminCustomersController@editcustomers'); Route::post('/updatecustomers', 'AdminCustomersController@updatecustomers'); Route::post('/deletecustomers', 'AdminCustomersController@deletecustomers'); //orders Route::get('/orders', 'AdminOrdersController@orders'); Route::get('/vieworder/{id}', 'AdminOrdersController@vieworder'); Route::post('/updateOrder', 'AdminOrdersController@updateOrder'); Route::post('/deleteOrder', 'AdminOrdersController@deleteOrder'); Route::get('/invoiceprint/{id}', 'AdminOrdersController@invoiceprint'); //alert setting Route::get('/alertsetting', 'AdminSiteSettingController@alertSetting'); Route::post('/updateAlertSetting', 'AdminSiteSettingController@updateAlertSetting'); //generate application key Route::get('/generateKey', 'AdminSiteSettingController@generateKey'); //countries Route::get('/countries', 'AdminTaxController@countries'); Route::get('/addcountry', 'AdminTaxController@addcountry'); Route::post('/addnewcountry', 'AdminTaxController@addnewcountry'); Route::get('/editcountry/{id}', 'AdminTaxController@editcountry'); Route::post('/updatecountry', 'AdminTaxController@updatecountry'); Route::post('/deletecountry', 'AdminTaxController@deletecountry'); //zones Route::get('/listingZones', 'AdminTaxController@listingZones'); Route::get('/addZone', 'AdminTaxController@addZone'); Route::post('/addNewZone', 'AdminTaxController@addNewZone'); Route::get('/editZone/{id}', 'AdminTaxController@editZone'); Route::post('/updateZone', 'AdminTaxController@updateZone'); Route::post('/deleteZone', 'AdminTaxController@deleteZone'); //tax class Route::get('/taxclass', 'AdminTaxController@taxclass'); Route::get('/addtaxclass', 'AdminTaxController@addtaxclass'); Route::post('/addnewtaxclass', 'AdminTaxController@addnewtaxclass'); Route::get('/edittaxclass/{id}', 'AdminTaxController@edittaxclass'); Route::post('/updatetaxclass', 'AdminTaxController@updatetaxclass'); Route::post('/deletetaxclass', 'AdminTaxController@deletetaxclass'); //tax rate Route::get('/taxrates', 'AdminTaxController@taxrates'); Route::get('/addtaxrate', 'AdminTaxController@addtaxrate'); Route::post('/addnewtaxrate', 'AdminTaxController@addnewtaxrate'); Route::get('/edittaxrate/{id}', 'AdminTaxController@edittaxrate'); Route::post('/updatetaxrate', 'AdminTaxController@updatetaxrate'); Route::post('/deletetaxrate', 'AdminTaxController@deletetaxrate'); //shipping setting Route::get('/shippingmethods', 'AdminShippingController@shippingmethods'); Route::get('/upsShipping', 'AdminShippingController@upsShipping'); Route::post('/updateupsshipping', 'AdminShippingController@updateupsshipping'); Route::get('/flateRate', 'AdminShippingController@flateRate'); Route::post('/updateflaterate', 'AdminShippingController@updateflaterate'); Route::post('/defaultShippingMethod', 'AdminShippingController@defaultShippingMethod'); Route::get('/shippingDetail/{table_name}', 'AdminShippingController@shippingDetail'); Route::post('/updateShipping', 'AdminShippingController@updateShipping'); Route::get('/shiping_zone', 'AdminShippingController@shiping_zone'); Route::get('/shiping_zone_create', 'AdminShippingController@shiping_zone_create'); Route::post('/shiping_zone_store', 'AdminShippingController@shiping_zone_store'); Route::get('/shiping_zone_edit/{id}', 'AdminShippingController@shiping_zone_edit'); Route::post('/shiping_zone_update/{id}', 'AdminShippingController@shiping_zone_update'); Route::get('/shiping_zone_delete/{id}', 'AdminShippingController@shiping_zone_delete'); Route::post('/states', 'AdminShippingController@statesAjax')->name('auth.job.state'); Route::post('/cities', 'AdminShippingController@cityAjax')->name('auth.job.city'); //shppingbyprice Route::get('/shppingbyweight', 'AdminShippingByWeightController@shppingbyweight'); Route::post('/updateShppingWeightPrice', 'AdminShippingByWeightController@updateShppingWeightPrice'); //Payment setting Route::get('/paymentsetting', 'AdminPaymentController@paymentsetting'); Route::post('/updatePaymentSetting', 'AdminPaymentController@updatePaymentSetting'); //orders Route::get('/orderstatus', 'AdminSiteSettingController@orderstatus'); Route::get('/addorderstatus', 'AdminSiteSettingController@addorderstatus'); Route::post('/addNewOrderStatus', 'AdminSiteSettingController@addNewOrderStatus'); Route::get('/editorderstatus/{id}', 'AdminSiteSettingController@editorderstatus'); Route::post('/updateOrderStatus', 'AdminSiteSettingController@updateOrderStatus'); Route::post('/deleteOrderStatus', 'AdminSiteSettingController@deleteOrderStatus'); //units Route::get('/units', 'AdminSiteSettingController@units'); Route::get('/addunit', 'AdminSiteSettingController@addunit'); Route::post('/addnewunit', 'AdminSiteSettingController@addnewunit'); Route::get('/editunit/{id}', 'AdminSiteSettingController@editunit'); Route::post('/updateunit', 'AdminSiteSettingController@updateunit'); Route::post('/deleteunit', 'AdminSiteSettingController@deleteunit'); //setting page Route::get('/setting', 'AdminSiteSettingController@setting'); Route::post('/updateSetting', 'AdminSiteSettingController@updateSetting'); Route::get('/websettings', 'AdminSiteSettingController@webSettings'); Route::get('/themeSettings', 'AdminSiteSettingController@themeSettings'); Route::get('/appsettings', 'AdminSiteSettingController@appSettings'); Route::get('/admobSettings', 'AdminSiteSettingController@admobSettings'); Route::get('/facebooksettings', 'AdminSiteSettingController@facebookSettings'); Route::get('/googlesettings', 'AdminSiteSettingController@googleSettings'); Route::get('/applicationapi', 'AdminSiteSettingController@applicationApi'); Route::get('/webthemes', 'AdminSiteSettingController@webThemes'); Route::get('/seo', 'AdminSiteSettingController@seo'); Route::get('/customstyle', 'AdminSiteSettingController@customstyle'); Route::post('/updateWebTheme', 'AdminSiteSettingController@updateWebTheme'); Route::get('/mailchimp', 'AdminSiteSettingController@mailchimp'); //pushNotification Route::get('/pushnotification', 'AdminSiteSettingController@pushNotification'); //language setting Route::get('/getlanguages', 'AdminSiteSettingController@getlanguages'); Route::get('/languages', 'AdminSiteSettingController@languages'); Route::post('/defaultlanguage', 'AdminSiteSettingController@defaultlanguage'); Route::get('/addlanguages', 'AdminSiteSettingController@addlanguages'); Route::post('/addnewlanguages', 'AdminSiteSettingController@addnewlanguages'); Route::get('/editlanguages/{id}', 'AdminSiteSettingController@editlanguages'); Route::post('/updatelanguages', 'AdminSiteSettingController@updatelanguages'); Route::post('/deletelanguage', 'AdminSiteSettingController@deletelanguage'); //banners Route::get('/banners', 'AdminBannersController@banners'); Route::get('/addbanner', 'AdminBannersController@addbanner'); Route::post('/addNewBanner', 'AdminBannersController@addNewBanner'); Route::get('/editbanner/{id}', 'AdminBannersController@editbanner'); Route::post('/updateBanner', 'AdminBannersController@updateBanner'); Route::post('/deleteBanner/', 'AdminBannersController@deleteBanner'); //sliders Route::get('/sliders', 'AdminSlidersController@sliders'); Route::get('/addsliderimage', 'AdminSlidersController@addsliderimage'); Route::post('/addNewSlide', 'AdminSlidersController@addNewSlide'); Route::get('/editslide/{id}', 'AdminSlidersController@editslide'); Route::post('/updateSlide', 'AdminSlidersController@updateSlide'); Route::post('/deleteSlider/', 'AdminSlidersController@deleteSlider'); //constant banners Route::get('/constantbanners', 'AdminConstantController@constantBanners'); Route::get('/addconstantbanner', 'AdminConstantController@addconstantBanner'); Route::post('/addNewConstantBanner', 'AdminConstantController@addNewconstantBanner'); Route::get('/editconstantbanner/{id}', 'AdminConstantController@editconstantbanner'); Route::post('/updateconstantBanner', 'AdminConstantController@updateconstantBanner'); Route::post('/deleteconstantBanner/', 'AdminConstantController@deleteconstantBanner'); //profile setting Route::get('/profile', 'AdminController@adminProfile'); Route::post('/updateProfile', 'AdminController@updateProfile'); Route::post('/updateAdminPassword', 'AdminController@updateAdminPassword'); //reports Route::get('/statscustomers', 'AdminReportsController@statsCustomers'); Route::get('/statsproductspurchased', 'AdminReportsController@statsProductsPurchased'); Route::get('/statsproductsliked', 'AdminReportsController@statsProductsLiked'); Route::get('/outofstock', 'AdminReportsController@outofstock'); Route::get('/lowinstock', 'AdminReportsController@lowinstock'); Route::get('/stockin', 'AdminReportsController@stockin'); Route::post('/productSaleReport', 'AdminReportsController@productSaleReport'); //Devices and send notification Route::get('/devices', 'AdminNotificationController@devices'); Route::get('/viewdevices/{id}', 'AdminNotificationController@viewdevices'); Route::post('/notifyUser/', 'AdminNotificationController@notifyUser'); Route::get('/notifications/', 'AdminNotificationController@notifications'); Route::post('/sendNotifications/', 'AdminNotificationController@sendNotifications'); Route::post('/customerNotification/', 'AdminNotificationController@customerNotification'); Route::post('/singleUserNotification/', 'AdminNotificationController@singleUserNotification'); Route::post('/deletedevice/', 'AdminNotificationController@deletedevice'); //coupons Route::get('/coupons', 'AdminCouponsController@coupons'); Route::get('/addcoupons', 'AdminCouponsController@addcoupons'); Route::post('/addnewcoupons', 'AdminCouponsController@addnewcoupons'); Route::get('/editcoupons/{id}', 'AdminCouponsController@editcoupons'); Route::post('/updatecoupons', 'AdminCouponsController@updatecoupons'); Route::post('/deletecoupon', 'AdminCouponsController@deletecoupon'); Route::post('/couponProducts', 'AdminCouponsController@couponProducts'); //news categories Route::get('/newscategories', 'AdminNewsCategoriesController@newscategories'); Route::get('/addnewscategory', 'AdminNewsCategoriesController@addnewscategory'); Route::post('/addnewsnewcategory', 'AdminNewsCategoriesController@addnewsnewcategory'); Route::get('/editnewscategory/{id}', 'AdminNewsCategoriesController@editnewscategory'); Route::post('/updatenewscategory', 'AdminNewsCategoriesController@updatenewscategory'); Route::post('/deletenewscategory', 'AdminNewsCategoriesController@deletenewscategory'); //news Route::get('/news', 'AdminNewsController@news'); Route::get('/addnews', 'AdminNewsController@addnews'); Route::post('/addnewnews', 'AdminNewsController@addnewnews'); Route::get('/editnews/{id}', 'AdminNewsController@editnews'); Route::post('/updatenews', 'AdminNewsController@updatenews'); Route::post('/deletenews', 'AdminNewsController@deletenews'); //app pages controller Route::get('/pages', 'AdminPagesController@pages'); Route::get('/addpage', 'AdminPagesController@addpage'); Route::post('/addnewpage', 'AdminPagesController@addnewpage'); Route::get('/editpage/{id}', 'AdminPagesController@editpage'); Route::post('/updatepage', 'AdminPagesController@updatepage'); Route::get('/pageStatus', 'AdminPagesController@pageStatus'); //site pages controller Route::get('/webpages', 'AdminPagesController@webpages'); Route::get('/addwebpage', 'AdminPagesController@addwebpage'); Route::post('/addnewwebpage', 'AdminPagesController@addnewwebpage'); Route::get('/editwebpage/{id}', 'AdminPagesController@editwebpage'); Route::post('/updatewebpage', 'AdminPagesController@updatewebpage'); Route::get('/pageWebStatus', 'AdminPagesController@pageWebStatus'); //admin managements Route::get('/admins', 'AdminController@admins'); Route::get('/addadmins', 'AdminController@addadmins'); Route::post('/addnewadmin', 'AdminController@addnewadmin'); Route::get('/editadmin/{id}', 'AdminController@editadmin'); Route::post('/updateadmin', 'AdminController@updateadmin'); Route::post('/deleteadmin', 'AdminController@deleteadmin'); //admin managements Route::get('/manageroles', 'AdminController@manageroles'); Route::get('/addadmintype', 'AdminController@addadmintype'); Route::post('/addnewtype', 'AdminController@addnewtype'); Route::get('/editadmintype/{id}', 'AdminController@editadmintype'); Route::post('/updatetype', 'AdminController@updatetype'); Route::post('/deleteadmintype', 'AdminController@deleteadmintype'); Route::get('/addrole/{id}', 'AdminController@addrole'); Route::post('/addnewroles', 'AdminController@addnewroles'); //extra roles Route::get('/categoriesroles', 'AdminController@categoriesRoles'); Route::get('/addcategoriesroles', 'AdminController@addCategoriesRoles'); Route::post('/addnewcategoriesroles', 'AdminController@addNewCategoriesRoles'); Route::get('/editcategoriesroles/{id}', 'AdminController@editCategoriesRoles'); Route::post('/updatecategoriesroles', 'AdminController@updateCategoriesRoles'); Route::get('/deletecategoriesroles/{id}', 'AdminController@deleteCategoriesRoles'); // Lookbooks Route::get('/lookbooks', 'AdminLookbooksController@lookbooks'); Route::get('/addlookbook', 'AdminLookbooksController@addlookbook'); Route::post('/addnewlookbook', 'AdminLookbooksController@addnewlookbook'); Route::get('/editlookbook/{id}', 'AdminLookbooksController@editlookbook'); Route::post('/updatelookbook', 'AdminLookbooksController@updatelookbook'); Route::get('/lookbookStatus', 'AdminLookbooksController@lookbookStatus'); // Testimonials Route::get('/testimonials', 'AdminTestimonialsController@testimonials'); Route::get('/addtestimonial', 'AdminTestimonialsController@addtestimonial'); Route::post('/addnewtestimonial', 'AdminTestimonialsController@addnewtestimonial'); Route::get('/edittestimonial/{id}', 'AdminTestimonialsController@edittestimonial'); Route::post('/updatetestimonial', 'AdminTestimonialsController@updatetestimonial'); Route::get('/testimonialStatus', 'AdminTestimonialsController@testimonialStatus'); // Celebritystyles Route::get('/newarrival', 'AdminCelebritystylesController@celebritystyles'); Route::get('/addnewarrival', 'AdminCelebritystylesController@addcelebritystyle'); Route::post('/addnewnewarrival', 'AdminCelebritystylesController@addnewcelebritystyle'); Route::get('/editnewarrival/{id}', 'AdminCelebritystylesController@editcelebritystyle'); Route::post('/updatenewarrival', 'AdminCelebritystylesController@updatecelebritystyle'); Route::get('/newarrivalStatus', 'AdminCelebritystylesController@celebritystyleStatus'); // Menus Route::get('/menus', 'AdminMenusController@menus'); Route::get('/addmenu', 'AdminMenusController@addmenu'); Route::post('/addnewmenu', 'AdminMenusController@addnewmenu'); Route::get('/editmenu/{id}', 'AdminMenusController@editmenu'); Route::post('/updatemenu', 'AdminMenusController@updatemenu'); Route::get('/menuStatus', 'AdminMenusController@menuStatus'); }); //log in Route::get('/login', 'AdminController@login'); Route::post('/checkLogin', 'AdminController@checkLogin'); //log out Route::get('/logout', 'AdminController@logout'); }); }); /* |-------------------------------------------------------------------------- | front-end Controller Routes |-------------------------------------------------------------------------- | | This section contains all Routes of front-end content | | */ /********* setting themes dynamically *********/ // default setting $routeSetting = DB::table('settings')->get(); Theme::set($routeSetting[48]->value); Route::get('welcome/{locale}', function ($locale) { App::setLocale($locale); print $locale; // }); Route::group(['namespace' => 'Web'], function () { //language route Route::post('/language-chooser', 'WebSettingController@changeLanguage'); Route::post('/language/', array( //'before' => 'csrf', 'as' => 'language-chooser', 'uses' => 'WebSettingController@changeLanguage', )); Route::get('/setStyle', 'DefaultController@setStyle'); Route::get('/settheme', 'DefaultController@settheme'); Route::get('/page', 'DefaultController@page'); Route::post('/subscribeNotification/', 'CustomersController@subscribeNotification'); Route::get('/', 'DefaultController@index'); Route::get('/autocomplete', 'AutocompleteController@index'); Route::post('/autocomplete/fetch', 'AutocompleteController@fetch')->name('autocomplete.fetch'); Route::get('/index', 'DefaultController@index'); Route::get('/contact-us', 'DefaultController@ContactUs'); Route::post('/processContactUs', 'DefaultController@processContactUs'); //news section Route::get('/facts', 'NewsController@news'); Route::get('/facts-detail/{slug}', 'NewsController@newsDetail'); Route::post('/loadMoreFacts', 'NewsController@loadMoreNews'); Route::get('/clear-cache', function () { $exitCode = Artisan::call('cache:clear'); }); /* |-------------------------------------------------------------------------- | categories / products Controller Routes |-------------------------------------------------------------------------- | | This section contains all Routes of categories page, products/shop page, product detail. | | */ Route::get('/shop', 'ProductsController@shop'); Route::post('/shop', 'ProductsController@shop'); Route::get('/product-detail/{slug}', 'ProductsController@productDetail'); Route::post('/filterProducts', 'ProductsController@filterProducts'); /* |-------------------------------------------------------------------------- | Cart Controller Routes |-------------------------------------------------------------------------- | | This section contains customer cart products | */ Route::get('/getCart', 'DataController@getCart'); //getquantity Route::post('/getquantity', 'ProductsController@getquantity'); Route::post('/addToCart', 'CartController@addToCart'); Route::post('/updatesinglecart', 'CartController@updatesinglecart'); Route::get('/cartButton', 'CartController@cartButton'); Route::get('/viewcart', 'CartController@viewcart'); Route::get('/editcart', 'CartController@editcart'); Route::post('/updateCart', 'CartController@updateCart'); Route::get('/deleteCart', 'CartController@deleteCart'); Route::post('/apply_coupon', 'CartController@apply_coupon'); Route::get('/removeCoupon/{id}', 'CartController@removeCoupon'); /* |-------------------------------------------------------------------------- | customer registrations Controller Routes |-------------------------------------------------------------------------- | | This section contains all Routes of signup page, login page, forgot password | facebook login , google login, shipping address etc. | */ Route::get('/login', 'CustomersController@login'); Route::get('/signup', 'CustomersController@signup'); Route::post('/process-login', 'CustomersController@processLogin'); Route::get('/logout', 'CustomersController@logout'); Route::post('/signupProcess', 'CustomersController@signupProcess'); Route::get('/forgotPassword', 'CustomersController@forgotPassword'); Route::get('/recoverPassword', 'CustomersController@recoverPassword'); Route::post('/processPassword', 'CustomersController@processPassword'); Route::get('login/{social}', 'CustomersController@socialLogin'); Route::get('login/{social}/callback', 'CustomersController@handleSocialLoginCallback'); Route::post('/commentsOrder', 'OrdersController@commentsOrder'); //zones Route::post('/ajaxZones', 'ShippingAddressController@ajaxZones'); Route::post('/statesadd', 'ShippingAddressController@addstatesAjax')->name('add.job.state'); Route::post('/citiesadd', 'ShippingAddressController@addcityAjax')->name('add.job.city'); //likeMyProduct Route::post('likeMyProduct', 'CustomersController@likeMyProduct'); //subscribe mailchimp Route::get('subscribe', 'WebSettingController@subscribe'); /* |-------------------------------------------------------------------------- | WEbiste auth path Controller Routes |-------------------------------------------------------------------------- | | This section contains all Routes of After login | | */ Route::group(['middleware' => 'Customer'], function () { Route::get('/wishlist', 'CustomersController@wishlist'); Route::post('/loadMoreWishlist', 'CustomersController@loadMoreWishlist'); Route::get('/profile', 'CustomersController@profile'); Route::post('/updateMyProfile', 'CustomersController@updateMyProfile'); Route::post('/updateMyPassword', 'CustomersController@updateMyPassword'); Route::get('/shipping-address', 'ShippingAddressController@shippingAddress'); Route::post('/addMyAddress', 'ShippingAddressController@addMyAddress'); Route::post('/myDefaultAddress', 'ShippingAddressController@myDefaultAddress'); Route::post('/update-address', 'ShippingAddressController@updateAddress'); Route::post('/delete-address', 'ShippingAddressController@deleteAddress'); Route::get('/checkout', 'OrdersController@checkout'); Route::post('/checkout_shipping_address', 'OrdersController@checkout_shipping_address'); Route::post('/checkout_billing_address', 'OrdersController@checkout_billing_address'); Route::post('/checkout_payment_method', 'OrdersController@checkout_payment_method'); Route::post('/paymentComponent', 'OrdersController@paymentComponent'); Route::post('/place_order', 'OrdersController@place_order')->name('place_order'); Route::get('/orders', 'OrdersController@orders'); Route::post('/updatestatus/', 'OrdersController@updatestatus'); Route::post('/myorders', 'OrdersController@myorders'); Route::get('/stripeForm', 'OrdersController@stripeForm'); Route::get('/view-order/{id}', 'OrdersController@viewOrder'); Route::post('/pay-instamojo', 'OrdersController@payIinstamojo'); Route::get('/checkout/hyperpay', 'OrdersController@hyperpay'); Route::get('/checkout/hyperpay/checkpayment', 'OrdersController@checkpayment'); Route::post('/checkout/payment/changeresponsestatus', 'OrdersController@changeresponsestatus'); }); });