session_start();
include("specialcontrol/init.php");
include("settings.php");
$request = substr( $_SERVER['REQUEST_URI'], 1, 100000 );
$params = explode( "/", $request );
include("current_lang.php");
include("specialchars.php");
include("translate.php");
include('stores_settings.php');
include('url_title_finder.php');
include('../' . $url_Thumb . '/phpThumb/phpThumb.config.php');
switch ( $url_title ) {
case "login":
$module = 'login';
break;
case "register":
$module = 'register';
break;
case "registration-successful":
$module = 'registration-successful';
break;
case "registration-activated":
$module = 'registration-activated';
break;
case "my-account":
$module = 'my-account';
break;
case "change-password":
$module = 'change-password';
break;
case "change-password-successful":
$module = 'change-password-successful';
break;
case "recover-credentials":
$module = 'recover-credentials';
break;
case "recover-successful":
$module = 'recover-successful';
break;
case "reenter-credentials":
$module = 'reenter-credentials';
break;
case "reenter-successful":
$module = 'reenter-successful';
break;
case "wishlist":
$module = 'wishlist';
break;
case "search":
$module = 'search';
break;
case "cart":
$module = 'cart';
break;
case "order-login-register":
$module = 'order-login-register';
break;
case "order-details":
$module = 'order-details';
break;
case "order-completed":
$module = 'order-completed';
break;
case "failpage":
$module = 'failpage';
break;
case "thank-you-contact":
$module = 'thank-you-contact';
break;
case "thank-you-coupon":
$module = 'thank-you-coupon';
break;
case "newsletter-successful":
$module = 'newsletter-successful';
break;
case "gifts":
$module = 'gifts';
break;
case "brands":
$module = 'brands';
break;
case "paypal":
$module = 'paypal';
break;
case "skroutzCoupon":
$module = 'skroutzCoupon';
break;
/*case "black-friday":
$module = 'black-friday';
break;*/
default:
include('module_finder.php');
}
include('sessions.php');
include('header-titlesNew2.php');
include('frontPageQueries.php');
include('meta_tags.php');
//clear cart if session is 15 days ago
include('clear-cart.php');
if ( $module == 'page_not_found' ) {
header( "HTTP/1.1 404 Not Found" );
}
?>
//include("cookieConsent.php");
include("cookieBot.php");
?>
if(0) { ?>
www.aplada.gr - Χαρτικά είδη, αναλώσιμα γραφείου και είδη ζωγραφικής και diy από τα
χαρτοπωλεία Απλαδά.
}?>
include('dialogs.php'); ?>
//include('cookies_accept.php'); ?>
if ( $module == 'search' ) {
//include('fb_search.php');
} ?>
if ( $module == 'products' ) {
include('reviews_pop_up.php');
} ?>
if ( $module != 'cart' && $module != 'order-details' ) include('shopping-bag-box.php'); ?>
if ( $module == 'cart' ) {
//include('cart_pop_up.php');
} ?>
if ( !$module ) {
include('sliderD.php');
include('slider-mobileD.php');
}
?>
switch ( $module ) {
case "cms":
include("cms.php");
break;
case "contact":
include("contact.php");
break;
case "stores-list":
include("stores-list.php");
break;
case "login":
include("login.php");
break;
case "register":
include("register.php");
break;
case "registration-successful":
include("registration-successful.php");
break;
case "registration-activated":
include("registration-activated.php");
break;
case "my-account":
include("my-account.php");
break;
case "change-password":
include("change-password.php");
break;
case "change-password-successful":
include("change-password-successful.php");
break;
case "recover-credentials":
include("recover-credentials.php");
break;
case "recover-successful":
include("recover-successful.php");
break;
case "reenter-credentials":
include("reenter-credentials.php");
break;
case "reenter-successful":
include("reenter-successful.php");
break;
case "wishlist":
include("wishlist.php");
break;
case "products_categories":
include("products_categories_landing.php");
break;
case "products_features":
include("products_features.php");
break;
case "search":
include("searchNew2.php");
break;
case "products":
include("products.php");
break;
case "cart":
include("cart.php");
break;
case "order-login-register":
include("order-login-register.php");
break;
case "order-details":
include("order-details.php");
break;
case "order-completed":
include("order-completed.php");
break;
case "failpage":
include("failpage.php");
break;
case "page_not_found":
include("page_not_found.php");
break;
case "thank-you-contact":
include("thank-you-contact.php");
break;
case "thank-you-coupon":
include("thank-you-coupon.php");
break;
case "newsletter-successful":
include("newsletter-successful.php");
break;
case "gifts":
include("gifts.php");
break;
case "brands":
include("brands.php");
break;
case "paypal":
include("paypal.php");
break;
case "skroutzCoupon":
include("skroutzCoupon.php");
break;
default:
include("frontpage.php");
}
?>
if ( $module == 'order-details' ) include('dialog-cartNEW.php'); ?>
} else { ?>
//include('cookies_accept.php'); ?>
include('black-friday/header.php'); ?>
include('black-friday/main.php'); ?>
include('black-friday/footer.php'); ?>
} ?>
include("gtag_members.php");
include('breadcrumb_schema.php');
if( !$module || $module == 'cms' || $module == 'stores-list' || $module == 'contact' ) {
include('organization_json_ld.php');
}
if ( !$module ) {
include("carousel_js.php");
include("slider_js.php");
include("viewer_js.php");
include("newsletter_code.php");
include("ticker_js.php");
}
if($module!='black-friday') {
include("search_codeNew.php");
include("logout_code.php");
include("favourite_code.php");
include("addCart_code.php");
}
if ( $module != 'cart' && $module!='black-friday' ) {
include("cart_global_code.php");
}
if ( $module == 'contact' ) {
include("contact_code.php");
include("viewer_js.php");
}
if ( $module == 'skroutzCoupon' ) {
include("skroutzCoupon_code.php");
include("viewer_js.php");
}
if ( $module == 'login' || $module == 'registration-activated' ) include("login_code.php");
if ( $module == 'register' ) include("register_code.php");
if ( $module == 'change-password' ) include("change_password_code.php");
if ( $module == 'recover-credentials' ) include("recover_credentials_code.php");
if ( $module == 'reenter-credentials' ) include("reenter_credentials_code.php");
if ( $module == 'my-account' ) include("my_account_code.php");
if ( $module == 'products_categories' || $module == 'products_features' || $module == 'search' ) {
include('range_price_js.php');
include('filters-code.php');
include('gtag_products_list.php');
}
if ( $module == 'wishlist' ) include("wishlist_code.php");
if ( $module == 'products' ) {
include('carousel_js.php');
include("viewer_js.php");
include('products_code.php');
include("fb_code.php");
//include('fb_products.php');
include('products_slider_flickity_js.php');
include('gtag_products.php');
include('products_json_ld.php');
}
if ( $module == 'cart' ) {
include("cart_code.php");
}
if ( $module == 'order-login-register' ) include("order-login-register_code.php");
if ( $module == 'order-details' ) {
include("order-details_code.php");
include("viewer_js.php");
include('sticky_js.php');
include("dialog-cart_code.php");
}
if ( $module == 'products_categories' || $module == 'products_features' || $module == 'search' ) {
include('sticky2_js.php');
}
//include('cookies_accept_code.php');
if($module!='black-friday') {
include('skroutz-analytics.php');
include('bestprice-analytics.php');
}
if ( $module == 'order-completed' ) {
include('skroutz-analytics-tracking-order.php');
include('bestprice-analytics-tracking-order.php');
}
if ( $module == 'brands' ) include('search_brands_code.php');
if ( $module == 'paypal' ) {
include('paypal_js.php');
}
if ( $module == 'cart' ) {
//include('fb_addtocart.php');
}
include('check_consent_js.php');
mysqli_close( $conn );
?>