sampleposteddata.cfm 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!---
  2. /*
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2009 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. * - GNU General Public License Version 2 or later (the "GPL")
  12. * http://www.gnu.org/licenses/gpl.html
  13. *
  14. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. * http://www.gnu.org/licenses/lgpl.html
  16. *
  17. * - Mozilla Public License Version 1.1 or later (the "MPL")
  18. * http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * This page lists the data posted by a form.
  23. */
  24. --->
  25. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  26. <html>
  27. <head>
  28. <title>FCKeditor - Samples - Posted Data</title>
  29. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  30. <meta name="robots" content="noindex, nofollow">
  31. <link href="../sample.css" rel="stylesheet" type="text/css" />
  32. </head>
  33. <body>
  34. <h1>FCKeditor - Samples - Posted Data</h1>
  35. This page lists all data posted by the form.
  36. <hr>
  37. <cfif listFirst( server.coldFusion.productVersion ) LT 6>
  38. <cfif isDefined( 'FORM.fieldnames' )>
  39. <cfoutput>
  40. <hr />
  41. <table border="1" cellspacing="0" id="outputSample">
  42. <colgroup><col width="80"><col></colgroup>
  43. <thead>
  44. <tr>
  45. <th>Field Name</th>
  46. <th>Value</th>
  47. </tr>
  48. </thead>
  49. <tr>
  50. <th>FieldNames</th>
  51. <td>#FORM.fieldNames#</td>
  52. </tr>
  53. <cfloop list="#FORM.fieldnames#" index="key">
  54. <tr>
  55. <th>#key#</th>
  56. <td><pre>#HTMLEditFormat( evaluate( "FORM.#key#" ) )#</pre></td>
  57. </tr>
  58. </cfloop>
  59. </table>
  60. </cfoutput>
  61. </cfif>
  62. <cfelse>
  63. <cfdump var="#FORM#" label="Dump of FORM Variables">
  64. </cfif>
  65. </body>
  66. </html>