Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / inc / smarty / node_methodz / function.get_bookmark_statistics.php
1 <?php
2 function smarty_function_get_bookmark_statistics($brawco,&$smarty) {
3 global $db, $error, $node;
4 $node_handle=$node['node_id'];
5
6 $q="select node_access.*,users.login,users.user_action from node_access left join users on node_access.user_id=users.user_id where node_id='$node_handle' and node_bookmark='yes' order by node_user_subchild_count";
7
8 $result=$db->query($q);
9
10 while ($result->next()) {
11 $bs_array[]=$result->getRecord();
12 }
13
14 $smarty->assign('get_bookmark_statistics',$bs_array);
15 }
16
17 ?>
This page took 0.357497 seconds and 4 git commands to generate.