Esempio n. 1
0
    echo "<option value=\"" . $userInst->id . "\">" . $userInst->name . "\n";
    next($list);
}
?>
      </select>
    </td>
    <td align="center">
      <input type="submit" value="&lt; <?php 
echo $lang['common_switch'];
?>
 &gt;">
    </td>
    <td>
      <select name="remove" size="10">
      <?php 
$list = $accessInst->getUsers();
while ($element = current($list)) {
    $userInst = new user($element);
    echo "<option value=\"" . $userInst->id . "\">" . $userInst->name . "\n";
    next($list);
}
?>
      </select>
    </td>
  </tr>
</table>
</form>

<?php 
#######################################################################
## list existing records