| 1 | <? |
|---|
| 2 | include("FCKeditor/fckeditor.php") ; |
|---|
| 3 | ?> |
|---|
| 4 | <html> |
|---|
| 5 | <head> |
|---|
| 6 | <title>FCKeditor - Sample</title> |
|---|
| 7 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|---|
| 8 | </head> |
|---|
| 9 | <body> |
|---|
| 10 | <form action="savedata.php" method="post"> |
|---|
| 11 | <table style="width:800px;height:700px;"> |
|---|
| 12 | <tr> |
|---|
| 13 | <td> |
|---|
| 14 | <div style="overflow:auto;height:100%;width:inherit"> |
|---|
| 15 | <div style="width:inherit;height:100px;"> |
|---|
| 16 | <div style="height:500px;"> </div> |
|---|
| 17 | <? |
|---|
| 18 | $oFCKeditor = new FCKeditor('FCKeditor1') ; |
|---|
| 19 | $oFCKeditor->BasePath = '/FCKeditor/'; |
|---|
| 20 | $oFCKeditor->Value = 'Default text in editor'; |
|---|
| 21 | $oFCKeditor->Create() ; |
|---|
| 22 | ?> |
|---|
| 23 | <div style="height:300px;"> </div> |
|---|
| 24 | </div> |
|---|
| 25 | </div> |
|---|
| 26 | </td> |
|---|
| 27 | </tr> |
|---|
| 28 | </table> |
|---|
| 29 | <input type="submit" value="Submit"> |
|---|
| 30 | </form> |
|---|
| 31 | </body> |
|---|
| 32 | </html> |
|---|