主页 > 编程资料 > 帝国CMS >
发布时间:2015-09-25 作者:网络 阅读:232次
下载 FCKeditor 放在网站根目录

admin/AddSoft.php
第80行
$softsay=htmlspecialchars($r[softsay]); 改成 $softsay=$r[softsay];

data/form/1.php
第224行
<textarea name="softsay" cols="67" rows="12" style="WIDTH:100%"><?=$softsay?></textarea> 改成 <?=$oFCKeditor->Create();?>

在顶部?>前增加
include("../FCKeditor/fckeditor.php") ; //FCKeditor 包含文件
$oFCKeditor = new FCKeditor('softsay') ;
$oFCKeditor->BasePath = "../FCKeditor/" ;
$oFCKeditor->Value = "$softsay";
关键字词: