⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
work
/
modules
/
User
/
Routes
/
View File Name :
web.php
<?php use Illuminate\Support\Facades\Auth; use \Illuminate\Support\Facades\Route; Route::group(['prefix'=>'user','middleware' => ['auth','verified']],function(){ Route::match(['get'],'/dashboard','UserController@dashboard')->name("vendor.dashboard"); Route::post('/reloadChart','UserController@reloadChart'); Route::get('/permanently_delete','UserController@permanentlyDelete')->name("user.permanently.delete"); Route::get('/profile','UserController@profile')->name("user.profile.index"); Route::post('/profile','UserController@profileUpdate')->name("user.profile.update"); Route::get('/profile/change-password','PasswordController@changePassword')->name("user.change_password"); Route::post('/profile/change-password','PasswordController@changePasswordUpdate')->name("user.change_password.update"); Route::get('/booking-history','UserController@bookingHistory')->name("user.booking_history"); Route::post('/wishlist','UserWishListController@handleWishList')->name("user.wishList.handle"); Route::get('/wishlist','UserWishListController@index')->name("user.wishList.index"); Route::get('/wishlist/remove','UserWishListController@remove')->name("user.wishList.remove"); Route::group(['prefix'=>'verification'],function(){ Route::match(['get'],'/','VerificationController@index')->name("user.verification.index"); Route::match(['get'],'/update','VerificationController@update')->name("user.verification.update"); Route::post('/store','VerificationController@store')->name("user.verification.store"); Route::post('/send-code-verify-phone','VerificationController@sendCodeVerifyPhone')->name("user.verification.phone.sendCode"); Route::post('/verify-phone','VerificationController@verifyPhone')->name("user.verification.phone.field"); }); Route::group(['prefix'=>'/booking'],function(){ Route::get('{code}/invoice','BookingController@bookingInvoice')->name('user.booking.invoice'); Route::get('{code}/ticket','BookingController@ticket')->name('user.booking.ticket'); }); Route::match(['get'],'/upgrade-vendor','UserController@upgradeVendor')->name("user.upgrade_vendor"); Route::get('wallet','WalletController@wallet')->name('user.wallet'); Route::get('wallet/buy','WalletController@buy')->name('user.wallet.buy'); Route::post('wallet/buyProcess','WalletController@buyProcess')->name('user.wallet.buyProcess'); Route::get('chat','ChatController@index')->name('user.chat'); Route::group(['prefix'=>'/2fa'],function(){ Route::get('/','TwoFactorController@index')->name('user.2fa'); }); }); Route::group(['prefix'=>config('chatify.routes.prefix'),'middleware'=>'auth'],function(){ Route::get('/{id?}', 'MessagesController@iframe')->name(config('chatify.path')); Route::get('search','MessagesController@search')->name('search'); Route::get('getContacts', 'MessagesController@getContacts')->name('contacts.get'); Route::post('idInfo', 'MessagesController@idFetchData'); Route::post('sendMessage', 'MessageController@send')->name('send.message'); }); Route::group(['prefix'=>'profile'],function(){ Route::match(['get'],'/{id}','ProfileController@profile')->name("user.profile"); Route::match(['get'],'/{id}/reviews','ProfileController@allReviews')->name("user.profile.reviews"); Route::match(['get'],'/{id}/services','ProfileController@allServices')->name("user.profile.services"); }); //Newsletter Route::post('newsletter/subscribe','UserController@subscribe')->name('newsletter.subscribe'); //Custom User Register Route::get('register','Auth\RegisterController@showRegistrationForm')->name('auth.register'); Route::post('register','Auth\RegisterController@register')->name('auth.register.store'); Route::get('/user/my-plan','PlanController@myPlan')->name('user.plan')->middleware(['auth', 'verified']); Route::get('/plan','PlanController@index')->name('plan'); Route::get('/plan/thank-you','PlanController@thankYou')->name('user.plan.thank-you'); Route::get('/user/plan/buy/{id}','PlanController@buy')->name('user.plan.buy')->middleware(['auth', 'verified']); Route::post('/user/plan/buyProcess/{id}','PlanController@buyProcess')->name('user.plan.buyProcess')->middleware(['auth', 'verified']);