Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / inc / smarty / node_methodz / function.get_bookmark.php
1 <?php
2 function smarty_function_get_bookmark($brawco,&$smarty) {
3 global $db;
4 $q="select * from node_access left join nodes on node_access.node_id=nodes.node_id where user_id='".$_SESSION['user_id']."' and node_bookmark='yes' order by bookmark_category,node_name";
5 $result=$db->query($q);
6 while ($result->next()) {
7 $record[]=$result->getRecord();
8 }
9 $smarty->assign('get_bookmark',$record);
10
11 }
12 ?>
This page took 0.302203 seconds and 4 git commands to generate.