blob: d268cb9d33ca00439b7ae500efd6753a85e68186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
<?xml version="1.0" encoding="UTF-8" ?>
<page>
<info>
<name>Users</name>
<template>phpexec</template>
<access>0</access>
<type>c</type>
</info>
<data>
<code>
<![CDATA[
<?PHP
require_once('code/db.inc.php');
require_once('code/links.inc.php');
$title = 'Benutzer';
echo '<h2>Benutzer</h2>';
$res = $GLOBALS['db']->Execute('SELECT id, user FROM users ORDER BY user');
echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Users:Handle') . '">';
echo '<select name="id" size="15" class="userlist spaced-bottom">';
while($row = $res->FetchRow()) {
echo '<option value="' . $row[0] . '">' . $row[1] . '</option>';
}
echo '</select>';
echo '<br />';
echo '<input type="submit" name="new" value="Neu" /> ';
echo '<input type="submit" name="group" value="Gruppe ändern" /> ';
echo '<input type="submit" name="password" value="Passwort ändern" /> ';
echo '<input type="submit" name="rename" value="Umbenennen" /> ';
echo '<input type="submit" name="delete" value="Löschen" />';
echo '</form>';
?>
]]>
</code>
</data>
</page>
|