window.opener.location.reload(true); window.close(); }); </script> </head> <body> <form> <br /> <div align="center"><input type="button" name="home" value="<?php echo $string['ok']; ?> " class="ok" onclick="closeWindow();" /></div> </form> <?php } else { $current_address = NetworkUtils::get_client_address(); $note_details = PaperNotes::get_note($paperID, $current_address, $mysqli); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="content-type" content="text/html;charset=<?php echo $configObject->get('cfg_page_charset'); ?> " /> <title><?php echo $string['note']; ?> </title>