Commit | Line | Data |
---|---|---|
51ff3226 | 1 | <?php |
2 | function fook() { | |
3 | global $error,$node,$db; | |
4 | $node_id = $node['node_id']; | |
5 | $user_id = $_SESSION['user_id']; | |
6 | ||
7 | $addnode['node_content'] = "fooking this forum"; | |
8 | $addnode['node_name'] = "fook detected"; | |
9 | $addnode['node_creator'] = $user_id; | |
10 | $addnode['node_parent'] = $node_id; | |
11 | $addnode['template_id'] = 4; | |
12 | $addnode['external_link'] = "session://fook"; | |
13 | $addnode_id = nodes::addNode($addnode); | |
14 | ||
15 | $_SESSION['fook'][$node_id]=true; | |
16 | } | |
17 | ?> |