in die includes/application_top.php if( isset( $_SESSION['customers_status']['customers_status_id'] ) && $_SESSION['customers_status']['customers_status_id'] == 0 && $_GET['honeygrid'] == '1' || $_SESSION["tpl"] == 'honeygrid') { $c_template = 'honeygrid'; } else { $c_template = $c_default_template; $c_mobile_template_active = 'false'; } if( isset( $_SESSION['customers_status']['customers_status_id'] ) && $_SESSION['customers_status']['customers_status_id'] == 0 && $_GET['honeygrid'] == '1' || $_SESSION["tpl"] == 'honeygrid') { $c_template = 'honeygrid'; } if( $coo_mobile_control != false ) { // TEMPLATE SWITCHER $c_is_mobile_device = $coo_mobile_control->is_mobile_device(); if( $c_mobile_template_active == 'false' && $c_is_mobile_device == 'true' && $c_mobile_template != 'false' ) { $coo_text_mgr = MainFactory::create_object('LanguageTextManager', array('mobile_template', $_SESSION['languages_id'])); $t_current_url = xtc_href_link( basename( $_SERVER["SCRIPT_NAME"] ), 'tpl=' . $c_mobile_template . '&' . xtc_get_all_get_params( array( 'tpl' ) ) ); $c_template_switcher = '' . $coo_text_mgr->get_text('mobile_view') . ' '; } }