Просмотр файла www/adm/js/save_ok.php
<?php session_start(); $cms = $_SESSION['cms_2']; if ($_POST['code_tem'] != '') { $fp = fopen ($cms.$_SESSION['red_element'], "w+"); fwrite ($fp, stripslashes($_POST['code_tem'])); fclose ($fp); echo ' <script type="text/javascript"> parent.mess_show(); setTimeout("parent.mess_head();", 1000); </script> '; } ?>