Commit | Line | Data |
---|---|---|
bc13d5d6 H |
1 | <?php |
2 | global $kyberia; | |
3 | ||
4 | echo "<table border=1><tr><td>login</td><td>web</td><td>info</td><td>change status</td></tr>"; | |
5 | $q="select * from user where user_active='' or user_active='no' order by id desc"; | |
6 | $set=$kyberia->query($q); | |
7 | while($set->next()) { | |
8 | echo "<tr><Td><a href='mailto:".$set->getString('email')."'>".$set->getString('login')."</a></td> | |
9 | <td>".$set->getString('user_www')."</td><td width='230'>".$set->getString('user_info')."</td> | |
10 | <td><form action='".SCRIPT."?action=admin' method='post'><input type=hidden name='id' value='".$set->getString('id')."'> | |
11 | <textarea name='message' rows=6 cols=10 style='width: 100pt;'></textarea><br> | |
12 | <input type=hidden name='email' value='".$set->getString('email')."'> | |
13 | <input type='hidden' name='login' value='".$set->getString('login')."'> | |
14 | <input type='hidden' name='user_info' value='".$set->getString('user_info')."'> | |
15 | <input type='hidden' name='action_parameter' value='".$set->getString('id')."'> | |
16 | <select name='action_result'><option value='accept'>accept</option><option value='refuse'>refuse</option><option value='delete'>delete</option></select> | |
17 | <input type='submit' value='register' name='event'> | |
18 | </form></tr>"; | |
19 | } | |
20 | ||
21 | echo "</table>"; | |
22 | ||
23 | ?> |