[ Index ]
 

Code source de FCKeditor 2.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/_samples/html/ -> sampleposteddata.asp (source)

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


Généré le : Sun Feb 25 15:28:05 2007 par Balluche grâce à PHPXref 0.7