Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
16825 efrain 1
<!DOCTYPE html>
2
<?php
3
/*
4
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
5
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
6
*/
7
?>
8
<html lang="en">
9
<head>
10
	<meta charset="utf-8">
11
	<title>Sample &mdash; CKEditor</title>
12
	<link rel="stylesheet" href="sample.css">
13
	<meta name="description" content="Try the latest sample of CKEditor 4 and learn more about customizing your WYSIWYG editor with endless possibilities.">
14
</head>
15
<body>
16
	<h1 class="samples">
17
		CKEditor &mdash; Posted Data
18
	</h1>
19
	<table border="1" cellspacing="0" id="outputSample">
20
		<colgroup><col width="120"></colgroup>
21
		<thead>
22
			<tr>
23
				<th>Field&nbsp;Name</th>
24
				<th>Value</th>
25
			</tr>
26
		</thead>
27
<?php
28
 
29
if (!empty($_POST))
30
{
31
	foreach ( $_POST as $key => $value )
32
	{
33
		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
34
			continue;
35
 
36
		if ( get_magic_quotes_gpc() )
37
			$value = htmlspecialchars( stripslashes((string)$value) );
38
		else
39
			$value = htmlspecialchars( (string)$value );
40
?>
41
		<tr>
42
			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
43
			<td><pre class="samples"><?php echo $value; ?></pre></td>
44
		</tr>
45
	<?php
46
	}
47
}
48
?>
49
	</table>
50
	<div id="footer">
51
		<hr>
52
		<p>
53
			CKEditor - The text editor for the Internet - <a class="samples" href="https://ckeditor.com/">https://ckeditor.com</a>
54
		</p>
55
		<p id="copy">
56
			Copyright &copy; 2003-2021, <a class="samples" href="https://cksource.com/">CKSource</a> - Frederico Knabben. All rights reserved.
57
		</p>
58
	</div>
59
</body>
60
</html>