Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / inc / eventz / configure_icq.inc
diff --git a/inc/eventz/configure_icq.inc b/inc/eventz/configure_icq.inc
new file mode 100644 (file)
index 0000000..a786541
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+function configure_icq() {
+    global $db,$error,$node;
+    $node_id=$node['node_id'];
+    $user_id=$_SESSION['user_id'];
+    if ($node['node_permission']=='owner') {
+        if(!empty($node_id)) {
+            if($node_id == $user_id) {
+                $user_icq=addslashes($_POST['user_icq']);
+                $q="update users set icq='$user_icq' where user_id='$node_id'";
+                $db->query($q);
+            }
+        }
+    }
+return true;
+}
+?>
\ No newline at end of file
This page took 0.138747 seconds and 4 git commands to generate.