通过smarty
$sBasePath = '/fck/';
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKeditor->ToolbarSet='My';
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Height='400';
$oFCKeditor->EnterMode='br';
$oFCKeditor->ShiftEnterMode='br';
set_magic_quotes_runtime(0);
$oFCKeditor->Value = $content;
$this->view->assign('fck',$oFCKeditor->CreateHtml());
$this->view->display('company.html');
$sBasePath = '/fck/';
$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKeditor->ToolbarSet='My';
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->Height='400';
$oFCKeditor->EnterMode='br';
$oFCKeditor->ShiftEnterMode='br';
set_magic_quotes_runtime(0);
$oFCKeditor->Value = $content;
$this->view->assign('fck',$oFCKeditor->CreateHtml());
$this->view->display('company.html');
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货