Features
Requirements
Installation&Using
Demo
Order
License
Contact us
Support
Download
Useful Links
About us

­

Freeware and shareware downloads

Freeware and shareware downloads

www.smartdownloads.net





Software download Center

Demo

Rate Our Resource @ Bigwebmaster.com

Multiple editor instances placed on the same page.

News #2 (default mode, dutch language, xhtml generation):
News #3 (simple mode - adjustable):

Code of the form is like the following:

<?php
  $class_path = "class/";
  require_once($class_path."class.rich.php");

//  Alternative method (independent to location of scripts using RE):
//  $class_path = "/class/"; //if editor is placed in www.yourdomain.com/class/
//  require_once("/home/user/public_html/class/class.rich.php");
//  or
//  require_once($_SERVER['DOCUMENT_ROOT'].$class_path."class.rich.php");


?>

<form method="post" onsubmit="save_in_textarea_all();">
<input type="hidden" name="action" value="submit">
<?php
  @extract($_POST);

  if ($action == "submit") {
    echo "You wrote #2:<br>".stripslashes($rich_two)."<br><br>";
    echo "You wrote #3:<br>".stripslashes($rich_three)."<br><br>";
  }

  $val_two = 'blah blah blah';

  $val_three = 'blah blah blah';

  $ed_2 = new rich('News #2 (default mode, dutch language)', 'rich_two', $val_two, "100%", 300,
                   "/demo_rich/files/friends/",
                   "/demo_rich/files/friends/");
  $ed_2->set_lang('nl');
  $ed_2->xhtml_mode();
  $ed_2->draw(); // or echo $ed_2->get_rich();

  $ed_3 = new rich('News #3 (simple mode - adjustable)', 'rich_three', $val_three, "100%", 300,
                   "/demo_rich/files/friends/",
                   "/demo_rich/files/friends/");
  $ed_3->simple_mode();
  $ed_3->draw(); // or echo $ed_3->get_rich();

?>
<input type="submit" value="Ok"> 
</form>

Rate Our Script @ HotScripts.com