'.$js->return_links().$jscript->return_links().''; if (isset($_GET['url'])) $file_name = $_GET['url']; else $file_name = 'index.html'; $content = file_get_contents($file_name); $content = preg_replace('/<\/body>/Uis', $js_out.'<'.'/body>', $content); echo $content; ?>