]> git.immae.eu Git - perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git/blame - release/samples/old/assets/posteddata.php
Add oembed
[perso/Immae/Projets/packagist/piedsjaloux-ckeditor-component.git] / release / samples / old / assets / posteddata.php
CommitLineData
3332bebe
IB
1<!DOCTYPE html>\r
2<?php\r
3/*\r
317f8f8f 4Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.\r
3332bebe
IB
5For licensing, see LICENSE.md or http://ckeditor.com/license\r
6*/\r
7?>\r
8<html>\r
9<head>\r
10 <meta charset="utf-8">\r
11 <title>Sample &mdash; CKEditor</title>\r
12 <link rel="stylesheet" href="sample.css">\r
13</head>\r
14<body>\r
15 <h1 class="samples">\r
16 CKEditor &mdash; Posted Data\r
17 </h1>\r
18 <table border="1" cellspacing="0" id="outputSample">\r
19 <colgroup><col width="120"></colgroup>\r
20 <thead>\r
21 <tr>\r
22 <th>Field&nbsp;Name</th>\r
23 <th>Value</th>\r
24 </tr>\r
25 </thead>\r
26<?php\r
27\r
28if (!empty($_POST))\r
29{\r
30 foreach ( $_POST as $key => $value )\r
31 {\r
32 if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )\r
33 continue;\r
34\r
35 if ( get_magic_quotes_gpc() )\r
36 $value = htmlspecialchars( stripslashes((string)$value) );\r
37 else\r
38 $value = htmlspecialchars( (string)$value );\r
39?>\r
40 <tr>\r
41 <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>\r
42 <td><pre class="samples"><?php echo $value; ?></pre></td>\r
43 </tr>\r
44 <?php\r
45 }\r
46}\r
47?>\r
48 </table>\r
49 <div id="footer">\r
50 <hr>\r
51 <p>\r
52 CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>\r
53 </p>\r
54 <p id="copy">\r
317f8f8f 55 Copyright &copy; 2003-2017, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.\r
3332bebe
IB
56 </p>\r
57 </div>\r
58</body>\r
59</html>\r