File Manager Lite
Dir:
/home/u540325668/domains/mkjsindia.org/public_html-chash/routes
Upload
[..]
api.php (528 B)
Edit
Rename
Del
channels.php (508 B)
Edit
Rename
Del
console.php (553 B)
Edit
Rename
Del
web.php (21.1 KB)
Edit
Rename
Del
Edit: web.php
<?php use App\Http\Controllers\Admin\attendanceController; use App\Http\Controllers\Admin\CCAvenueController; use App\Http\Controllers\Admin\CheckoutController; use App\Http\Controllers\Admin\CampaignController; use App\Http\Controllers\Admin\SiteController; use App\Http\Controllers\Admin\CorporatePartnerController; use App\Http\Controllers\Admin\SocialMediaController; use App\Http\Controllers\Admin\donationController; use App\Http\Controllers\Admin\PhonepeController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ Route::get('phonePe/donate',[PhonepeController::class,'index'])->name('phonepe.donate'); Route::post('/phonePe/payment', [PhonepeController::class, 'payment'])->name('phonepe.payment'); Route::get('/phonepe/success/{orderId}', [PhonepeController::class, 'success'])->name('phonepe.success'); Route::get('/', 'welcomeController@index')->name('welcome'); Route::get('/language/{id}/{uN}', 'welcomeController@language'); Route::get('/foo', function() { Artisan::call('make:model Phonepaypayment -m'); // Do whatever you want either a print a message or exit }); Route::get('/migrate', function() { Artisan::call( 'migrate --path=database/migrations/2025_09_02_193434_create_donors_table.php'); // Do whatever you want either a print a message or exit }); Route::get('/controller', function() { Artisan::call( 'make:controller Admin/PhonepeController --resource'); // Do whatever you want either a print a message or exit }); Route::get('/image', function() { Artisan::call( 'storage:link'); // Do whatever you want either a print a message or exit }); Route::get('/cache', function() { Artisan::call( 'config:cache'); // Do whatever you want either a print a message or exit }); Route::get('/event', function() { Artisan::call( 'make:event attendanceDataChanged'); // Do whatever you want either a print a message or exit }); // PhonePay Route::any('/phonepe-response',[PhonePecontroller::class,'response'])->name('response'); Route::any('/phonepe/{id}/{amount}',[PhonePecontroller::class,'phonePe']); // PhonePay // Online Donation start Route::get('/donate', [CCAvenueController::class, 'donationForm'])->name('donate.form'); Route::get('/project/donate/{id}', [CCAvenueController::class, 'projectDonationForm'])->name('projectDonate.form'); Route::get('/campaign/donate/{id}', [CCAvenueController::class, 'campaignDonationForm'])->name('campaignDonate.form'); Route::post('/ccavenue/pay', [CCAvenueController::class, 'initiatePayment'])->name('ccavenue.pay'); Route::post('/ccavenue/response', [CCAvenueController::class, 'paymentResponse'])->name('ccavenue.response'); // Online Donation end Route::get('/campaigns', [\App\Http\Controllers\Frontend\CampaignController::class, 'frontIndex'])->name('frontend.campaigns.index'); Route::get('/campaigns/{id}', [\App\Http\Controllers\Frontend\CampaignController::class, 'frontShow'])->name('frontend.campaigns.show'); Auth::routes(); Route::get('/home', 'HomeController@index')->name('home'); Route::get('/userinfo/{id}/{uN}', 'frontEndController@userInfo'); Route::get('/category/{id}/{uN}', 'frontEndController@categoryInfo'); Route::get('/scategory/{id}/{uN}', 'frontEndController@scategoryInfo'); Route::get('/postinfo/{id}/{uN}', 'frontEndController@postInfo'); /*post function*/ Route::get('/post/{id}/like', 'postmgdController@like'); Route::get('/post/{id}/fbook', 'postmgdController@fbook'); Route::get('/post/{id}/wapp', 'postmgdController@wapp'); Route::get('/post/{id}/twite', 'postmgdController@twite'); Route::get('/post/{id}/down', 'postmgdController@down'); Route::get('/user/{fid}/follow', 'followController@follow'); /*post function*/ /*Follow info*/ Route::get('/user/{fid}/follow', 'followController@follow'); Route::get('/user/folowinfo/{fid}/{fN}', 'followController@following'); Route::get('/user/folowerinfo/{fid}/{fN}', 'followController@flower'); /*Follow info*/ /*page function*/ Route::get('/aboutUs.html', 'pagemgdController@about'); Route::get('/missionvission.html', 'pagemgdController@missionvision'); Route::get('/cources.html', 'pagemgdController@cources'); Route::get('/{id}/cource.html', 'pagemgdController@courceView'); Route::get('/publication.html', 'pagemgdController@publication'); Route::get('/{id}/publication.html', 'pagemgdController@publicationView'); Route::get('/declaration.html', 'pagemgdController@declaration'); Route::get('/contactUs.html', 'pagemgdController@create'); Route::post('/contactUs.html', 'pagemgdController@store'); Route::get('/termsAndCondition.html', 'pagemgdController@termsAndCondition'); Route::get('/privacyPolicy.html', 'pagemgdController@privacyPolicy'); Route::get('/refundPolicy.html', 'pagemgdController@refundPolicy'); Route::get('/Gallery.html', 'pagemgdController@gallery'); /*page function*/ /*Attendance*/ Route::get('/studentZoneAttendance/{id}', [attendanceController::class, 'studentZoneAttendance'])->name('studentZoneAttendance.show'); /* Online Admission */ Route::get('/onlineAdmission/create/{id}', 'onlineAdmissionController@create'); Route::get('/onlineAdmission/received', 'onlineAdmissionController@index'); Route::post('/onlineAdmission/store', 'onlineAdmissionController@store'); /* Online Admission */ Route::group([ 'as' => 'admin.', 'prefix' => 'admin', 'namespace' => 'Admin', 'middleware' => ['auth', 'admin']], function() { Route::get('/dashboard', 'DashboardController@index')->name('dashboard'); /*backup folder*/ Route::get('/backup/folder', 'DashboardController@backupFolder'); Route::get('/backup/database', 'DashboardController@backupDatabase'); /*qr*/ Route::get('/qr/scan', [attendanceController::class, 'showScanForm'])->name('scan.form'); Route::post('/qr/scan-qr', [attendanceController::class, 'scanQR'])->name('scan.qr'); /* Ajax Encrypt*/ Route::get('/directgo/{id}', function ($id) {return Crypt::encrypt($id);})->name('encrypt.id'); /* Ajax Encrypt*/ /*Attendance*/ Route::get('/qr/attendance/manage', [attendanceController::class, 'show'])->name('attendance.show'); Route::get('/qr/attendance/edit/{id}', [attendanceController::class, 'edit'])->name('attendance.edit'); Route::post('/qr/attendance/update', [attendanceController::class, 'update'])->name('attendance.update'); Route::get('/qr/attendance/delete/{id}', [attendanceController::class, 'destroy'])->name('attendance.delete'); /*Attendance*/ /* FooterLink */ Route::get('/footerLink/add', 'footerController@index'); Route::post('/footerLink/create', 'footerController@create'); Route::post('/footerLink/store', 'footerController@store'); Route::get('/footerLink/manage', 'footerController@show'); Route::get('/footerLink/edit/{id}', 'footerController@edit'); Route::post('/footerLink/update', 'footerController@update'); Route::get('/footerLink/delete/{id}', 'footerController@destroy'); /* FooterLink */ /* Slider */ Route::get('/slider/add', 'sliderController@index'); Route::post('/slider/create', 'sliderController@create'); Route::post('/slider/store', 'sliderController@store'); Route::get('/slider/manage', 'sliderController@show'); Route::get('/slider/edit/{id}', 'sliderController@edit'); Route::post('/slider/update', 'sliderController@update'); Route::get('/slider/delete/{id}', 'sliderController@destroy'); /* Slider */ /* Notice */ Route::get('/notice/add', 'noticeController@index'); Route::post('/notice/create', 'noticeController@create'); Route::post('/notice/store', 'noticeController@store'); Route::get('/notice/manage', 'noticeController@show'); Route::get('/notice/edit/{id}', 'noticeController@edit'); Route::post('/notice/update', 'noticeController@update'); Route::get('/notice/delete/{id}', 'noticeController@destroy'); /* Notice */ /* successfullStudents */ Route::get('/successfulStudent/add', 'successfulStudentController@index'); Route::post('/successfulStudent/create', 'successfulStudentController@create'); Route::post('/successfulStudent/store', 'successfulStudentController@store'); Route::get('/successfulStudent/manage', 'successfulStudentController@show'); Route::get('/successfulStudent/edit/{id}', 'successfulStudentController@edit'); Route::post('/successfulStudent/update', 'successfulStudentController@update'); Route::get('/successfulStudent/delete/{id}', 'successfulStudentController@destroy'); /* successfullStudents */ /* gallery */ Route::get('/gallery/add', 'galleryController@index'); Route::post('/gallery/create', 'galleryController@create'); Route::post('/gallery/store', 'galleryController@store'); Route::get('/gallery/manage', 'galleryController@show'); Route::get('/gallery/edit/{id}', 'galleryController@edit'); Route::post('/gallery/update', 'galleryController@update'); Route::get('/gallery/delete/{id}', 'galleryController@destroy'); /* gallery */ /* campaings */ Route::get('campaigns', [CampaignController::class, 'index'])->name('campaigns.index'); Route::post('campaigns', [CampaignController::class, 'store'])->name('campaigns.store'); Route::get('campaigns/{id}/edit', [CampaignController::class, 'edit'])->name('campaigns.edit'); Route::put('campaigns/{id}', [CampaignController::class, 'update'])->name('campaigns.update'); Route::delete('campaigns/{id}', [CampaignController::class, 'destroy'])->name('campaigns.destroy'); /* campaigns */ /* sites */ Route::get('site', [SiteController::class, 'index'])->name('site.index'); Route::post('site', [SiteController::class, 'store'])->name('site.store'); Route::get('site/{id}/edit', [SiteController::class, 'edit'])->name('site.edit'); Route::put('site/{id}', [SiteController::class, 'update'])->name('site.update'); Route::delete('site/{id}', [SiteController::class, 'destroy'])->name('site.destroy'); /* sites */ /* Corporate Partners */ Route::get('corporatePartner', [CorporatePartnerController::class, 'index'])->name('corporatePartner.index'); Route::post('corporatePartner', [CorporatePartnerController::class, 'store'])->name('corporatePartner.store'); Route::get('corporatePartner/{id}/edit', [CorporatePartnerController::class, 'edit'])->name('corporatePartner.edit'); Route::put('corporatePartner/{id}', [CorporatePartnerController::class, 'update'])->name('corporatePartner.update'); Route::delete('corporatePartner/{id}', [CorporatePartnerController::class, 'destroy'])->name('corporatePartner.destroy'); /* Corporate Partners */ /* Social Medoa */ Route::get('socialMedia', [SocialMediaController::class, 'index'])->name('socialMedia.index'); Route::post('socialMedia', [SocialMediaController::class, 'store'])->name('socialMedia.store'); Route::get('socialMedia/{id}/edit', [SocialMediaController::class, 'edit'])->name('socialMedia.edit'); Route::put('socialMedia/{id}', [SocialMediaController::class, 'update'])->name('socialMedia.update'); Route::delete('socialMedia/{id}', [SocialMediaController::class, 'destroy'])->name('socialMedia.destroy'); /* Social Media */ /* Course */ Route::get('/course/add', 'courseController@index'); Route::post('/course/create', 'courseController@create'); Route::post('/course/store', 'courseController@store'); Route::get('/course/manage', 'courseController@show'); Route::get('/course/edit/photo/{id}', 'courseController@updatePhoto'); Route::post('/course/edit/photo/update', 'courseController@updatePhotoStore'); Route::get('/course/edit/{id}', 'courseController@edit'); Route::post('/course/update', 'courseController@update'); Route::get('/course/delete/{id}', 'courseController@destroy'); /* Course */ /* Publication */ Route::get('/publication/add', 'publicationController@index'); Route::post('/publication/create', 'publicationController@create'); Route::post('/publication/store', 'publicationController@store'); Route::get('/publication/manage', 'publicationController@show'); Route::get('/publication/edit/photo/{id}', 'publicationController@updatePhoto'); Route::post('/publication/edit/photo/update', 'publicationController@updatePhotoStore'); Route::get('/publication/edit/{id}', 'publicationController@edit'); Route::post('/publication/update', 'publicationController@update'); Route::get('/publication/delete/{id}', 'publicationController@destroy'); /* Publication */ /* Affiliation */ Route::get('/affiliation/add', 'affiliationController@index'); Route::post('/affiliation/create', 'affiliationController@create'); Route::post('/affiliation/store', 'affiliationController@store'); Route::get('/affiliation/manage', 'affiliationController@show'); Route::get('/affiliation/edit/photo/{id}', 'affiliationController@updatePhoto'); Route::post('/affiliation/edit/photo/update', 'affiliationController@updatePhotoStore'); Route::get('/affiliation/edit/{id}', 'affiliationController@edit'); Route::post('/affiliation/update', 'affiliationController@update'); Route::get('/affiliation/delete/{id}', 'affiliationController@destroy'); /* Affiliation */ /* donation */ Route::get('/donation/add', 'donationController@index'); Route::post('/donation/create', 'donationController@create'); Route::post('/donation/store', 'donationController@store'); Route::get('/donation/manage', 'donationController@show'); Route::get('/donation/edit/{id}', 'donationController@edit'); Route::get('/donation/delete/{id}', 'donationController@destroy'); /* donation */ /* certificateIssue */ Route::get('/certificateIssue/edit/{id}', 'donationController@certificateIssue'); Route::post('/certificateIssue/update', 'donationController@certificateIssue'); /* certificateIssue */ /*donation*/ Route::get('/donation/manage', [donationController::class, 'show'])->name('donation.show'); Route::get('/donation/edit/{id}', [donationController::class, 'edit'])->name('donation.edit'); Route::post('/donation/update', [donationController::class, 'update'])->name('donation.update'); Route::get('/donation/delete/{id}', [donationController::class, 'destroy'])->name('donation.delete'); /*donation*/ /* payment */ Route::get('/payment/add', 'paymentController@index'); Route::post('/payment/create', 'paymentController@create'); Route::post('/payment/store', 'paymentController@store'); Route::get('/payment/manage', 'paymentController@show'); Route::get('/payment/edit/{id}', 'paymentController@edit'); Route::get('/payment/info/{id}', 'paymentController@info'); Route::post('/payment/update', 'paymentController@update'); Route::get('/payment/delete/{id}', 'paymentController@destroy'); /* payment */ /* Users */ Route::get('/user/add', 'userController@create'); Route::post('/user/create', 'userController@store'); Route::get('/user/manage', 'userController@show'); Route::get('/user/info/{id}', 'userController@info'); Route::get('/user/edit/{id}', 'userController@edit'); Route::get('/user/passd/{id}', 'userController@passd'); Route::get('/user/password/{id}', 'userController@password'); Route::post('/user/password/update', 'userController@passwordUpdate'); Route::post('/user/update', 'userController@update'); Route::get('/user/delete/{id}', 'userController@destroy'); /* Users */ /* student */ Route::get('/student/add', 'customerController@create'); Route::post('/student/create', 'customerController@store'); Route::get('/student/manage', 'customerController@show'); Route::get('/student/info/{id}', 'customerController@info'); Route::get('/student/edit/photo/{id}', 'customerController@updatePhoto'); Route::post('/student/edit/photo/update', 'customerController@updatePhotoStore'); Route::get('/student/edit/{id}', 'customerController@edit'); Route::get('/student/passd/{id}', 'customerController@passd'); Route::post('/student/update', 'customerController@update'); Route::get('/student/delete/{id}', 'customerController@destroy'); /* student */ /* calection*/ Route::get('/calection/oneyou', 'calectionController@oneyou'); Route::post('/calection/oneall', 'calectionController@oneall'); Route::post('/calection/twoyou', 'calectionController@store'); Route::get('/calection/twoall', 'calectionController@show'); Route::get('/calection/userwise', 'calectionController@edit'); Route::post('/calection/oneupdate', 'calectionController@update'); Route::post('/calection/twoupdate', 'calectionController@update'); Route::get('/calection/pdf', 'calectionController@pdf'); Route::get('/calection/excel', 'calectionController@excel'); /* calections*/ /* languages */ Route::get('/language/add', 'languageController@create'); Route::post('/language/create', 'languageController@store'); Route::get('/language/manage', 'languageController@show'); Route::get('/language/edit/{id}', 'languageController@edit'); Route::post('/language/update', 'languageController@update'); Route::get('/language/delete/{id}', 'languageController@destroy'); /* languages */ /* categorys */ Route::get('/category/add', 'categoryController@create'); Route::post('/category/create', 'categoryController@store'); Route::get('/category/manage', 'categoryController@show'); Route::get('/category/edit/{id}', 'categoryController@edit'); Route::post('/category/update', 'categoryController@update'); Route::get('/category/delete/{id}', 'categoryController@destroy'); Route::get('/category/pdf', 'categoryController@pdf'); Route::get('/category/excel', 'categoryController@excel'); /* categorys */ /* subcategorys */ Route::get('/subcategory/add', 'subcategoryController@create'); Route::post('/subcategory/create', 'subcategoryController@store'); Route::get('/subcategory/manage', 'subcategoryController@show'); Route::get('/subcategory/edit/{id}', 'subcategoryController@edit'); Route::post('/subcategory/update', 'subcategoryController@update'); Route::get('/subcategory/delete/{id}', 'subcategoryController@destroy'); /* subcategorys */ /* pages */ Route::get('/page/add', 'pageController@create'); Route::post('/page/create', 'pageController@store'); Route::get('/page/manage', 'pageController@show'); Route::get('/page/edit/{id}', 'pageController@edit'); Route::post('/page/update', 'pageController@update'); Route::get('/page/delete/{id}', 'pageController@destroy'); /* pages */ /* posts */ Route::get('/post/manage', 'postController@show'); Route::get('/post/info/{id}', 'postController@info'); Route::get('/post/edit/{id}', 'postController@edit'); Route::post('/post/update', 'postController@update'); Route::get('/post/delete/{id}', 'postController@destroy'); /* posts */ /* ContuctUs */ Route::get('/contuctus/add', 'contuctusController@create'); Route::post('/contuctus/create', 'contuctusController@store'); Route::get('/contuctus/manage', 'contuctusController@show'); Route::get('/contuctus/edit/{id}', 'contuctusController@edit'); Route::post('/contuctus/update', 'contuctusController@update'); Route::get('/contuctus/delete/{id}', 'contuctusController@destroy'); /* ContuctUs */ }); Route::group(['as' => 'author.', 'prefix' => 'author', 'namespace' => 'Author', 'middleware' => ['auth', 'author']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); }); Route::group(['as' => 'manager.', 'prefix' => 'manager', 'namespace' => 'Manager', 'middleware' => ['auth', 'manager']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); }); Route::group(['as' => 'operator.', 'prefix' => 'operator', 'namespace' => 'Operator', 'middleware' => ['auth', 'operator']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); }); Route::group(['as' => 'user.', 'prefix' => 'user', 'namespace' => 'User', 'middleware' => ['auth', 'user']], function() { Route::get('dashboard', 'DashboardController@index')->name('dashboard'); /* Update User Profile */ Route::post('/photo/update', 'userController@photoupdate'); Route::post('/update', 'userController@update'); /* Update User Profile */ /* posts */ Route::get('/post/add', 'postController@create'); Route::post('/post/create', 'postController@store'); Route::get('/post/manage', 'postController@show'); Route::get('/post/info/{id}', 'postController@info'); Route::get('/post/edit/{id}', 'postController@edit'); Route::post('/post/update', 'postController@update'); Route::get('/post/delete/{id}', 'postController@destroy'); /* posts */ });
Simpan