1;Select user;none
<?php
/*
  This php code is executed while the page is created.
  It queries the userlist by sql and creates options for the select list.
*/
$users = ff_select("select name, username from #__users order by name");
$options = '';
if ($users)
    foreach ($users as $user) 
        $options .= "0;$user->name;$user->username\n";
return $options;
?>