Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / inc / eventz / set_type.inc
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 function set_type() {
10 global $node,$db;
11 $node_type=$_POST['node_type'];
12 $node_id=$node['node_id'];
13 $q="update nodes set node_type='$node_type' where node_id='$node_id'";
14 echo $q;
15 $db->query($q);
16
17 }
18
19 ?>
This page took 0.263219 seconds and 4 git commands to generate.