亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

php fckeditor 調(diào)用的函數(shù)

 更新時間:2009年06月21日 18:54:47   作者:  
showfck() 編輯器調(diào)用函數(shù)
復(fù)制代碼 代碼如下:

/*
* showfck() 編輯器調(diào)用函數(shù)
* @name 名字 (必須)
* @val value默認(rèn)值
* @toolbarset fck工具欄名字
* @width 寬度
* @height 高度
*/
function showfck($name, $val= '', $toolbarset = '', $width = '100%', $height = '200'){
$classname = 'fckname';
echo "<div class=\"$classname\">";
require_once WEB_ROOT . './include/fckeditor/fckeditor.php';
$fck = new FCKeditor($name);
$fck->BasePath = './include/fckeditor/';
$fck->Config['CustomConfigurationsPath'] = $fck->BasePath . 'custom_config.js';
$fck->ToolbarSet = $toolbarset;
$fck->Value = $val;
$fck->Width = $width;
$fck->Height = $height;
$fck->Create('');
echo "</div>";
}

相關(guān)文章

最新評論