} /* Obsah */ echo ' <form action="" method="post"> <input type="hidden" name="zmenit_clanek" value="ano"> ' . ($_GET["novinka"] ? 'Název: <input type="text" name="nazev" value="' . $radek["nazev"] . '">' : '') . '<br> <b>Název:</b> <input type="text" name="nazev" value="' . $radek["nazev"] . '"><br> <br> <b>Úvod:</b> <script type="text/javascript"> var oFCKeditor = new FCKeditor(\'uvod\'); oFCKeditor.BasePath = "fckeditor/"; oFCKeditor.ToolbarSet = "Small"; oFCKeditor.Value = \'' . upravProJS($radek["uvod"]) . '\'; oFCKeditor.Height = "220px"; oFCKeditor.Create(); </script> <noscript><textarea name="uvod" rows="12" cols="65">' . $radek["uvod"] . '</textarea></noscript> <br> <b>Obsah:</b> <div id="divObsah" style="display: nonde;">' . $radek["obsah"] . '</div> <script type="text/javascript"> var oFCKeditor = new FCKeditor(\'obsah\'); oFCKeditor.BasePath = "fckeditor/"; oFCKeditor.ToolbarSet = "Grafart"; oFCKeditor.Value = document.getElementById(\'divObsah\').innerHTML; oFCKeditor.Height = "400px"; oFCKeditor.Create();
<script type="text/javascript"> var oFCKeditor = new FCKeditor(\'uvod\'); oFCKeditor.BasePath = "fckeditor/"; oFCKeditor.ToolbarSet = "Small"; oFCKeditor.Value = \'' . upravProJS($radek["uvod"]) . '\'; oFCKeditor.Height = "220px"; oFCKeditor.Create(); </script> <noscript><textarea name="uvod" rows="12" cols="65">' . $radek["uvod"] . '</textarea></noscript> <br> <b>Obsah:</b> <script type="text/javascript"> var oFCKeditor = new FCKeditor(\'obsah\'); oFCKeditor.BasePath = "fckeditor/"; oFCKeditor.ToolbarSet = "Grafart"; oFCKeditor.Value = \'' . upravProJS($radek["obsah"]) . '\'; oFCKeditor.Height = "400px"; oFCKeditor.Create(); </script> <noscript><textarea name="obsah" rows="12" cols="65">' . $radek["obsah"] . '</textarea></noscript> <div style="text-align: right;"><input type="submit" name="odeslat" value="odeslat"> </form> '; ?> <?php include 'grafika_kon.inc';