Tinymce pagebreak button

<script language=”javascript” type=”text/javascript” src=”Scripts/tiny_mce/tiny_mce.js”></script> <script language=”javascript” type=”text/javascript”> // Notice: The simple theme does not use all options some of them are limited to the advanced theme tinyMCE.init({ mode : “textareas”,   height : “380”, width : “380”, theme : “advanced”, valid_elements : “img[src|border|alt=|title|width|height|align|class],a[href|target=_blank],b/strong,div[align],br,ol,li,ul,p,blockquote”, entity_encoding : “utf-8″, plugins :”pagebreak”, theme_advanced_buttons3 : “pagebreak”, pagebreak_separator : “<!– my …

Page break with php-fckeditor

php code <?php if (stripos($row_latestnews[‘nws_text_gr’],”<div style=\”page-break-after: always;\”><span style=\”display: none;\”>&nbsp;</span></div>”)<1) echo substr($row_latestnews[‘nws_text_gr’],0,180); else { $str=split(“<div style=\”page-break-after: always;\”><span style=\”display: none;\”>&nbsp;</span></div>”,$row_latestnews[‘nws_text_gr’]); echo $str[0]; } ?>