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