|
Last change
on this file was 3, checked in by chronos, 9 years ago |
- Modified: Updated to work with PHP7. Old database class replaced by Common package.
|
-
Property svn:executable
set to
*
|
|
File size:
508 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | include('global.php');
|
|---|
| 4 |
|
|---|
| 5 | ShowHeader(array('Formátovač HTML' => '/format_html.php'), 'Formátovač HTML kódu');
|
|---|
| 6 |
|
|---|
| 7 | if(array_key_exists('code', $_POST))
|
|---|
| 8 | {
|
|---|
| 9 | $Output .= '<pre>'.htmlspecialchars(FormatOutput($_POST['code'])).'</pre>';
|
|---|
| 10 | } else
|
|---|
| 11 | $Output .= '<strong>Vložte kód, který chcete zformátovat</strong><br>'.
|
|---|
| 12 | '<form method="post" action="format_html.php">
|
|---|
| 13 | <textarea name="code" cols="80" rows="30"></textarea><br>
|
|---|
| 14 | <input type="submit" value="Odeslat">
|
|---|
| 15 | </form>';
|
|---|
| 16 |
|
|---|
| 17 | ShowFooter();
|
|---|
| 18 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.