| 1 | <?php |
| 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 | include_once(SYSTEM_ROOT."/inc/eventz/$event.inc"); |
| 10 | $status=$event(); |
| 11 | |
| 12 | if ($status>1) { |
| 13 | Header("Location: /id/".$status."/"); |
| 14 | } |
| 15 | |
| 16 | elseif ($status) { |
| 17 | Header("Location: /id/".$node['node_id']."/"); |
| 18 | } |
| 19 | |
| 20 | |
| 21 | ?> |