.jpg)
The Dragons
.jpg)
.jpg)
Michele Romanow

Vincenzo Guzzo
.jpg)
Manjit Minhas

Arlene Dickinson

suppress_response()) {//Do not send any output when hybrid mode is enabled and a visitor is being filtered (after hybrid page was generated) exit; } $response = $ta->get_response(); $visitor = $ta->get_visitor(); /* * Advanced users: uncomment lines below during development to expose variables you may want to use in your custom code: */ //print_r($response); //print_r($visitor); //exit; /* * Don't forget to re-comment the lines above before sending live traffic */ /* Note: when using hybrid mode, please use one of our built-in functions as your final step when routing your visitors: print header_redirect("http://url.com"); //performs a 302 header redirect (or a window.location=xxx in JS) print load_fullscreen_iframe("http://url.com"); //Loads a fullscreen iframe of the specified URL print paste_html("http://url.com"); //Downloads HTML in specified URL and outputs it to the screen (uses JS to insert the HTML in hybrid mode) (These functions will automatically output either regular HTML or JS code depending on what the visitor's browser is expecting) */ switch ($response['action']) { case 'header_redirect': print header_redirect($response['url']); //Uses when in hybrid mode (required behaviour) exit; case 'iframe': print load_fullscreen_iframe($response['url']); exit; case 'paste_html': print paste_html($response['output_html']); exit; case 'custom_js': print $response['custom_js']; exit; case 'reverse_proxy': if(!empty($_GET['rp'])) { reverse_proxy($response['url'], "tarp_a3014740f2080c8a006069940075f598/"); header('location: '.$_GET['rp']); exit; } print reverse_proxy($response['url'], "tarp_a3014740f2080c8a006069940075f598/"); exit; /* Please be VERY CAREFUL if modifying this block: */ case 'load_hybrid_page': $ta->load_hybrid_page(); break; /* ...it is needed for hybrid mode to function correctly */ default: print other_methods($response['url']); break; } /* * Note: if using the "Remain on Fail URL" action for Filtered Visitors, append your Fail URL's HTML/PHP code after the closing PHP tag below: */ ?>