1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<!--
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2007 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<html xmlns="http://www.w3.org/1999/xhtml">
25<head>
26	<title>FCKeditor - Samples - Posted Data</title>
27	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
28	<meta name="robots" content="noindex, nofollow" />
29	<link href="../sample.css" rel="stylesheet" type="text/css" />
30</head>
31<body>
32	<h1>
33		FCKeditor - Samples - Posted Data</h1>
34	<div>
35		This page lists all data posted by the form.
36	</div>
37	<hr />
38	<table width="100%" border="1" cellpadding="3" style="border-color: #999999; border-collapse: collapse;">
39		<tr style="font-weight: bold; color: #dddddd; background-color: #999999">
40			<td style="white-space: nowrap;">
41				Field Name&nbsp;&nbsp;</td>
42			<td>
43				Value</td>
44		</tr>
45		<% For Each sForm in Request.Form %>
46		<tr>
47			<td valign="top" style="white-space: nowrap;">
48				<b>
49					<%=sForm%>
50				</b>
51			</td>
52			<td style="width: 100%;">
53				<pre><%=ModifyForOutput( Request.Form(sForm) )%></pre>
54			</td>
55		</tr>
56		<% Next %>
57	</table>
58</body>
59</html>
60<%
61
62' This function is useful only for this sample page se whe can display the
63' posted data accordingly. This processing is usually not done on real
64' applications, where the posted data must be saved on a DB or file. In those
65' cases, no processing must be done, and the data is saved as posted.
66Function ModifyForOutput( value )
67
68	ModifyForOutput = Server.HTMLEncode( value )
69
70End Function
71
72%>
73