MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/www/imenso.co/dev/impactify/routes/web.php
<?php
//use DB;
/*
|--------------------------------------------------------------------------
| 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('admin', 'UserController@admin');
Route::get('admin-login', 'AdminAuth\AuthController@adminLogin');
Route::post('admin-login', ['as'=>'admin-login','uses'=>'AdminAuth\AuthController@adminLoginPost']);

//Route::get('/dashboard','dashboardController@index');
Route::get('/{id}','UserController@index');
// Route::get('/{id?}', 'UserController@index')
//     ->where('id', '(.*)');
Route::get('/','\App\Http\Controllers\Auth\RegisterController@showRegistrationForm');
//Route::get('/','UserController@showRegistrationForm');
// user here
Route::get('/user/verify/{verify_code}','UserController@verify');
Route::post('/user/updates/{verify_code}','UserController@updates');
Route::post('/user/login','UserController@login');
Route::post('/user/forget','UserController@forget');

//ganttchart here
//jquery url pid not allow in the case of / (.*) allow in url
Route::post('/{id?}/ganttchart/showcaseAdd','GanttchartController@showcaseAdd')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/project_showcaseDelete','GanttchartController@project_showcaseDelete')->where('id', '(.*)');
Route::get('/{id?}/ganttchart/view/{pid}','GanttchartController@view')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/store','GanttchartController@store')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/taskadd/{pid}','GanttchartController@taskadd')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/taskdelete/{tid}','GanttchartController@taskdelete')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/taskupdate/{pid}','GanttchartController@taskupdate')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/taskweekadd/{pid}','GanttchartController@taskweekadd')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/taskweekupdate/{pid}','GanttchartController@taskweekupdate')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/ajaxview/{pid}','GanttchartController@ajaxview')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/update/{pid}','GanttchartController@update')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/publish/{pid}','GanttchartController@publish')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/paymentResive/{pid}','GanttchartController@paymentResive')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/getLocation','GanttchartController@getLocation')->where('id', '(.*)');
Route::post('/{id?}/ganttchart/getCityBYdistrict','GanttchartController@getCityBYdistrict')->where('id', '(.*)');
//Route::get('/{id}/ngo','ngoController@index');
//Route::resource('/ngo','ngoController@index');
//Route::get('/{id}/ngo','ngoController@index');

Route::get('/{id?}/ngo/dashboard/{ngo_id}','ngoController@dashboard')->where('id', '(.*)');
//Route::post('/{id}/ngo/store','ngoController@store');
//Route::get('/{id}/ngo/assign','ngoController@assign');
//Route::post('/{id}/ngo/assign','ngoController@assign');
//Route::post('/{id}/ngo/addassign/{rmid}','ngoController@addassign');
//Route::get('/{id}/ngo/edit/{editid}','ngoController@edit');
//Route::get('/{id}/ngo/delete/{deleteid}','ngoController@delete');
Route::get('/{id?}/ngo/sponsor','ngoController@sponsor')->where('id', '(.*)');
//Route::post('/{id}/ngo/sponsor', 'ngoController@addsponsor');
//Route::get('/{id}/ngo/sponsor-delete/{sid}', 'ngoController@deletesponsor');
Route::post('/{id?}/ngo/invite', 'ngoController@invite')->where('id', '(.*)');
Route::get('/{id?}/ngo/sponsor/accept/{accept_id}', 'ngoController@sponsorAcceptNgo')->where('id', '(.*)');

Route::get('/{id?}/ngo/template', 'ngoController@template')->where('id', '(.*)');
Route::post('/{id?}/ngo/addTemplate', 'ngoController@addTemplate')->where('id', '(.*)');
Route::get('/{id?}/ngo/selectTemplate/{template_id}', 'ngoController@selectTemplate')->where('id', '(.*)');
Route::post('/{id?}/ngo/updateTemplate', 'ngoController@updateTemplate')->where('id', '(.*)');

Route::get('/{id?}/team','relationshipController@index')->where('id', '(.*)');
Route::get('/{id?}/team/member','relationshipController@member')->where('id', '(.*)');
Route::get('/{id?}/team/manager-member','relationshipController@managermember')->where('id', '(.*)');
Route::post('/{id?}/team/add','relationshipController@add')->where('id', '(.*)');
Route::get('/{id?}/team/select/{user_id}','relationshipController@select')->where('id', '(.*)');
Route::post('/{id?}/team/edit','relationshipController@edit')->where('id', '(.*)');
Route::get('/{id?}/relationship-manager/ngoproduct','RmController@ngoproduct')->where('id', '(.*)');
Route::post('/{id?}/team/team-delete','relationshipController@deleteTeam')->where('id', '(.*)');




// project here
Route::post('/{id?}/project/project-add/','ProjectController@projectadd')->where('id', '(.*)');
Route::post('/{id?}/project/project-delete/{project_id}','ProjectController@projectdelete')->where('id', '(.*)');
Route::get('/{id?}/project/select/{project_id}','ProjectController@select')->where('id', '(.*)');
Route::get('/{id?}/project/allProject', 'ProjectController@allProject')->where('id', '(.*)');

Route::get('/{id?}/project/shareProjectTeam/{project_id}', 'ProjectController@shareProjectTeam')->where('id', '(.*)');

Route::post('/{id?}/project/shereProjectToTeam', 'ProjectController@shereProjectToTeam')->where('id', '(.*)');

// setting here
Route::get('/{id?}/settings','settingsController@settings')->where('id', '(.*)');
Route::post('/{id?}/settings/settingupdate','settingsController@settingupdate')->where('id', '(.*)');
Route::get('/{id?}/settings/change-password','settingsController@changepassword')->where('id', '(.*)');
Route::post('/{id?}/settings/change-password/password-update','settingsController@passwordupdate')->where('id', '(.*)');
Route::get('/{id?}/settings/organization','settingsController@organization')->where('id', '(.*)');
Route::post('/{id?}/settings/organizationUpdate','settingsController@organizationUpdate')->where('id', '(.*)');
Route::get('/{id?}/settings/board-member','settingsController@boardMember')->where('id', '(.*)');
Route::post('/{id?}/settings/board-member','settingsController@boardMember')->where('id', '(.*)');
Route::post('/{id?}/settings/getOffice','settingsController@getOffice')->where('id', '(.*)');
Route::post('/{id?}/settings/getCityBYdistrict','settingsController@getCityBYdistrict')->where('id', '(.*)');

Route::get('mail', 'RegisterController@mail');
Route::get('{id?}/logout', '\App\Http\Controllers\Auth\LoginController@logout')->where('id', '(.*)');

// admin here
Route::get('admin/adminDashboard', 'adminController@adminDashboard');
Route::get('admin/projects', 'adminController@project');
Route::post('admin/invite', 'adminController@invite');
Route::get('admin/user-approve/{id}', 'adminController@userApprove');
Route::get('admin/user-decline/{id}', 'adminController@userDecline');
Route::get('admin/category', 'adminController@category');
Route::post('admin/category', 'adminController@addcategory');
Route::get('admin/category-delete/{cid}', 'adminController@deletecategory');
Route::get('admin/sponsor', 'adminController@sponsor');
Route::post('admin/sponsor', 'adminController@addsponsor');
Route::get('admin/sponsor-delete/{sid}', 'adminController@deletesponsor');
Route::get('admin/report', 'adminController@report');
Route::get('admin/custom-create', 'adminController@customCreate');
Route::get('admin/custom-print', 'adminController@customPrint');
Route::post('admin/printup', 'adminController@printUpdate');

Route::get('/{id?}/dashboard/success','dashboardController@success')->where('id', '(.*)');

// demo 
Route::get('/{id?}/demo/dashboard', 'demoController@dashboard')->where('id', '(.*)');
Route::get('/{id}/dashboard','dashboardController@index')->where('id', '(.*)');
Route::get('/{id?}/demo/project', 'demoController@project')->where('id', '(.*)');
Route::get('/{id?}/project','ProjectController@index')->where('id', '(.*)');

//Route::get('/{id}/demo/ngo', 'demoController@ngo');
Route::get('/{id?}/demo/team', 'demoController@team')->where('id', '(.*)');
Route::get('/{id?}/demo/report/{pid}', 'demoController@report')->where('id', '(.*)');
Route::get('/{id?}/demo/make', 'demoController@make')->where('id', '(.*)');
Route::post('/{id?}/demo/teamadd', 'demoController@teamadd')->where('id', '(.*)');
Route::post('/{id?}/demo/teamedit', 'demoController@teamedit')->where('id', '(.*)');
Route::get('/{id?}/demo/sponsor', 'demoController@sponsor')->where('id', '(.*)');
Route::post('/{id?}/demo/filter', 'demoController@filter')->where('id', '(.*)');

// report 
Route::get('/{id?}/report/sendmail/{fileid}', 'reportController@sendmail')->where('id', '(.*)');
Route::get('/{id?}/report/make', 'reportController@make')->where('id', '(.*)');
Route::get('/{id?}/report/progress-make', 'reportController@progressMake')->where('id', '(.*)');
Route::get('/{id?}/report/{pid}', 'reportController@index')->where('id', '(.*)');


Route::get('/{id?}/report/progress/{pid}', 'reportController@progress')->where('id', '(.*)');
Route::post('/{id?}/report/update-progress/{pid}', 'reportController@updateProgress')->where('id', '(.*)');
Route::post('/{id?}/report/update/{pid}', 'reportController@update')->where('id', '(.*)');
Route::post('/{id?}/report/upload/{imgname}', 'reportController@upload')->where('id', '(.*)');
Route::get('/{id?}/report/delete/{imgname}/{did}', 'reportController@delete')->where('id', '(.*)');
Route::post('/{id?}/report/uploadgraph/{pid}', 'reportController@uploadgraph')->where('id', '(.*)');
Route::get('/{id?}/ganttchart/test/', 'GanttchartController@test')->where('id', '(.*)');
Route::post('/{id?}/report/sponsor/', 'reportController@sponsor')->where('id', '(.*)');

//customer report 
Route::get('/{id?}/creport', 'creportController@index');
Route::get('/{id?}/creport/edit/{rid}', 'creportController@edit');
Route::get('/{id?}/creport/print/{rid}', 'creportController@print');
Route::post('/{id?}/creport/printup', 'creportController@printUpdate');
Route::post('/{id?}/creport/report_images', 'creportController@reportImages');
Route::get('/{id?}/creport/report_images/{pid}', 'creportController@reportImages1');
Route::post('/{id?}/creport/templateUpdate', 'creportController@templateUpdate');

// buy 
Route::get('/{id?}/buy', 'buyController@index')->where('id', '(.*)');
Route::post('/{id?}/buy/update', 'buyController@update')->where('id', '(.*)');
Route::get('error', 'errorController@index');
Route::get('/{id?}/chat/', 'chatController@index')->where('id', '(.*)');
Route::post('/{id?}/chat/startchat', 'chatController@startchat')->where('id', '(.*)');
Route::post('/{id?}/chat/sendChat', 'chatController@sendChat')->where('id', '(.*)');
Route::post('/{id?}/chat/chatHeartbeat', 'chatController@chatHeartbeat')->where('id', '(.*)');

//comment 
Route::post('{id?}/ganttchart/comment', 'GanttchartController@comment')->where('id', '(.*)');
Route::post('{id?}/ganttchart/commentAdd', 'GanttchartController@commentAdd')->where('id', '(.*)');
Route::post('{id?}/ganttchart/commentDelete', 'GanttchartController@commentDelete')->where('id', '(.*)');
Route::post('{id?}/ganttchart/kpiDelete', 'GanttchartController@kpiDelete')->where('id', '(.*)');

//chartdeshboard
Route::post('/{id?}/dashboard/filterPercentageChart/{demo_ngo_id}', 'dashboardController@filterPercentageChart')->where('id', '(.*)');
Route::post('/{id?}/dashboard/filterFunds', 'dashboardController@filterFunds')->where('id', '(.*)');
Route::post('/{id?}/dashboard/filterKpi/{demo_ngo_id}', 'dashboardController@filterKpi')->where('id', '(.*)');


Auth::routes();

/*Route::get('/', function () {
    return view('welcome');
});*/