Commit | Line | Data |
---|---|---|
49451e57 DH |
1 | <?php |
2 | function smarty_function_get_allusers($params,&$smarty) { | |
3 | global $db,$node; | |
4 | $q="select user_id, login from users where hash='' order by login "; | |
5 | $set=$db->query($q); | |
6 | $users[]=$set->getRecord(); | |
7 | $smarty->assign('get_allusers',$users); | |
8 | } | |
9 | ?> |