function getUserList ($user_id) { $db = JFactory::getDBO (); $db->setQuery ("SELECT id, username, usertype FROM ' . $db->quoteName ('#__users') . ' ORDER BY usertype,username ASC"); $rows = $db->loadAssocList (); static $opt_tag; $list = '' . JText::_ ('SELECTION') . ''; foreach ($rows as $row) { if (empty ($opt_tag) || $opt_tag != $row['usertype']) { $list .= ''; $opt_tag = $row['usertype']; } if ($row['id'] < 10) { $id = '000' . $row['id']; } elseif ($row['id'] < 100) { $id = '00' . $row['id']; } elseif ($row['id'] < 1000) { $id = '0' . $row['id']; } $list .= '

' . $id . ' - ' . $row['username'] . '

'; if (empty ($opt_tag) || $opt_tag != $row['usertype']) { $list .= ''; } } return $list; }

Photo Gallery

Photo Gallery

Contact us

Contact us

News