| 1 | <!-- |
| 2 | This program is free software. It comes without any warranty, to |
| 3 | the extent permitted by applicable law. You can redistribute it |
| 4 | and/or modify it under the terms of the Do What The Fuck You Want |
| 5 | To Public License, Version 2, as published by Sam Hocevar. See |
| 6 | http://sam.zoy.org/wtfpl/COPYING for more details. |
| 7 | --> |
| 8 | |
| 9 | <b>utility: header_template rescue</b> <br/> |
| 10 | {php} |
| 11 | if (isset($_POST['id_usera'])) { |
| 12 | echo "formular set_header_template pre user id " . $_POST['id_usera']; |
| 13 | echo "<form action='/id/"; |
| 14 | echo $_POST['id_usera']; |
| 15 | echo "' method='post'><input type='text' name='header_id' value='"; |
| 16 | {/php} |
| 17 | {$header_id} |
| 18 | {php} |
| 19 | echo "'><input type='submit' name='event' value='set_header_template'></form>"; |
| 20 | } else { |
| 21 | echo "zadaj ID nody usera "; |
| 22 | } |
| 23 | {/php} |
| 24 | <form action='http://kyberia.sk/id/1695281/' method='post'> |
| 25 | <input type='text' name='id_usera'> |
| 26 | <input type='submit' value='vygeneruj set_header_template formular' name='submit'> |
| 27 | </form> |
| 28 | </body> |
| 29 | </html> |
| 30 | |