Kyberia v2.3 - 1st revision from SVN (Without patches of kyberia.sk team)
[mirrors/Kyberia-bloodline.git] / inc / eventz / configure_bookmarks.inc
CommitLineData
e586807d 1<?php
e586807d
H
2 function configure_bookmarks() {
3 global $db,$error,$node;
4 $node_id=$node['node_id'];
5 $db->query("update node_access set bookmark_category=0 where user_id='".$_SESSION['user_id']."' and bookmark_category='$node_id'");
6 foreach($_POST['bookmark'] as $key =>$value) {
7 $db->query("update node_access set bookmark_category='$node_id' where user_id='".$_SESSION['user_id']."' and node_id='$key'");
8 }
9
10 }
11?>
This page took 0.108273 seconds and 4 git commands to generate.