From 49451e57c321e37cad994dd263a852d9a859686e Mon Sep 17 00:00:00 2001 From: Daniel Hromada Date: Mon, 31 Jan 2011 00:21:28 +0100 Subject: [PATCH] obtains the list of all registered users and puts it and assigns it to smarty get_allusers array --- .../inc/smarty/node_methodz/function.get_allusers.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 wwwroot/inc/smarty/node_methodz/function.get_allusers.php diff --git a/wwwroot/inc/smarty/node_methodz/function.get_allusers.php b/wwwroot/inc/smarty/node_methodz/function.get_allusers.php new file mode 100644 index 0000000..c9af95f --- /dev/null +++ b/wwwroot/inc/smarty/node_methodz/function.get_allusers.php @@ -0,0 +1,9 @@ +query($q); + $users[]=$set->getRecord(); + $smarty->assign('get_allusers',$users); + } +?> -- 2.30.2