<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| Typically there is a one-to-one relationship between a URL string
| and its corresponding controller class/method. The segments in a
| URL normally follow this pattern:
|
| 	www.your-site.com/class/method/id/
|
| In some instances, however, you may want to remap this relationship
| so that a different class/function is called than the one
| corresponding to the URL.
|
| Please see the user guide for complete details:
|
|	http://codeigniter.com/user_guide/general/routing.html
|
| -------------------------------------------------------------------------
| RESERVED ROUTES
| -------------------------------------------------------------------------
|
| There are two reserved routes:
|
|	$route['default_controller'] = 'welcome';
|
| This route indicates which controller class should be loaded if the
| URI contains no data. In the above example, the "welcome" class
| would be loaded.
|
|	$route['scaffolding_trigger'] = 'scaffolding';
|
| This route lets you set a "secret" word that will trigger the
| scaffolding feature for added security. Note: Scaffolding must be
| enabled in the controller in which you intend to use it.   The reserved 
| routes must come before any wildcard or regular expression routes.
|
*/
//Start of routes
$route['default_controller'] = "page";
$route['scaffolding_trigger'] = "";
$route['admin']="page/login";


 /*?>$route['home']="page/home";
$route['home_new']="page/home_new";
$route['home_new2']="page/home_new2";
$route['main']="page/home";
$route['contact']="emailform";
$route['history']="page/history";
$route['products/(:any)/(:num)']="page/products/$1/$2";
$route['product_price/(:any)/(:num)/(:any)']="page/product_price_new/$1/$2/$3";
$route['product_price_new/(:any)/(:num)/(:any)']="page/product_price_new/$1/$2/$3";
$route['news/(:num)']="page/view_new/$1";
$route['view_product/(:num)']="page/view_product/$1";
$route['product/(:num)/(:any)']="page/product/$1/$2";
$route['view_more_photos/(:num)']="page/view_more_photos/$1";
$route['register']="page/register";
$route['forgot_psrd']="page/forgot_psrd";
$route['pages/(:any)']="page/pages/$1";
$route['change_info']="page/change_info";
$route['change_password']="page/change_password";
$route['logout']="page/logout_client";
$route['delete_account']="page/delete_account";
$route['view_orders']="page/view_orders";
$route['view_order/(:num)']="page/view_order/$1";
$route['search']="page/search";
$route['search_results/(:any)']="page/search_results/$1";
$route['variety/(:any)']="page/variety/$1";
$route['nameday_results/(:any)']="page/nameday_results/$1";
$route['nameday_res']="page/nameday_res";
$route['christmass_offer']="page/christmass_offer";

$route['ajax-search/(:any)']="page/live_search_results/$1";


$route['by_price']="page/by_price";
$route['by_price_view']="page/by_price_view";
$route['by_price_new']="page/by_price_new";
$route['by_price_view_new']="page/by_price_view_new";
$route['by_price_cat_view/(:any)']="page/by_price_cat_view/$1";

$route['txt/(:any)']="page/pages_2/$1";
$route['wpage/(:any)']="page/pages_3/$1";

$route['terms']="page/terms";
$route['payment']="page/payment";
$route['shipping']="page/shipping";
$route['personal']="page/personal";
$route['name-day']="page/name_day";
$route['klirwsi']="page/klirwsi";
$route['health']="page/health";
$route['wine_roads']="page/wine_roads";
$route['newsletter_easter']="page/newsletter_easter";
$route['newsletter_spring']="page/newsletter_spring";

$route['add_to_cart/(:any)']="page/add_to_cart/$1";
$route['view_cart']="page/view_cart";
$route['remove_product/(:any)']="page/remove_product/$1";
$route['complete_order_1']="page/step_1";
$route['complete_order_2/(:any)']="page/step_2/$1";


$route['complete_order_2_2']="page/step_2_2_new2";

$route['complete_order_2_2_new']="page/step_2_2_new";
$route['complete_order_2_2_new2']="page/step_2_2_new2";
$route['transfer_estimator']="page/transfer_estimator";

$route['complete_order_2_3']="page/step_2_3";
$route['complete_order_3']="page/step_3_new2";

$route['complete_order_3_new']="page/step_3_new";
$route['complete_order_3_new2']="page/step_3_new2";

$route['complete_order_4']="page/step_4_new2";

$route['complete_order_4_new']="page/step_4_new";
$route['complete_order_4_new2']="page/step_4_new2";

$route['validation']="page/validation";

$route['payment_successful']="page/complete_payment_new2";
$route['payment_declined']="page/payment_declined";
$route['paypal_payment_successful/(:any)']="page/complete_payment_paypal_new/$1";
$route['subscribe']='page/subscribe';


$route['buy_offer_1']="page/buy_offer_1";
$route['buy_offer_2']="page/buy_offer_2";
$route['buy_offer_1b']="page/buy_offer_1b";
$route['send_offer_order']="page/send_offer_order";
$route['final_offer_order']="page/final_offer_order";
*/

//End of routes

//$route['accomodation_area/(:num)/(:any)']="page/accomodation_area/$1/$2";
//$route['accomodation_area/(:num)']="page/accomodation_area/$1";

//$route['hotel/(:num)']="page/hotel_view/$1";
//$route['hotel_contact/(:num)']="hotelform/index/$1";

//$route['about']="page/about_us";
//$route['job']="page/job";
//$route['cnstr_details']="page/cnstr_details";
//$route['contact']="emailform";
//$route['completed']="page/projects/1";
//$route['under_construction']="page/projects/0";
//$route['coming_soon']="page/projects/2";
#added routes for better SEO {custom made}
//$route['admin'] = 'admin';
//$route['admin(.*)'] = 'admin$1';
//$route[":any"] = "page";
//$route['home']='page/index';
//$route['newsletter']='page/newsletter';
//$route['get_newsletter/(:num)']="page/getnewsletter/$1";
//$route['news']='page/category/1';
//$route['news#(:num)'] = "page/category/1#$1";
//$route['public_matterial']='page/pages/press';
//$route['studies']='page/category/5';
//$route['studies#(:num)']='page/category/5#$1';
//$route['e_newsletter']='enewsletter/index';
//$route['e_unsubscribe']='eunsubscribe/index';
//$route['unsubscribe']='page/unsubscribe';
//$route['send_to_friend']='page/send_to_friend';
//$route['tell_a_friend']='page/tell_a_friend';
//$route['links']='page/pages/links';
//$route['contact_us']='emailform/index';
//$route['pressroom']='page/pages/pressroom';
//$route['press1']='page/press1';
//$route['press2']='page/press2';
//$route['press2_press']='page/press2_press';
//$route['information']='page/ektheseis';
//$route['recycling']='page/category/6';
//$route['recycling#(:num)']='page/category/6#$1';
//$route['glass_pack']='page/pages/glass_pack';
//$route['login']='page/login';
//$route['thankyou']='page/thankyou';
//$route['ethankyou']='page/ethankyou';
//$route['email_exist']='page/email_exist';
//$route['wrong_form']='page/wrong_form';
//$route['verify']='page/verify';

/* End of file routes.php */
/* Location: ./system/application/config/routes.php */