Sindbad~EG File Manager

Current Path : /home/numerotech/public_html/mc.purplemail.in/app/
Upload File :
Current File : //home/numerotech/public_html/mc.purplemail.in/app/routes.php

<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

Route::get('test', function()
{		
    
    echo "test";
    
// 	$campaign	= 'campaign';
// 	$content	= 'content';
// 	$fromEmail	= 'shasmitha@numerotec.com';
// 	$fromName	= 'Shasmitha';
// 	$subject	= 'Subject';
// 	$to			= 'karthik@numerotec.com';
// 	$mailContent 	= array( "campaign" => $campaign ,"content" => $content);
	
// 	/*return View::make("feedbacks/email");*/
// 	Mail::send('feedbacks/email', $mailContent, function($message) use ($fromEmail, $fromName, $subject, $to) {
// 		$message->replyTo($fromEmail, $fromName);
// 		$message->to($to)->subject($subject);
// 	});	

});

Route::group(array('prefix' => 'mail'),function(){
	Route::get('create/{key}','SendMailController@Create');
	Route::post('sendmail','SendMailController@Sendmail');
});


/*Route::get('subscription', 	'SubscribeController@manageCreate');
Route::post('subscription', 'SubscribeController@managePost');
Route::get('subscription/view/{societyId}/{subscription}','SubscribeController@view');*/
Route::get('subscription/view/{societyId}/{subscription}','SubscribeController@view');

Route::get('subscription', 	'SubscribeController@manageCreate');
Route::post('subscription', 'SubscribeController@managePost');

Route::any('contact/store', 'SubController@store');

Route::any('states/country', 'SubController@GetStatesByCountry');
Route::any('cities/state', 'SubController@GetCitiesByState');

Route::get('contacts/download', 'SubController@createDownload');
Route::post('contacts/download', 'SubController@postDownload');

Route::get('contacts/upload', 'SubController@createUpload');
Route::post('contacts/upload', 'SubController@postUpload');

Route::any('campaigns', 'FeedbackController@listCampaigns');

Route::get('campaign/create', 'FeedbackController@campaignCreate');
Route::post('campaign/store', 'FeedbackController@campaignPost');
Route::get('campaign/edit/{campaignID}', 'FeedbackController@campaignEdit');

Route::get('campaigns/report', 'FeedbackController@campaignsReport');
Route::get('feedback/{list_id}/{email_uid}/{campaign_no}/{option}', 'FeedbackController@feedbackCreate');
Route::any('campaigns/feedbacks', 'FeedbackController@listFeedbacks');

Route::post('feedback', 'FeedbackController@feedbackPost');
Route::get('feedback/view', 'FeedbackController@feedbackView');

/*Route::get('subscription', 'SubscribeController@edit');
Route::post('subscription', 'SubscribeController@post');*/



Route::get('subscriptiontest', 	'SubscribeController@managePostTest2');

//References
	//http://phptrends.com/dig_in/mailchimp-api-v3
	//

	//https://github.com/hugofirth/laravel-mailchimp
	//How to setup the MailChimp API with Laravel 4
	//http://www.jeffmould.com/2013/11/13/how-to-setup-the-mailchimp-api-with-laravel-4/
	

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists