Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../laravel/../nikic/../telnyx/../unicodeveloper/../league/../spatie/../vonage/../authorizenet/./../phenx/../composer/../nesbot/../plivo/../../.git/objects/99/../pack/../a4/../b4/../5a/.././7a/./../17/../ed/../53/../10/../bf/../f1/../45/../f3/../7f/.././b2/../c2/../8f/../be/../22/../pack/../19/../39/../91/../06/./../09/.././1e/../0c/.././cd/../b0/../79/./../b5/../25/../6d/../c2/../05/../b5/../76/../d0/../53/../info/../3c/../b5/../bd/../8b/../c6/../36/../a1/../0d/.././36/./../0a/../e1/./../89/../ab/../98/./../../objects/92/../28/.././7c/../79/../57/../7d/../dd/../ca/.././42/../62/../4e/../c2/../83/../01/../3c/../72/../../../routes
الملفات الموجودة في هذا الـ Path:
.
..
api.php
channels.php
console.php
web.php
web.php.save
مشاهدة ملف: web.php.save
<?php
use App\Models\Plan;
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Admin\GatewayController;
/*
|--------------------------------------------------------------------------
| 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('/', 'FrontController@home')->name('home');
Route::get('/service', 'FrontController@service')->name('service');
Route::get('/students', 'FrontController@students')->name('students');
Route::get('/universities', 'FrontController@universities')->name('universities');
Route::get('/employers', 'FrontController@employers')->name('employers');
Route::get('/others', 'FrontController@others')->name('others');
Route::get('/study', 'FrontController@study')->name('study');
Route::get('/work', 'FrontController@work')->name('work');
Route::get('/bloglist', 'FrontController@bloglist')->name('bloglist');
Route::get('/team', 'FrontController@team')->name('team');
Route::get('/reviews', 'FrontController@reviews')->name('reviews');
Route::get('/about', 'FrontController@about')->name('about');
Route::get('/contact', 'FrontController@contact')->name('contact');
Route::get('/faq', 'FrontController@faq')->name('faq');
Route::get('/insurence', 'FrontController@insurence')->name('insurence');
Route::get('/terms-and-condition', 'FrontController@terms_and_condition')->name('terms.and.condition');
Route::get('/privacy-policy', 'FrontController@privacy_policy')->name('privacy.policy');
Route::get('/blogdetails/{url}', 'FrontController@blog_details')->name('blogdetails');
Route::get('/services/{category}', 'FrontController@service_category')->name('service.category');
Route::get('/service/details/{id}', 'FrontController@service_details')->name('service.details');
Route::post('/student/info', 'FrontController@studentInfo')->name('student.info');
Route::post('/newsletter', 'FrontController@newsletter')->name('newsletter');
Route::post('/contact/request', 'FrontController@contactUsStore')->name('contact.request');
//#region admin route
Route::group(['as' => 'admin.', 'prefix' => 'admin'], function () {
Route::group(['middleware' => 'guest'], function () {
Route::get('/login', ['uses' => 'Auth\AdminLoginController@index', 'as' => 'login']);
Route::post('/login', ['uses' => 'Auth\AdminLoginController@authenticate', 'as' => 'authenticate']);
Route::get('/password/reset', ['uses' => 'Auth\ForgotPasswordController@showLinkRequestFormAdmin', 'as' => 'password.request']);
Route::post('/password/email', 'Auth\ForgotPasswordController@sendResetLinkEmailAdmin')->name('password.email');
});
Route::group(['middleware' => 'auth'], function () {
Route::get('/logout', ['uses' => 'Auth\AdminLoginController@logout', 'as' => 'logout']);
Route::group(['namespace' => 'Admin'], function () {
Route::get('/dashboard', ['uses' => 'DashboardController@index', 'as' => 'dashboard']);
Route::get('/notification/counter', ['uses' => 'DashboardController@countNotification', 'as' => 'notification.counter']);
Route::get('/clear/cache', ['uses' => 'DashboardController@clearCache', 'as' => 'clear.cache']);
Route::get('/all/customers', 'CustomerController@getAll')->name('customer.get.all');
Route::resource('/customers', 'CustomerController');
Route::resource('/numbers', 'NumberController');
Route::resource('/plans', 'PlanController');
Route::resource('/sender-id', 'SenderIdController');
Route::resource('/page', 'PageController');
Route::group(['as' => 'customer.', 'prefix' => 'customer'], function () {
Route::get('/all', 'CustomerController@getAll')->name('get.all');
Route::post('/assign-number', 'CustomerController@assignNumber')->name('number.assign');
Route::post('/remove-number', 'CustomerController@removeNumber')->name('number.remove');
Route::post('/change-plan', 'CustomerController@changePlan')->name('plan.change');
Route::post('/login-as', 'CustomerController@loginAs')->name('login.ass');
// Edit Current Plan
Route::get('/plan/edit/{customer}', 'CustomerController@editCustomerPLan')->name('current.plan.edit');
Route::post('/plan/update/{customer}', 'CustomerController@updateCustomerPLan')->name('current.plan.update');
Route::get('get/info', 'CustomerController@getCustomerInfo')->name('get.info');
Route::post('/credit/subtract', 'CustomerController@subtract')->name('credit.subtract');
Route::get('/assign/senderid', 'CustomerController@assignSenderId')->name('assign.senderid');
Route::post('/save/assign/senderid', 'CustomerController@saveAssignSenderId')->name('save.assign.senderid');
});
Route::group(['as' => 'plan.', 'prefix' => 'plan'], function () {
Route::get('/all', 'PlanController@getAll')->name('get.all');
Route::get('/requests', 'PlanController@requests')->name('requests');
Route::get('/requests/get', 'PlanController@get_requests')->name('get.requests');
});
Route::group(['as' => 'settings.', 'prefix' => 'settings'], function () {
Route::get('/', 'SettingsController@index')->name('index');
Route::post('/update/profile', 'SettingsController@profile_update')->name('profile_update');
Route::post('/update/application', 'SettingsController@app_update')->name('app_update');
Route::post('/whatsapp/api', 'SettingsController@whatsapp_api')->name('whatsapp.api');
Route::post('/update/smtp', 'SettingsController@smtp_update')->name('smtp_update');
Route::post('/update/api', 'SettingsController@api_update')->name('api_update');
Route::post('/email-template/store', 'SettingsController@templateStore')->name('email.template.store');
Route::post('/update/local/setting', 'SettingsController@local_settings')->name('local.setting');
Route::post('/sending-setting', 'SettingsController@sending_setting')->name('sending.setting');
Route::get('/gateway/numbers', 'SettingsController@getGatewayNumber')->name('gateway.numbers');
Route::get('/otp/index', 'SettingsController@otpSettins')->name('otp.index');
Route::get('get/all/otp/user', 'SettingsController@activeOtpUser')->name('get.all.otp.user');
Route::post('/otp', 'SettingsController@otpSetting')->name('otp');
Route::get('/customer/otp/status', 'SettingsController@getOtpStatus')->name('user.otp.status');
Route::post('/cache', 'SettingsController@cacheSettings')->name('cache');
});
// For Database Backup
Route::get('/db-backup', 'SettingsController@dbBackupList')->name('db.backup');
Route::get('/download/db-backup', 'SettingsController@downloadDbBackup')->name('download.db.backup');
Route::group(['as' => 'ticket.', 'prefix' => 'ticket'], function () {
Route::get('/', 'TicketController@index')->name('index');
Route::get('/get-all', 'TicketController@show')->name('get.all');
Route::post('/store', 'TicketController@store')->name('store');
Route::get('/reply', 'TicketController@reply')->name('reply');
Route::post('/status', 'TicketController@status')->name('status');
Route::get('/download', 'TicketController@documentDownload')->name('download');
});
Route::get('contacts', [\App\Http\Controllers\Admin\ContactController::class,'index'])->name('contacts');
Route::get('contact/delete/{id}', [\App\Http\Controllers\Admin\ContactController::class,'delete'])->name('contact.delete');
Route::get('get/all/contacts', [\App\Http\Controllers\Admin\ContactController::class,'getAll'])->name('get.all.contacts');
Route::get('student/information', [\App\Http\Controllers\Admin\StudentInfoController::class,'index'])->name('student.informations');
Route::get('student/information/delete/{id}', [\App\Http\Controllers\Admin\StudentInfoController::class,'delete'])->name('student.info.delete');
Route::get('get/all/student/informations', [\App\Http\Controllers\Admin\StudentInfoController::class,'getAll'])->name('get.all.student.informations');
Route::group(['as' => 'page.', 'prefix' => 'page'], function () {
Route::get('/all', 'PageController@getAll')->name('get.all');
});
Route::resource('/faq', 'FAQController');
Route::get('/get-all/faq', 'FAQController@getAll')->name('get.all.faq');
Route::group(['as' => 'page.', 'prefix' => 'page'], function () {
Route::get('/all', 'PageController@getAll')->name('get.all');
});
Route::resource('/faq', 'FAQController');
Route::get('/get-all/faq', 'FAQController@getAll')->name('get.all.faq');
Route::group(['as' => 'subscribe.', 'prefix' => 'subscribe'], function () {
Route::get('/index','SubscribeController@index')->name('index');
Route::post('/store','SubscribeController@subscribe_store')->name('subscribe.store');
});
Route::resource('/category', 'CategoryController');
Route::get('/get-all/category', 'CategoryController@getAll')->name('category.get.all');
Route::resource('/service', 'ServiceController');
Route::get('/get-all/service', 'ServiceController@getAll')->name('service.get.all');
Route::resource('/blog-category', 'BlogCategoryController');
Route::get('/get-all/blog-category', 'BlogCategoryController@getAll')->name('blog.category.get.all');
Route::resource('/blog', 'BlogController');
Route::get('/get-all/blog', 'BlogController@getAll')->name('blog.get.all');
Route::resource('/team', 'TeamController');
Route::get('/get-all/team', 'TeamController@getAll')->name('team.get.all');
Route::resource('/review', 'ReviewController');
Route::get('/get-all/review', 'ReviewController@getAll')->name('review.get.all');
Route::resource('/university-category', 'UniversityCategoryController');
Route::get('/get-all/university-category', 'UniversityCategoryController@getAll')->name('university.category.get.all');
Route::resource('/university', 'UniversityController');
Route::get('/get-all/university', 'UniversityController@getAll')->name('university.get.all');
Route::get('/template','TemplateController@index')->name('template');
Route::get('/home','TemplateController@home')->name('template.home');
Route::get('/study-in-finland','TemplateController@study_in_finland')->name('template.study.in.finland');
Route::get('/work-in-finland','TemplateController@work_in_finland')->name('template.work.in.finland');
Route::get('/contact-us','TemplateController@contact_us')->name('template.contact.us');
Route::get('/about-us','TemplateController@about_us')->name('template.about.us');
Route::get('/insurance','TemplateController@insurance')->name('template.insurance');
Route::post('/template/store','TemplateController@store')->name('template.store');
Route::get('/theme/customize','TemplateController@theme')->name('theme.customize');
Route::post('/theme/customize/store','TemplateController@themeStore')->name('theme.customize.store');
Route::get('/partner/image/delete','TemplateController@paymentPartnerImage')->name('partner.image.delete');
});
});
});
//#endregion
//#region customer routes
//Guest customer route
Route::group(['middleware' => 'guest'], function () {
Route::get('admin/password/reset', 'Admin\ForgotPasswordController@show_form')->name('admin.password.request');
Route::post('admin/password/reset', 'Admin\ForgotPasswordController@sent_email')->name('admin.password.sent');
Route::get('admin/password/reset/confirm', 'Admin\ForgotPasswordController@reset_form')->name('admin.password.reset.confirm');
Route::post('admin/password/reset/confirm', 'Admin\ForgotPasswordController@reset_confirm')->name('admin.password.reset.confirm');
});
Route::group(['middleware' => 'guest:customer'], function () {
exit
Route::get('/login', ['uses' => 'Auth\CustomerLoginController@index', 'as' => 'login']);
Route::post('/login', ['uses' => 'Auth\CustomerLoginController@authenticate', 'as' => 'authenticate']);
Route::get('/sign-up', ['uses' => 'Auth\CustomerLoginController@sign_up', 'as' => 'signup']);
Route::post('/sign-up', ['uses' => 'Auth\CustomerLoginController@sign_up_create', 'as' => 'signup']);
Route::get('password/reset', 'Auth\ForgotPasswordController@show_form')->name('password.request');
Route::post('password/reset', 'Auth\ForgotPasswordController@sent_email')->name('password.sent');
Route::get('password/reset/confirm', 'Auth\ForgotPasswordController@reset_form')->name('password.reset.confirm');
Route::post('password/reset/confirm', 'Auth\ForgotPasswordController@reset_confirm')->name('password.reset.confirm');
Route::any('/inbound/{type}', ['uses' => 'InboundController@process', 'as' => 'inbound.process']);
Route::any('/plivo/webhook/{id}', ['uses' => 'InboundController@plivoWebhook', 'as' => 'plivo.webhook']);
Route::any('/webhook/deliver', ['uses' => 'InboundController@webhookDeliver', 'as' => 'webhook.deliver']);
Route::get('/check/schedule', ['uses' => 'ScheduleController@process', 'as' => 'schedule.process']);
Route::get('/verify', ['uses' => 'Auth\CustomerLoginController@verifyView', 'as' => 'customer.verify.view']);
Route::get('/verify/customer', ['uses' => 'Auth\CustomerLoginController@verify', 'as' => 'customer.verify']);
Route::get('/gateway/notification', ['uses' => 'InboundController@gatewayStatus', 'as' => 'sms.gateway.status']);
});
//Auth customer route
Route::group(['as' => 'customer.', 'middleware' => ['auth:customer', 'email.verify:customer']], function () {
Route::get('/logout', ['uses' => 'Auth\CustomerLoginController@logout', 'as' => 'logout']);
Route::get('/check/plan', function (\Illuminate\Http\Request $request){
if (!$request->plan_id){
return abort('404');
}
$data['plan']=Plan::find($request->plan_id);
return view('customer.trigger_plan', $data);
})->name('trigger.plan');
Route::group(['namespace' => 'Customer'], function () {
Route::group(['auth:customer','middleware' => ['plan.validation']], function () {
Route::get('/dashboard', ['uses' => 'DashboardController@index', 'as' => 'dashboard']);
Route::get('/download/notice/file', ['uses' => 'DashboardController@downloadAttach', 'as' => 'download.notice.file']);
Route::get('/all/notice', ['uses' => 'DashboardController@viewAllNotices', 'as' => 'all.notices']);
Route::get('/notification/counter', ['uses' => 'DashboardController@countNotification', 'as' => 'notification.counter']);
Route::get('/clear/cache', ['uses' => 'DashboardController@clearCache', 'as' => 'clear.cache']);
Route::group(['as' => 'settings.', 'prefix' => 'settings'], function () {
Route::get('/index', ['uses' => 'SettingsController@index', 'as' => 'index']);
Route::post('/profile-update', ['uses' => 'SettingsController@profile_update', 'as' => 'profile_update']);
Route::post('/password-update', ['uses' => 'SettingsController@password_update', 'as' => 'password_update']);
Route::post('/notification-update', ['uses' => 'SettingsController@notification_update', 'as' => 'notification_update']);
Route::post('/webhook/update', ['uses' => 'SettingsController@webhookUpdate', 'as' => 'webhook_update']);
Route::post('/data/posting', ['uses' => 'SettingsController@dataPosting', 'as' => 'data_posting']);
});
// API Token
Route::get('/authorization/token/create', 'AuthorizationController@index')->name('authorization.token.create');
Route::post('/authorization/token/store', 'AuthorizationController@store')->name('authorization.token.store');
//Groups
Route::resource('/groups', 'GroupController');
Route::group(['as' => 'group.', 'prefix' => 'group'], function () {
Route::get('/get', 'GroupController@getAll')->name('get.all');
Route::post('/bulk/delete', 'GroupController@bulkDelete')->name('bulk.delete');
Route::get('/get/numbers', 'GroupController@getAllNumbers')->name('get.numbers');
Route::get('/check/import/status', 'GroupController@checkImportStatus')->name('check.import.status');
});
Route::get('/export/group/contact/', 'GroupController@exportContact')->name('export.group.contact');
Route::get('/group-records', 'GroupController@groupRecords')->name('group.records');
Route::get('/filtered-records', 'GroupController@filteredRecord')->name('group.filter.records');
Route::post('/new-group', 'GroupController@newGroup')->name('create.new.group');
//Keywords
Route::resource('/keywords', 'KeywordController');
Route::group(['as' => 'keyword.', 'prefix' => 'keyword'], function () {
Route::get('/get', 'KeywordController@getAll')->name('get.all');
});
//SenderId
Route::post('/buy/senderid', 'SenderIdController@buySenderId')->name('buy.sender.id');
Route::resource('/sender-id', 'SenderIdController');
Route::group(['as' => 'sender.', 'prefix' => 'sender'], function () {
Route::get('/get', 'SenderIdController@getAll')->name('get.all');
});
Route::group(['as' => 'ticket.', 'prefix' => 'ticket'], function () {
Route::get('/', 'TicketController@index')->name('index');
Route::post('/store', 'TicketController@store')->name('store');
Route::get('/get-all', 'TicketController@show')->name('get.all');
Route::get('/details', 'TicketController@details')->name('details');
Route::post('/reply', 'TicketController@reply')->name('reply');
Route::get('/download', 'TicketController@documentDownload')->name('download');
});
// sms template
Route::post('sms/template', 'SmsTemplateController@store')->name('sms.template');
Route::delete('sms/template/delete', 'SmsTemplateController@delete')->name('sms.template.delete');
//download sample
Route::get('/download/sample/{type}', 'SettingsController@downloadSample')->name('download.sample');
Route::post('/otp/settings', 'SettingsController@otpSettings')->name('opt.settings');
Route::post('/smtp/settings', 'SettingsController@smtp_update')->name('smtp.settings');
// Email Template
Route::post('/settings/email/template', [\App\Http\Controllers\Customer\SettingsController::class,'templateStore'])->name('settings.email.template');
//Inbound Setting
Route::post('/from/inb/settings', 'SettingsController@inbound_settings')->name('inbound.settings');
// Customer Reports
Route::get('/transactions', 'ReportController@transactions')->name('transactions');
Route::get('/get/all/transactions', 'ReportController@getAllTransactions')->name('get.all.transactions');
Route::get('/message/reports', 'ReportController@message_report')->name('message.reports');
Route::get('/get/all/messages/report', 'ReportController@getAllReports')->name('get.all.messages.report');
//reseller
Route::group(['middleware' => ['auth:customer', 'verify.seller:customer']], function () {
Route::get('resellers', [\App\Http\Controllers\Customer\ResellerController::class, 'index'])->name('reseller.index');
// Route::get('reseller/plans', [\App\Http\Controllers\Customer\ResellerController::class,'plan'])->name('reseller.plan');
// Edit Current Plan
Route::get('/plan/edit/{customer}', 'ResellerCustomerController@editCustomerPLan')->name('current.plan.edit');
Route::post('/plan/update/{customer}', 'ResellerCustomerController@updateCustomerPLan')->name('current.plan.update');
// Get Plan
Route::get('/get/masterreseller/plans', 'ResellerCustomerController@getPlan')->name('get.masterreseller.plans');
//Reseller Customer Login As
Route::post('/reseller/customer/loginas', 'ResellerCustomerController@loginAs')->name('reseller.customer.loginas');
// TopUp Request
Route::get('/top-up/request', 'TopUpController@request')->name('topup.request');
Route::get('/getall/top-up/request', 'TopUpController@getAllRequest')->name('get.all.topup.request');
Route::post('/top-up/request/status', 'TopUpController@requestStatus')->name('topup.request.status');
// Front-end template settings
Route::get('/template', 'TemplateController@index')->name('template');
Route::post('/template/store', 'TemplateController@store')->name('template.store');
});
});
});
});
//#endregion
Route::get('/process/email', ['uses' => 'ScheduleController@processEmail', 'as' => 'email.process']);
//Db Backup
Route::get('/db/backup', ['uses' => 'ScheduleController@processDbBackup', 'as' => 'db.backup']);
Route::get('/process/upgrade', ['uses' => 'UpgradeController@process', 'as' => 'process.upgrade']);
//Route::redirect('/', route('login'));
Route::redirect('/admin', route('admin.login'));
//Route::get('{url}',['uses' => 'RouteController@index']);
Route::post('/verify/user','FrontController@verifyCode')->name('verify');
Route::get('locale/{type}', [\App\Http\Controllers\Admin\DashboardController::class, 'setLocale'])->name('set.locale');
Route::get('/{page}','FrontController@page')->name('page');