Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / inc / smarty / node_methodz / function.get_node_userlist.php
1 <?php
2
3 function smarty_function_get_node_userlist($params,&$smarty) {
4
5 global $db,$node;
6 if (is_numeric($params['node_id'])) $node_id=$params['node_id'];
7 else $node_id=$node['node_id'];
8
9 $set=$db->query("select login,user_id from users where user_action_id='$node_id'");
10 while ($set->next()) {
11 $userlist[]=$set->getRecord();
12 }
13
14 $smarty->assign('userlist',$userlist);
15
16 }
17 ?>
This page took 0.235577 seconds and 4 git commands to generate.