Location: PHPKode > projects > MyFWB - Faisal Shah's dition > MyFWB/includes/core_editor_edit.php

if($_SESSION["admin_permission"] == "Yes")

echo "don't try to access the style of editor directly";
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
var oFCKeditor = new FCKeditor( 'page_content' ) ;
oFCKeditor.BasePath = "fckeditor/" ;
oFCKeditor.ReplaceTextarea() ;
	$page_title = stripslashes("$page_edit[pagetitle]");
	 echo "<form action=\"?action=edited&sid=$sid\" method=\"post\">
		<b>Page title/name :</b>
		<input type=\"text\" name=\"pagetitle\" value=\"$page_title\" size=\"86\" maxlength=\"99\">"; 
$page_content = kill_slashes($page_edit["page_content"]);

echo "<textarea id=\"page_content\" name=\"page_content\"  row=\"1\" cols=\"20\">$page_content</textarea>";
$page_id = $page_edit["pageid"];
echo "<input type=\"hidden\" name=\"pageid\" value=\"$page_id\" />";
echo "<input name=\"submit\" type=\"submit\" value=\"Submit\">";
echo "</form>";
Return current item: MyFWB - Faisal Shah's dition