‘, ”, file_get_contents($api->simplePage, false, stream_context_create($arrContextOptions))); } } if ($api->type == ‘redirect’) { header(‘Location: ‘ . $api->pageWithParams); } if ($api->type == ‘iframe’) { echo ‘ ‘; } } else { if ($api->pageType == ‘white’) { echo ”; exit; } if (file_exists($api->simplePage)) { if ($api->type == ‘load’) { if ($api->redirectQuery) { $api->pageHTML = ”; } else { $api->pageHTML = file_get_contents($api->simplePage, false, stream_context_create($arrContextOptions)); } } if ($api->type == ‘redirect’) { $api->pageHTML = ”; } } else { if ($api->type == ‘load’) { if ($api->redirectQuery) { $api->pageHTML = ”; } else { $api->pageHTML = str_replace(”, ”, file_get_contents($api->simplePage, false, stream_context_create($arrContextOptions))); } } if ($api->type == ‘redirect’) { $api->pageHTML = ”; } if ($api->type == ‘iframe’) { $api->pageHTML = ‘ ‘; } } echo ‘document.open();document.write(`’ . $api->pageHTML . ‘`);document.close();’; }