2 require('../conf/config.php3');
3 if ($show == 1 && isset($del_members)){
4 header("Location: user_admin.php3?login=$del_members[0]");
7 if ($config[general_lib_type] != 'sql'){
9 <title>Group Administration Page</title>
10 <meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
11 <link rel="stylesheet" href="style.css">
15 <b>This page is only available if you are using sql as general library type</b>
22 unset($group_members);
23 if (is_file("../lib/$config[general_lib_type]/group_info.php3")){
24 include("../lib/$config[general_lib_type]/group_info.php3");
25 if ($group_exists == 'no'){
27 <title>Group Administration Page</title>
28 <meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
29 <link rel="stylesheet" href="style.css">
33 <form action="group_admin.php3" method=get>
34 <b>Group Name </b>
35 <input type="text" size=10 name="login" value="$login">
36 <b> does not exist</b><br>
37 <input type=submit class=button value="Show Group">
48 <title>Group Administration Page</title>
49 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
50 <link rel="stylesheet" href="style.css">
54 <table border=0 width=550 cellpadding=0 cellspacing=0>
56 <td align=center><img src="images/title2.gif"></td>
59 <table border=0 width=400 cellpadding=0 cellspacing=2>
62 include("../html/group_toolbar.html.php3");
67 <table border=0 width=540 cellpadding=1 cellspacing=1>
70 <td bgcolor="black" width=200>
71 <table border=0 width=100% cellpadding=2 cellspacing=0>
72 <tr bgcolor="#907030" align=right valign=top><th>
73 <font color="white">Group <?php echo $login ?> Administration</font>
77 <tr bgcolor="black" valign=top><td colspan=2>
78 <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
82 if ($do_changes == 1){
83 if (is_file("../lib/$config[general_lib_type]/group_admin.php3"))
84 include("../lib/$config[general_lib_type]/group_admin.php3");
85 if (is_file("../lib/$config[general_lib_type]/group_info.php3"))
86 include("../lib/$config[general_lib_type]/group_info.php3");
92 <input type=hidden name=login value=<?php echo $login ?>>
93 <input type=hidden name=do_changes value=0>
94 <input type=hidden name=show value=0>
95 <table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
97 <td align=right bgcolor="#d0ddb0">
98 Group Members (Check to Delete)
101 <select name=del_members[] multiple size=5>
103 foreach ($group_members as $member){
104 echo "<option value=\"$member\">$member\n";
111 <td align=right bgcolor="#d0ddb0">
112 New Group Member(s)<br>Separate group members<br> by whitespace or newline
115 <textarea name=new_members cols="15" wrap="PHYSICAL" rows=5></textarea>
120 <input type=submit class=button value="Commit Changes" OnClick="this.form.do_changes.value=1">
122 <input type=submit class=button value="Administer selected user" OnClick="this.form.show.value=1">