Removed multiple require()
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_bookmark.php
CommitLineData
51ff3226 1<?php
2function 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.209104 seconds and 4 git commands to generate.