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">
13 <body bgcolor="#80a040" background="images/greenlines1.gif" link="black" alink="black">
15 <b>This page is only available if you are using sql as general library type</b>
22 if (is_file("../lib/$config[general_lib_type]/group_info.php3")){
23 include("../lib/$config[general_lib_type]/group_info.php3");
24 if ($group_exists == 'no'){
26 <title>Group Administration Page</title>
27 <meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
28 <link rel="stylesheet" href="style.css">
30 <body bgcolor="#80a040" background="images/greenlines1.gif" link="black" alink="black">
32 <form action="group_admin.php3" method=get>
33 <b>Group Name </b>
34 <input type="text" size=10 name="login" value="$login">
35 <b> does not exist</b><br>
36 <input type=submit class=button value="Show Group">
47 <title>Group Administration Page</title>
48 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
49 <link rel="stylesheet" href="style.css">
51 <body bgcolor="#80a040" background="images/greenlines1.gif" link="black" alink="black">
53 <table border=0 width=550 cellpadding=0 cellspacing=0>
55 <td align=center><img src="images/title2.gif"></td>
58 <table border=0 width=400 cellpadding=0 cellspacing=2>
61 include("../html/group_toolbar.html.php3");
66 <table border=0 width=540 cellpadding=1 cellspacing=1>
69 <td bgcolor="black" width=200>
70 <table border=0 width=100% cellpadding=2 cellspacing=0>
71 <tr bgcolor="#907030" align=right valign=top><th>
72 <font color="white">Group <?php echo $login ?> Administration</font>
76 <tr bgcolor="black" valign=top><td colspan=2>
77 <table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
81 if ($do_changes == 1){
82 if (is_file("../lib/$config[general_lib_type]/group_admin.php3"))
83 include("../lib/$config[general_lib_type]/group_admin.php3");
84 if (is_file("../lib/$config[general_lib_type]/group_info.php3"))
85 include("../lib/$config[general_lib_type]/group_info.php3");
91 <input type=hidden name=login value="<?php echo $login ?>">
92 <input type=hidden name=do_changes value=0>
93 <input type=hidden name=show value=0>
94 <table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
96 <td align=right bgcolor="#d0ddb0">
97 Group Members (Check to Delete)
100 <select name=del_members[] multiple size=5>
102 foreach ($group_members as $member){
103 echo "<option value=\"$member\">$member\n";
110 <td align=right bgcolor="#d0ddb0">
111 New Group Member(s)<br>Separate group members<br> by whitespace or newline
114 <textarea name=new_members cols="15" wrap="PHYSICAL" rows=5></textarea>
119 <input type=submit class=button value="Commit Changes" OnClick="this.form.do_changes.value=1">
121 <input type=submit class=button value="Administer selected user" OnClick="this.form.show.value=1">