Hierarchy fixup
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / set_type.inc
diff --git a/wwwroot/inc/eventz/set_type.inc b/wwwroot/inc/eventz/set_type.inc
new file mode 100644 (file)
index 0000000..7405989
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+function set_type() {
+       global $node,$db;
+       $node_type=$_POST['node_type'];
+       $node_id=$node['node_id'];
+       $q="update nodes set node_type='$node_type' where node_id='$node_id'";
+       echo $q;
+       $db->query($q);
+
+}
+
+?>
\ No newline at end of file
This page took 0.122071 seconds and 4 git commands to generate.